WorksheetsX-QUIZ 2
Total questions: 11
Worksheet time: 5mins
In Java, when we implement an interface method, it must be declared as:
Private
Public
Protected
Default
How many times will X-Quiz be printed in the above program?
1024
0
11
Error
What is the output of the following python code :
print 9//2
6
Error
3
4.5
What is the return type of getchar() in C?
char
float
byte
int
What is the output of the expression in python:
3*1**3
0
1
3
9
In java what is the base class of all classes?
java.lang.Object
java.util.zip
javax.lang.class
javax.util.jar
Select the odd one out :
C#
Pi
R
Ruby
Predict the output of the following pseudocode?
It accepts a string
It reverses the string
It prints the string in the same order
None of these
What will be the output of following C code?
Compile time error
2 97
2 2
Segmentation fault/code crash
Ingenuity is another highlight of Mars 2020. Which processor is used for ingenuity?
Intel Xenon
NASA Custom Made chipset
Snapdragon 801 SoC
NVIDIA Tegra
What will be the output of the following C program?
24
25
55
30
