Exam 14: Additional Capabilities

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

Conditional expressions are only useful in replacing if-else statements when the expressions in the equivalent if-else statement are not long or complicated.

(True/False)
4.9/5
(32)

Compiler processing of typedef statements allows for text replacements that are not possible with the preprocessor.

(True/False)
4.9/5
(30)

By default, the first enumerated name in an enumerated list has a value of ____.

(Multiple Choice)
4.9/5
(41)

The advantage of using a macro such as #define SQUARE(x) x * x is that since the data type of the argument is not specified, the macro can be used with any data type argument.

(True/False)
4.8/5
(41)

The operator ____ is a ternary operator.

(Multiple Choice)
4.8/5
(39)

Integer values in an enumeration must be in sequence.

(True/False)
4.8/5
(35)

To standardize arguments passing to a main() function, only ____ item(s) is/are allowed.

(Multiple Choice)
4.7/5
(35)

An enum statement can be replaced by several typedef statements.

(True/False)
4.8/5
(38)

1 0 1 1 0 0 1 1 ____ 1 1 0 1 0 1 0 1 results in 1 1 1 1 0 1 1 1.

(Multiple Choice)
4.9/5
(38)

When working with bit operations, inclusive ORing with a 1 has the same effect as ANDing with a 0.

(True/False)
4.7/5
(44)

1 0 1 1 0 0 1 1 ____ 1 1 0 1 0 1 0 1 results in 1 0 0 1 0 0 0 1.

(Multiple Choice)
4.8/5
(41)

____ bit operations are extremely useful in masking, or eliminating, selected bits from an operand.

(Multiple Choice)
5.0/5
(39)

Upon encountering the command line pgm14.3 three blind mice, the operating system stores it as a sequence of ____ strings.

(Multiple Choice)
4.8/5
(50)

Any argument typed on a command line is considered to be an integer.

(True/False)
4.8/5
(36)

The complement operator, ____, is a unary operator that changes each 1 bit in its operand to 0 and each 0 bit to 1.

(Multiple Choice)
4.9/5
(44)

If necessary, a macro definition can be continued on a new line by typing a backslash character, \, before the Enter key is pressed.

(True/False)
4.9/5
(27)

ARRAY first, second; is equivalent to the two definitions int first[100]; and int second[100]; if ____.

(Multiple Choice)
4.9/5
(37)

Enumerated constants can be any valid user-created identifier, but each name in the list must be unique.

(True/False)
5.0/5
(42)

Explicit values can be assigned to each enumerated constant, with unspecified values automatically continuing the integer sequence from the last specified value. For example, ____.

(Multiple Choice)
4.7/5
(34)

The definition REAL val; is ____.

(Multiple Choice)
4.8/5
(32)
Showing 21 - 40 of 55
close modal

Filters

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