1/10
1) What is the maximum possible length of an identifier?
16✔X
32✔X
64✔X
None of these above✔X
2/10
Is Python case sensitive when dealing with identifiers?
Yes✔X
No✔X
Machine dependent✔X
none of the mentioned✔X
3/10
Which of the following is an invalid variable?
aj_blog_1✔X
1aj_blog✔X
aj✔X
_✔X
4/10
Which of the following is an invalid statement?
abc = 1,000,000✔X
a b c = 1000 2000 3000✔X
a,b,c = 1000, 2000, 3000✔X
a_b_c = 1,000,000✔X
5/10
Which of the following is not a keyword?
eval✔X
assert✔X
nonlocal✔X
pass✔X
6/10
What is the order of precedence in python? i) Parentheses ii) Exponential iii) Multiplication iv) Division v) Addition vi) Subtraction
i,ii,iii,iv,v,vi✔X
ii,i,iii,iv,v,vi✔X
ii,i,iv,iii,v,vi✔X
i,ii,iii,iv,vi,v✔X
7/10
Operators with the same precedence are evaluated in which manner?
Left to Right✔X
Right to Left✔X
Can’t say✔X
None of the mentioned✔X
8/10
What is the output of this expression, 3*1**3?
9/10
Which one of the following has the highest precedence in the expression?
Exponential✔X
Addition✔X
Multiplication✔X
Parentheses✔X
10/10
Which of the following is not a complex number?
k = 2 + 3j✔X
k = complex(2, 3)✔X
k = 2 + 3l✔X
k = 2 + 3J✔X