Save
PROGRAMMING
Save
Share
Learn
Content
Leaderboard
Share
Learn
Created by
WelcomePython46441
Visit profile
Cards (40)
The
print()
function as the name suggests is used to display a python object(s). Python as standard output on the screen.
2.
Import
is a statement that used to load/include modules or packages into your python code or script.
3.
Module
is a file containing python definitions and statements.
4.
Packages
are collections of modules that are organize in a directory.
5.
Import module_name
is the syntax for importing module.
6.
Guido van Rossum
is the author of the python programming language.
7. Python 0.9.0 is also known as?
ABC Programming Language
8. Python 2.0 was released in what year?
2000
9. The author of Python programming language received a
bronze
medal in
1974.
10. Last statement of a python script.
time.sleep()
The acronym IDLE stands for?
Integrated Development and Learning Environment
A module is loaded how many times in a program?
Once
How do you print a list object?
Print(list)
How do you print a tuple object?
print(tuple)
What is the result of print("UDDUDDUDD")?
UDDUDDUDD
What is the other equivalent of the python script print("AAAAAAAAAA")?
print(10 * "A")
The file extension for a python source or script is?
.py
The text extension for an executable file is?
.exe
The text editor we used in the LAB to create a python script is?
Notepad
The first statement in a python code is?
import statement
Enumerate at least 5 examples of programming languages
Python, C++, PHP, Java, JavaScript
Guido van Rossum was born in?
Netherlands
What are the master's degree that Guido received?
Mathematics and Computer Science
Guido received a bronze medal in 1974 in?
International Mathematical Olympiad
Python 3.0 was released in?
2008
Give the 3 objects in python
String, List, Tuple
What element is used to make disable the statement?
#
What are the characteristics of Python?
High-level
,
interpreted
,
general-purpose programming language
Python is often described as a "
batteries included
" language due to its comprehensive standard library.
It is popular integrated development environment (IDE) for Python?
VISUAL STUDIO CODE
What is the purpose of a Python virtual environment?
TO ISOLATE PROJECT DEPENDENCIES
The first statement in a python code is?
IMPORT STATEMENT
The file extension for a text file is?
.txt
The file extension for a MSWORD file is?
.docx
Pythons syntax for printing a tuple object?
print(tupleObject)
Python syntax for printing a list object?
print(listObject)
REPL stands for?
READ EXECUTE PRINT LOOP
What is the function of the python code time.sleep(20)?
PAUSES THE PROGRAM'S EXECUTION FOR 20 SECS.
WHAT IS THE FUNCTION OF # SYMBOL IN PYTHON?
DENOTES THE START OF A MULTILINE COMMENT
The python syntax for importing a module is?
IMPORT MODULE