Toggle Navigation
Games
Blog
Class PIN
Join for Free
Sign in
Toggle Navigation
Games
PIN
Join for Free
Blog
Pricing
Contact us
Help center
Sign in
Study
Nested Loop(Grade 9)
0
%
0
0
0
Back
Restart
The result of the expression - 10 > 5 || 3 > 6
true
Oops!
Okay!
The operator used to compare two values for equality is _________
==
Oops!
Okay!
TRUE or FALSE - After the inner loop ends, control goes back to the outer loop.
TRUE
Oops!
Okay!
The result of 7%3 is ____________
1
Oops!
Okay!
Objects are created using the __________ keyword.
new
Oops!
Okay!
The keyword used to immediately exit from a loop is __________.
break
Oops!
Okay!
In the code how many times * will be printed - for(int i = 1; i <= 3; i++) { for(int j = 1; j <= 2; j++) { System.out.print("*"); } }
6
Oops!
Okay!
The loop which guarantees at least one execution of the loop body is the __________ loop.
Exit control loop
Oops!
Okay!
A class is a __________ for creating objects.
blueprint
Oops!
Okay!
The loop that controls the number of rows in a pattern program is usually the __________ loop.
Outee
Oops!
Okay!
If the outer loop runs 3 times and the inner loop runs 4 times, the inner loop will execute a total of __________ times.
12
Oops!
Okay!
The conditional (ternary) operator uses __________ symbols.
? :
Oops!
Okay!
If a loop runs without a terminating condition, it is called an __________ loop.
infinite loop
Oops!
Okay!
The loop that controls the number of columns or stars in a pattern is the __________ loop.
inner
Oops!
Okay!
In pattern printing programs, System.out.println() is usually placed __________ the inner loop.
after/outside
Oops!
Okay!
The data type used to store true or false values is __________
boolean
Oops!
Okay!
Your experience on this site will be improved by allowing cookies.
Allow cookies