Introduction to python
Introduction to python
ANSWERS TO QUESTIONS
1 mark Questions
1 Who developed Python Programming Language?
e) Wick Van Rossum
f) Rasmus Lerdorf
g) Guido Van Rossum
h) Niene Stom
2 In Python, which of the following characters is used to create single line comment
e) //
f) #
g) !
h) /*
3 An identifier cannot start with a ________
e) Number
f) Character
g) Underscore
h) None of the above
4 ______________ has a specific meaning in python program
e) Constant
f) Variable
g) Keyword
h) Identifier
5 Write the output of the following python statement
print(10//3)
e) 3
f) 3.33
g) 1
h) 0
6 Which of the following is the valid Python file extension?
e) . python
f) . pl
g) . py