NEW
Font size
WorksheetsCO - 1 Quiz - 1-DB_Python Basic
Total questions: 15
Worksheet time: 8mins
Who developed the Python language
Zim Den
Guido van Rossum
Niene Stom
Wick van Rossum
In which year was the Python language developed
1995
1972
1981
1989
In which language is Python written?
PHP
Java
C
Python
Which one of the following is the correct extension of the Python file
.py
.python
.pt
.obj
In which year was the Python 3.0 version developed?
2007
2008
2009
2010
What do we use to define a block of code in Python language
Key
Brackets
Space
Indentation
Which character is used in Python to make a single line comment
/
*/
#
//
Which of the following statements is correct for variable names in Python language
All variable names must begin with an underscore.
The variable name length is a maximum of 2.
Unlimited length
All of the above
Which of the following declarations is incorrect in python language?
xyzp = 5,000,000
x,y,z,p = 5000, 6000, 7000, 8000
x y z p = 5000 6000 7000 8000
x_y_z_p = 5,000,000
Which one of the following has the same precedence level?
Power and Division
Division, Power, Multiplication, Addition and Subtraction
Subtraction and Division
Division and Multiplication
Which one of the following has the highest precedence in the expression?
Division
Parentheses
Addition
Subtraction
Which of the following functions is a built-in function in python language.
val()
printf()
print()
scan()
What is the first step in write a program
Run Code
Write Code
Edit Code
Check Code
Python is a/an _____ language
Logical Programming
Interpreted Programming
Compiled Programming
Complex Programming
An input that you take in python is of_____ data type.
int
float
str
char
