Filters
Question type

Study Flashcards

You can use named constants to make your programs easier to understand by eliminating ____.


A) constants
B) variables
C) strings
D) magic numbers

E) A) and B)
F) A) and C)

Correct Answer

verifed

verified

A(n) ____ is the name of a programming object - for example, a class, method, or variable.


A) convention
B) identifier
C) keyword
D) class header

E) B) and C)
F) A) and C)

Correct Answer

verifed

verified

Until a variable is initialized, it holds an unknown value referred to as ____________________.

Correct Answer

verifed

verified

A(n) ____________________ variable is not used for input or output.

Correct Answer

verifed

verified

String values are also called ____ values.


A) unnamed
B) digit
C) alphabetic
D) alphanumeric

E) All of the above
F) C) and D)

Correct Answer

verifed

verified

____ constants do not have identifiers like variables do.


A) Alphabetic
B) Named
C) Unnamed
D) Uncertain

E) A) and B)
F) B) and C)

Correct Answer

verifed

verified

Programmers refer to programs that contain meaningful names as ____.


A) external documentation
B) self-documenting
C) internally consistent
D) applications

E) B) and D)
F) B) and C)

Correct Answer

verifed

verified

According to the rules of precedence, ____ has higher precedence than addition.


A) multiplication
B) subtraction
C) the equals sign
D) assignment

E) C) and D)
F) B) and C)

Correct Answer

verifed

verified

Computers deal with two basic types of data - text and string.

A) True
B) False

Correct Answer

verifed

verified

In the following statement, which arithmetic operation is performed first? answer = a + b + c * d / e - f


A) e-f
B) a+b
C) c*d
D) d/e

E) B) and D)
F) None of the above

Correct Answer

verifed

verified

Showing 41 - 50 of 50

Related Exams

Show Answer