UPDATED Questions and CORRECT
Answers
The _______ is the basic building block of a CPT, and it exists in only two states, on or off. -
CORRECT ANSWER - transistor
Java bears some resemblance to the _______ programming language, making it easier for
programmer who know that language to pick Java up really quickly. - CORRECT
ANSWER - C++
The Java programming language has a total of ________ numeric data types. - CORRECT
ANSWER -6
In the statement, x += 3, the '+=' operator is one of Java's __________ assignment operators. -
CORRECT ANSWER - extended
The term ________ describes the process of combining an object's data and behavior into a
single software package. - CORRECT ANSWER - encapsulation
Java uses a process called ________ to avoid processing an entire expression if it determines that
an already evaluated portion of the expression determines the overall result of the entire
expression. - CORRECT ANSWER - short circuit evaluation
The position of any individual item within an array is called the items _________, which is also
known as its subscript. - CORRECT ANSWER - index
Word processors and spreadsheet programs are both examples of software that belongs to the
________ software category. - CORRECT ANSWER - application
, The Java compiler translates Java source code into ________, not machine code. - CORRECT
ANSWER - byte code
An item in a program whose value can change during a program execution is called a(n)
________. - CORRECT ANSWER - variable
Using the same name for two methods in the same class, where each method has different
parameter input, is called ________. - CORRECT ANSWER - overloading
________ is the characteristic of an object that says at any particular moment, the object's
instance variables have particular values. - CORRECT ANSWER - state
When testing a program, all the sets of data that exercise a program in the same manner are said
to belong to the same ________ class. - CORRECT ANSWER - equivalence
The first item in an array is located at index position ________. - CORRECT ANSWER -
0
Java uses the ________ standard for encoding character data instead of the commonly used
ASCII standard. - CORRECT ANSWER - unicode
Java program statements must be terminated by a(n) ________. - CORRECT ANSWER -
semicolon
An arithmetic ________ in Java consists of operands and operators combined in a manner
similar to algebra. - CORRECT ANSWER - expression
The double equal sign (==) is the symbol used to represent Java's _______ operator. -
CORRECT ANSWER - equal to