Font size
Worksheetsday4
Total questions: 15
Worksheet time: 26mins
None of the listed options
(1)goto addition; (2)addition: printf("%d\n",sum);
(1)goto: (2)addition: printf("%d\n",sum);
(1)goto addition; (2)printf("%d\n",sum);
100
10
1
None of the listed options
10
0
1
None of the listed options
6
120
55
error
Choose the correct code which prints multiplication table for 3 using do-while loop?
None of the listed options
Choose the correct code which prints the sum of 5 numbers using for loop?
All of the mentioned options.
(a)
10
1
0
5
Choose the correct code which prints numbers from 1 to 5 using while loop?
None of the listed options
Case NULL
Case NULL Case Zero
DEFAULT
Case Zero
Error: duplicate case values
1)marks >= 90
2)marks >= 70 && marks < 90
3)marks <= 50 && marks < 70
1)marks >= 90
2)marks <= 70 && marks < 90
3)marks >= 50 && marks < 70
1)marks <= 90 && marks < 100
2)marks >= 70 && marks < 90
3)marks >= 50 && marks < 70
1)marks >= 90 && marks <= 100
2)marks >= 70 && marks < 90
3)marks >= 50 && marks < 70
Choose the correct code to find whether a number is positive or negative or zero.
(age<18), (age<18), (age<60)
(age<18), (age>18), (age<60)
(age<18), (age>18), (age>60)
(age<18), (age>=18), (age<60)
10
30
20
1
10
20
30
1
