Font size
WorksheetsROUND 1
Total questions: 20
Worksheet time: 20mins
What is the output of this statement "printf("%d", (a++))"?
The value of (a + 1)
The current value of a
Error
Garbage
What does this declaration mean?
int x : 4 ;
X is a four-digit integer
X cannot be greater than a four-digit integer.
X is a four-bit
integer.
None of these
In the C language, the constant is defined _______.
Before main
After main
Anywhere, but starting on a new line.
None of the these.
Which of the following option leads to the portability and security of Java?
Bytecode is executed by JVM
The applet makes the Java code secure and portable
Use of exception handling
Dynamic binding between objects
_____ is used to find and fix bugs in the Java programs.
JVM
JRE
JDK
JDB
In which process, a local variable has the same name as one of the instance variables?
Serialization
Variable Shadowing
Abstraction
Multi-threading
Which of the following is true about the anonymous inner class?
It has only methods
Objects can't be created
It has a fixed class name
It has no class name
Which of the following declarations is invalid in C language?
char *str = "javatpoint is the best platform for learn";
char str[] = "javatpoint is the best platform for learn";
char str[20] = "javatpoint is the best platform for learn";
char[] str = "javatpoint is the best platform for learn";
Which of the following statements is correct for variable names in Python language?
All variable names must begin with an underscore.
Unlimited length
The variable name length is a maximum of 2.
All of the above
Which of the following is not a keyword in Python language?
val
raise
try
with
At what rate percent per annum will a sum of money double in 8 years.
12.5%
13.5%
11.5%
14.5%
The sum of ages of 5 children born at the intervals of 3 years each is 50 years. What is the age of the youngest child?
4 years
8 years
10 years
None of these
Find the number, when 15 is subtracted from 7 times the number, the result is 10 more than twice of the number.
5
15
7.5
4
An aeroplane covers a certain distance at a speed of 240 kmph in 5 hours. To cover the same distance in 1 2/3 hours, it must travel at a speed of?
300kmph
360kmph
600kmph
720kmph
Pointing to a photograph of a boy Suresh said, "He is the son of the only son of my mother." How is Suresh related to that boy?
Brother
Uncle
Cousin
Father
Golu started from his house towards North. After covering a distance of 8 km. he turned towards left and covered a distance of 6 km. What is the shortest distance now from his house?
10 km
16 km
14 km
2 km
I am an odd number. Take away one letter and I become even. What number am I?
(a)
Fill in the question mark
15
30
25
10
Poles : Magnet :: ? : Battery
Cells
Power
Terminals
Energy
13, 35, 57, 79, 911, ?
1110
1112
1113
1315
