Python Programming EL
Python Programming EL
1
Time :- 3 hours Full Marks :- 60
Instruction:-
i. The marks indicated Wright hand Side.
ii. There are Seven question in this paper
iii. Attempt Five question in all
iv. Question Nos. 1 and 2 is Important
i+=1
a) 1 2 3
b) error
c) 1 2
d) none of the mentioned
f. What is the order of precedence in python?
a) Exponential, Parentheses, Multiplication, Division, Addition, Subtraction
b) Exponential, Parentheses, Division, Multiplication, Addition, Subtraction
c) Parentheses, Exponential, Multiplication, Addition, Division, Subtraction
d) Parentheses, Exponential, Multiplication, Division, Addition, Subtraction
g. Which of the following is true for variable names in Python?
a) underscore and ampersand are the only two special characters allowed
b) unlimited length
c) all private members must have leading and trailing underscores
d) none of the mentioned
h. What are the values of the following Python expressions?
2**(3**2)
(2**3)**2
2**3**2
a) 512, 64, 512
b) 512, 512, 512
c) 64, 512, 64
d) 64, 64, 64