WorksheetsTri-Tech-Cup Round 2
Total questions: 15
Worksheet time: 13mins
Error
80
70
90
None, Simba, well
well, Lion, well in the circus
well in the circus, Simba, well in the circus
well in the circus, Simba, None
dining_table.no_of_legs=6
glass_top=True
print(dining_table.rate)
None of the above
Predict the output of the code.
red
None
Error
Apple
20, 1, 20, 2
19, 2, 18, 3
19, 2, 19, 2
19, 2, 19, 3
A
B
C
D
#include <stdio.h>
Error: FILE is not a key word.
No error
Error: fp cannot be a pointer.
A
B
C
D
A
B
C
D
-1, 2, 1, 0
-2, 2, 0, 3
-2, 3, 0, 1
-1, 3, 0, 1
Fill in the blanks to get the output as shown using Python.
(use i, j and n as the variables)
(a)
Fill in the blanks to find the factorial of a number using python.
(a)
Fill in the blank to find whether the year is leap year or not
(don't leave any blank spaces)
(a)
What is the output of the program?
1
10
1101
101
What is the output of the program?
javac
javajavac
Compile error
java
