1.print(3**3 + (5 + 6)**(1 + 1))=____
a.146
b.148
c.142
d143
2.Who is the father of Python Programming Language?
a) Wick van Rossum
b) Rasmus Lerdorf
c) Guido van Rossum
d) Niene Stom
3. Is Python code compiled or interpreted?
a) Python code is both compiled and interpreted
b) Python code is neither compiled nor interpreted
c) Python code is only compiled
d) Python code is only interpreted
4. What is the output of the below program in python:
print(0.2+0.4==0.6)
a)true
b)false
c)error
d)depends on machine
5.Which is not a feature of Python ?
a)interpreted language
b)portable
c)high level language
d)case Insensitive
6.What is the maximum length of a Python identifier?
a)32
b)8
c)16
d)no fix
7. Which of the following symbol is used as comment declaration in Python?
a)&
b)#
c)^
d)@
8._____ is also called as variable.
a)keyword
b)literals
c)data type
d)identifier
9.______ belongs to general number of Literals.
a)int
b)float
c)both a & b
d)none
10.Which of the following key words are true?
a)true, false, none
b)True, False, None
c)both a & b
d)none of these
11._______function is used to accept values from the user.
a)entry( )
b)scanf( )
c)input( )
d)printf ( )
12.______ is used as indentation mark in python.
a)page up
b)page down
c)tab
d)numlock
13._______is
a)
b)
c)
d)
1.a 2.c 3.b 4.b 5.d 6.d 7.b 8.d 9.a 10.b 11.c 12.c
No comments:
Post a Comment