Which of these are selection statements in Java?
#java_1
#java_1
Anonymous Quiz
23%
for()
54%
if()
12%
continue
10%
break
👍2
Which of the following loops will execute the body of loop even when condition controlling the loop is initially false?
#java_1
#java_1
Anonymous Quiz
73%
do-while
14%
while
9%
for
5%
none of the mentioned
What is the range of short data type in Java?
#java_1
#java_1
Anonymous Quiz
36%
-128 to 127
34%
-32768 to 32767
9%
-2147483648 to 2147483647
21%
None of the mentioned
What is the range of byte data type in Java?
#java_1
#java_1
Anonymous Quiz
73%
-128 to 127
2%
-32768 to 32767
18%
-2147483648 to 2147483647
7%
None of the mentioned
Which data type value is returned by all transcendental math functions?
#java_1
#java_1
Anonymous Quiz
31%
int
43%
double
15%
float
12%
long
#java_1
A switch can only test for equality using the equality operator (==).
A switch can only test for equality using the equality operator (==).
Anonymous Quiz
64%
True
36%
False
👍1
#java_1
Used to break out of a loop if a certain condition is met.
Used to break out of a loop if a certain condition is met.
Anonymous Quiz
84%
break
16%
Continue
#java_1
Will stop further execution of the current iteration of a loop, and then evaluate the LCC and continue if it is true.
Will stop further execution of the current iteration of a loop, and then evaluate the LCC and continue if it is true.
Anonymous Quiz
31%
break
69%
Continue
❤1
#java_1
a syntax to select one of many code blocks to be executed
a syntax to select one of many code blocks to be executed
Anonymous Quiz
26%
if else
19%
if
35%
switch
21%
loop
👍1
#java_1
A ... statement tests a variable for equality against a list of values. Each value is called a case, and the variable being switched on is checked for each case.
A ... statement tests a variable for equality against a list of values. Each value is called a case, and the variable being switched on is checked for each case.
Anonymous Quiz
19%
if else
64%
switch
11%
for loop
6%
Do while
👍3👎1
#java_1
A switch can only test for equality using the equality operator (==).
A switch can only test for equality using the equality operator (==).
Anonymous Quiz
61%
True
39%
False
#java_1
Used to break out of a loop if a certain condition is met.
Used to break out of a loop if a certain condition is met.
Anonymous Quiz
79%
break
21%
Continue
#java_1
Will stop further execution of the current iteration of a loop, and then evaluate the LCC and continue if it is true.
Will stop further execution of the current iteration of a loop, and then evaluate the LCC and continue if it is true.
Anonymous Quiz
22%
break
78%
Continue
#java_1
a syntax to select one of many code blocks to be executed
a syntax to select one of many code blocks to be executed
Anonymous Quiz
26%
if else
12%
if
40%
switch
22%
loop
#java_1
A ... statement tests a variable for equality against a list of values. Each value is called a case, and the variable being switched on is checked for each case.
A ... statement tests a variable for equality against a list of values. Each value is called a case, and the variable being switched on is checked for each case.
Anonymous Quiz
14%
if else
67%
switch
11%
for loop
8%
Do while
What is the range of short data type in Java?
#java_1
#java_1
Anonymous Quiz
37%
-128 to 127
30%
-32768 to 32767
6%
-2147483648 to 2147483647
27%
None of the mentioned
What is the range of byte data type in Java?
#java_1
#java_1
Anonymous Quiz
63%
-128 to 127
11%
-32768 to 32767
11%
-2147483648 to 2147483647
15%
None of the mentioned
Which data type value is returned by all transcendental math functions?
#java_1
#java_1
Anonymous Quiz
30%
int
48%
double
12%
float
10%
long