Exam 14: Additional Capabilities

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

The ____ statement provides an unconditional transfer of control to some other statement in a program.

(Multiple Choice)
4.8/5
(38)

#define SQUARE(x) x * x Val = SQUARE(num1 + num2); Results in the equivalent statement ____.

(Multiple Choice)
4.8/5
(48)

The conditional preprocessor directive ____ means "if not defined".

(Multiple Choice)
4.9/5
(39)

Enumerated lists are identified by the reserved word ____ followed by an optional, user-selected name and a required list of one or more constants.

(Multiple Choice)
4.7/5
(34)

The conditional preprocessor directive ____ means "if defined".

(Multiple Choice)
4.9/5
(33)

Using even one ____ statement in a program is almost always a sign of bad programming structure.

(Multiple Choice)
4.8/5
(42)

For positive signed numbers, where the leftmost bit is 0, both arithmetic and logical right shifts produce the same result.

(True/False)
4.9/5
(35)

typedef can be used to create ____.

(Multiple Choice)
4.7/5
(35)

In the equivalence statement #define SQUARE(x) x * x, x is ____.

(Multiple Choice)
4.8/5
(42)

A conditional expression uses the conditional operator, ____, and provides an alternate way of expressing a simple if-else statement.

(Multiple Choice)
4.9/5
(36)

typedef statements cannot be used with structure definitions.

(True/False)
4.9/5
(34)

Sets of related integer values can be equated to an equivalent set of constants using an enumerated list.

(True/False)
4.9/5
(39)

A goto statement is never required because C's normal structures provide sufficient flexibility to handle all possible flow control requirements.

(True/False)
4.8/5
(40)

In an enumeration, it is not valid for two constants to be equated to the same integer value.

(True/False)
4.9/5
(33)

The relationship between the #ifdef and #ifndef directives is that the expression #ifndef condition performs the same task as the expression #ifdef !condition.

(True/False)
4.8/5
(41)
Showing 41 - 55 of 55
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)