if
if-else
elif
if-else-if
a=2,b=3,c=4
a,b,c=2,3,4
a=2;b=3;c=4
Both b and c
Only One
1-10
Any number of Times
Any number of times but one inside another only.
What will the following code output?
x=0 if x: print("True") else: print("False")
True
False
None
Error
What is the output of the following code?
for i in range(3): print(i,end=" ")
0 1 2
1 2 3
0 1 2 3
count=0 while count<3: print(count,end=" ") count+=1
Match the following types of programming paradigms with their descriptions.
A-1, B-2, C-3, D-4
A-3, B-4, C-1, D-2
A-2, B-1, C-4, D-3
A-4, B-3, C-2, D-1
Match the types of programming languages with their characteristics.
1 → B, 2 → C, 3 → A, 4 → D
1 → A, 2 → B, 3 → D, 4 → C
1 → D, 2 → A, 3 → F, 4 → B
1 → B, 2 → F, 3 → C, 4 → A