If, else, boolean
Iteration
Classes
100

this operator, often used in boolean expressions, has a lower precedence than logical AND (&&) but higher precedence than logical OR (||) in Java, and can lead to some confusing behavior when combined with if-else statements

XOR

100

This keyword is used to create a while loop with the loop code coming before the while expression

do while

100

In Java, this class contains the main method and is in charge of running other classes.

Driver class

200

Simplify (A || B || C) && (!A || !B) && (C || !B);


C || (!A && !B);


200

In a for loop, the variable used to iterate has this type of scope.

local

200

In java, this concept is when you protect sensitive fields from being modified by outside classes. They can only be modified through public setter and getter methods from within the class.

Encapsulation

300

Simplify 

!(A && (B || C)) || (A && (B || C));


B || C;

300

In a for loop, if the loop is performed n times, the check is performed this many times.

n+1

300

The words public and private are ____ _____.            

 Access modifiers

400

Simplify 

(A && B) || (!A && !B) || (A && !B);


A || !B;


400

This technique is used to improve program performance when performing recursion where recursive values are repeated and iteration where values are repeated.

Memoization

400

Modifiers that don't control access level are _____ _____.

Non-access modifiers

500

In which statement does the keyword "case" appear?

switch

500

for (int i = -1; i <k-2; i++)

{

     if ((i+2)*(i-2) < x)

          System.out.print("Hello");

}

This is the maximum number of times "Hello" print if x is some integer.

 k-1

500

Once a class has been declared, we can create objects that belong to the class. We say that these objects are ______ of the class.  

 Instances