Save
2ND YEAR - 2ND SEM ( BSCE )
COMPROG
MODULE 3
Save
Share
Learn
Content
Leaderboard
Share
Learn
Created by
Chinee 🌷
Visit profile
Cards (28)
What type of programming language is Python?
High-level
,
interpreted
programming language
View source
Who created Python and in what year?
Guido van Rossum
in
1991
View source
What is the main design emphasis of Python?
Code
readability
View source
How does Python's syntax benefit programmers?
Allows
expression
in fewer lines of code
View source
What are the main uses of Python?
Web development (
server-side
)
Software development
Mathematics
System scripting
View source
How can Python be used on a server?
To create
web applications
View source
What can Python do with database systems?
Connect, read, and modify
files
View source
How does Python handle big data?
By performing
complex mathematics
View source
What is one use of Python in software development?
Rapid
prototyping
View source
What is the latest version of Python as of now?
3.13
View source
When was Python 3.13.0 released?
October 7, 2024
View source
What are key features of Python?
Easy to learn and use
Cross-platform
compatibility
Extensive
libraries
Dynamic
typing
Versatile programming
paradigms
Open source
View source
Why is Python considered easy to learn?
Its
simple
and
readable
syntax
View source
What does cross-platform compatibility mean for Python?
Runs on
Windows
,
macOS
, and
Linux
View source
What is dynamic typing in Python?
Variable types are determined at
runtime
View source
What does it mean that Python is open source?
Free to use, distribute, and
modify
View source
Why should beginners learn Python?
Easy syntax like
plain English
Built-in
libraries
for learning
Understandable
error messages
Project-oriented learning approach
View source
Name some famous applications built using Python.
YouTube
Instagram
Spotify
Dropbox
Netflix
Google
Uber
Pinterest
View source
How can you check if Python is installed on a Windows PC?
Search
for
Python
in
the
start
bar
View source
How can you check if Python is installed on Linux or Mac?
Open
command line
or
Terminal
View source
What is the purpose of the
print()
function in Python?

Displays output on the screen
View source
What is a string in Python?
A sequence of
characters
enclosed in quotes
View source
How do you exit the Python command line interface?
Type
exit command
View source
What are comments in Python used for?
Enhance code
readability
Identify
functionality
Explain tricky scenarios
Prevent execution of code parts
View source
Why is indentation important in Python?
Indicates a block of
code
View source
How does indentation affect code execution in Python?
Incorrect
indentation
causes
errors
View source
How many spaces are commonly used for indentation in Python?
Four
spaces
View source
What happens if you use inconsistent indentation in Python?
Python will give you an
error
View source