WorksheetsWEBTECH3 SW 1
Total questions: 7
Worksheet time: 4mins
Name
Class
Date
1.
It is the symbol use for a comment
a)
'
b)
#
c)
&
d)
//
2.
Identify the correct output
x,y=11,10
print(x+y)
a)
1110
b)
Error
c)
21
3.
Choose the correct variable name
a)
_1name
b)
1name
c)
&name
d)
na@me
4.
This symbol used multi-line comments
a)
/**comments**/
b)
"""comments"""
c)
'''comments'''
d)
//comments//
5.
Identify the output:
x="Hello"
x=13
print(x)
a)
13
b)
Hello
c)
Error
d)
Hello13
6.
Identify the output:
a)
Mary
b)
Rose
c)
Mary Rose
d)
Error
7.
Identify the output
a)
Mary
b)
Rose
c)
MaryRose
d)
Error
100 %
