NEW
Font size
S
M
L
XL
WorksheetsRecap
Total questions: 10
Worksheet time: 5mins
Name
Class
Date
1.
Who developed Python?
a)
Dennis Ritchie
b)
Bill Gates
c)
Guido Van Rossum
d)
Sundar Pitchai
2.
Python was released in the year ________
a)
1987
b)
1994
c)
1991
d)
2005
3.
Which of the following is a Python prompt?
a)
>>
b)
>>>
c)
<<
d)
#
4.
_________ is used to execute Python script.
a)
F1
b)
F9
c)
F5
d)
F11
5.
________ shortcut key is used to create a new Python file.
a)
Ctrl + O
b)
Ctrl + A
c)
Ctrl + G
d)
Ctrl + N
6.
Which of the following is used to give comments in a Python program?
a)
&
b)
#
c)
@
d)
$
7.
The symbol used to print more than a single item on a single line is ________
a)
: (colon)
b)
; (semi-colon)
c)
, (comma)
d)
$ (dollar)
8.
________ is a text file containing the Python statements.
a)
Script
b)
Shell
c)
Kernel
d)
Prompt
9.
A Python file is saved with the extension _____
a)
.pyn
b)
.ph
c)
.py
d)
.pyt
10.
input() accepts all data as ________
a)
Strings
b)
Integer
c)
Boolean
d)
Float
Reset
