Edit Game
Nested Loop(Grade 9)
 Delete

Use commas to add multiple tags

 Private  Unlisted  Public



 Save

Delimiter between question and answer:

Tips:

  • No column headers.
  • Each line maps to a question.
  • If the delimiter is used in a question, the question should be surrounded by double quotes: "My, question","My, answer"
  • The first answer in the multiple choice question must be the correct answer.






 Save   16  Close
Objects are created using the __________ keyword.
new
A class is a __________ for creating objects.
blueprint
The result of the expression - 10 > 5 || 3 > 6
true
The result of 7%3 is ____________
1
The conditional (ternary) operator uses __________ symbols.
? :
The operator used to compare two values for equality is _________
==
The data type used to store true or false values is __________
boolean
In pattern printing programs, System.out.println() is usually placed __________ the inner loop.
after/outside
If a loop runs without a terminating condition, it is called an __________ loop.
infinite loop
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
The keyword used to immediately exit from a loop is __________.
break
The loop which guarantees at least one execution of the loop body is the __________ loop.
Exit control loop
TRUE or FALSE - After the inner loop ends, control goes back to the outer loop.
TRUE
If the outer loop runs 3 times and the inner loop runs 4 times, the inner loop will execute a total of __________ times.
12
The loop that controls the number of columns or stars in a pattern is the __________ loop.
inner
The loop that controls the number of rows in a pattern program is usually the __________ loop.
Outee