Professional Documents
Culture Documents
ICTG7 T2 SA2 Theory-MP
ICTG7 T2 SA2 Theory-MP
a. Indentation
………………………………………………………………………………………
………………………………………………………………………………………
………………………………………………………………………………………
b. Bluetooth
………………………………………………………………………………………
………………………………………………………………………………………
c. Bit
………………………………………………………………………………………
………………………………………………………………………………………
d. Variable
………………………………………………………………………………………
………………………………………………………………………………………
e. Website
………………………………………………………………………………………
………………………………………………………………………………………
f. Security
………………………………………………………………………………………
………………………………………………………………………………………
………………………………………………………………………………………
g. Interference
………………………………………………………………………………………
………………………………………………………………………………………
………………………………………………………………………………………
h. Encryption
………………………………………………………………………………………
………………………………………………………………………………………
………………………………………………………………………………………
IV. Give answers:
………………………………………………………………………………………
………………………………………………………………………………………
………………………………………………………………………………………
………………………………………………………………………………………
………………………………………………………………………………………
………………………………………………………………………………………
………………………………………………………………………………………
………………………………………………………………………………………
………………………………………………………………………………………
b) print(a<=b or c<=d)
INPUT OUTPUT
a. a,b=3,6
c=b/a
print(c)
print(“Datatype is”, ____________)
b. d,e=3,6
f=d//e
print(f)
print(“Datatype is”, ____________)
c. g,h=3,6
i=g%h
print(i)
print(“Datatype is”, ____________)
………………………………………………………………………………………
………………………………………………………………………………………
………………………………………………………………………………………
………………………………………………………………………………………
7. a) Write a python program to calculate volume of the shapes: square
Pyramid, Cube and Cuboid based on the user’s choice. If the user enters
choice 1, then calculate volume of the square pyramid, for choice 2, it
should calculate volume of Cube, for choice 3, it should calculate volume of
Cuboid.
Take Area, Length, Breadth and Height as an input.
Formula for Square Pyramid – a2, Cube – a3, Cuboid – lxbxh. [3]
b) Fix the below code: [2]
………………………………………………………………………………
………………………………………………………………………………
………………………………………………………………………………
………………………………………………………………………………
………………………………………………………………………………
………………………………………………………………………………
………………………………………………………………………………
………………………………………………………………………………
………………………………………………………………………………
………………………………………………………………………………………
………………………………………………………………………………………
………………………………………………………………………………………
………………………………………………………………………………………
………………………………………………………………………………………
………………………………………………………………………………………
………………………………………………………………………………………
………………………………………………………………………………………