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
(84)

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

(Multiple Choice)
4.9/5
(81)

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.9/5
(87)

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

(Multiple Choice)
4.7/5
(70)

Which of the following is the newline character?

(Multiple Choice)
4.9/5
(79)

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

(True/False)
5.0/5
(87)

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.9/5
(77)

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

(Short Answer)
4.8/5
(79)

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

(Multiple Choice)
4.9/5
(84)

____________________ rules determine the meaning of instructions.

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

Filters

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