NEW
Font size
WorksheetsPython Week 1 & 2
Total questions: 10
Worksheet time: 5mins
Who developed Python Programming Language?
Guido van Rossum
Ljubomir Perkovic
Niene Rossie
Lerdorf Reine
What is the maximum possible length of an identifier?
31 characters
32 characters
63 characters
Any length
Is Python case sensitive when dealing with identifiers?
Yes
No
Machine dependent
None of the mentioned
Which of the following is an invalid variable?
my_var_1
1st_attempt
_error
Too
Which of the following is an INVALID statement?
xyz = 2,000,000
x y z = 20 30 40
x,y,z = 20, 30, 40
x_y_z = 2,000,000
What will be the value of the following Python expression?
float(5*int(25.69)//3)
40
40.0
41
41.0
Operators with the same precedence are evaluated in which manner?
Right to Left
Left to Right
Can't say
None of the mentioned
What will be the value of Y in the following statement
Y = 2 +9 *((3*12)-8)/10
30.0
30.8
27.2
28.4
The expression 2**2**3 is evaluates as: (2**2)**3.
True
False
Which of the following cannot be a variable?
on
in
_init_
it
