Prelim Extra Flashcards
A (n) loop is a special loop that is used when a definite number of iterations required
for
Statements in which an if structure is contained inside another if structure are called ______ if statements
nested
in switch structure break is followed by one of the possible values for the expression and a colon
(True or False)
F
_______ error occurs when the syntax of the program is correct and the program compiles but produces incorrect results when you execute it
logic
You use an import statement when you want to access a built-in-Java class that is contained in a group of classes called _______
package
*, /, % always take place after + or - in an expression
True or False
F
You can create a confirm dialog with 5 arguments
True or False
T
Describes the feature languages that allow the same word to be interpreted correctly in different situations based on the context
Polymorphism
It is important that the loop controlled ______ be altered within the body of the loop
Variable
The type to which all operands in an expression are converted so that they are compatible with each other
unifying type
Many seasoned programmers start counter values at 1 because they are used to doing so when working with arrays
(True or False)
F
When you place a block within if statement, it is crucial to place the _____ correctly
curly braces
When you block statements, you must remember that any ____ you declare within a block is local to that block
variable
one execution of any loop is called ______
iteration
is an error not detected until the program asks the computer to do something illegal or wrong while executing
run-time error