Class-XII-CS Assessment Test
Class-XII-CS Assessment Test
10. What is the difference between implicit type conversion and explicit type conversion? 3
11. Predict the output of the following code fragments: 3
x = 10
y=0
while x > y:
print (x, y)
x=x-1
y=y+1
12. Predict the output of the following code fragments: 3
keepgoing = True
x=100
while keepgoing :
print (x)
x = x - 10
if x < 50 :
keepgoing = False
13. Write a program to compute factorial of a number. 3