Exam 2: Basic Elements of C++

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

Suppose that alpha and beta are int variables.The statement alpha = beta++; is equivalent to the statement(s) ____.

(Multiple Choice)
4.9/5
(44)

Suppose that alpha and beta are int variables.The statement alpha = --beta; is equivalent to the statement(s) ____.

(Multiple Choice)
4.9/5
(39)

When a value of one data type is automatically changed to another data type, a(n) ____________________ type coercion is said to have occurred.

(Short Answer)
4.8/5
(38)

The length of the string "computer science" is ____.

(Multiple Choice)
4.8/5
(27)

Which of the following is the newline character?

(Multiple Choice)
4.9/5
(36)

The escape sequence \r moves the insertion point to the beginning of the next line.

(True/False)
4.9/5
(35)

Consider the following code. In this code, where does the include statement belong? Consider the following code. In this code, where does the include statement belong?

(Multiple Choice)
4.8/5
(32)

A(n) ____________________ is a memory location whose contents can be changed.

(Short Answer)
4.8/5
(34)

Suppose that alpha and beta are int variables.The statement alpha = ++beta; is equivalent to the statement(s) ____.

(Multiple Choice)
4.9/5
(36)

____________________ rules determine the meaning of instructions.

(Short Answer)
4.8/5
(33)
Showing 41 - 50 of 50
close modal

Filters

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