Exam 24: C++11 Additional Features

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

Weak_ptrs should be used in any situation where you need to ________ the resource but don't want to assume any management responsibilities for it.

(Multiple Choice)
4.9/5
(35)

Which of the following statements about regular expressions is false?

(Multiple Choice)
4.7/5
(41)

A ________ iterates through the parts of a string that match a regular expression.

(Multiple Choice)
4.9/5
(41)

The ________ allows you to test constant integral expressions at compile time rather than runtime.

(Multiple Choice)
4.8/5
(46)

Operator ________ enables the compiler to determine an expression's type at compile time.

(Multiple Choice)
4.8/5
(33)

A tuple's ________ creates a tuple in which each member is value initialized-primitive type values are set to 0 or the equivalent of 0 and objects of class types are initialized with their default constructors.

(Multiple Choice)
4.9/5
(27)

A ________ template accepts any number of arguments, which can greatly simplify template programming.

(Multiple Choice)
4.8/5
(36)

Which of the following statements about raw string literals is false.

(Multiple Choice)
4.8/5
(36)

Which of the following statements is true?

(Multiple Choice)
4.9/5
(36)

In C++11, in a class called Employee that has explicitly defined constructors, you can specify that the default constructor should be generated with the declaration ________.

(Multiple Choice)
4.9/5
(41)

A tuple's ________ uses the assignment operator (=) to copy the elements of the tuple in the right operand into a tuple of the same type in the left operand. The element types stored in the constructor argument must be copy assignable.

(Multiple Choice)
4.9/5
(41)

A tuple's ________ uses the assignment operator (=) to move the elements of the tuple in the right operand into a tuple of the same type in the left operand. The element types stored in the constructor argument must be copy assignable.

(Multiple Choice)
4.9/5
(29)

Smart pointers ________.

(Multiple Choice)
4.7/5
(43)

Which of the following statements about regular expressions is false.

(Multiple Choice)
4.7/5
(39)

Which of the following statements is true?

(Multiple Choice)
4.8/5
(42)

Assuming strings of the format: "Robert's birthday is 10-22-90" What does the following regex match? // create a regular expression Regex expression("J.*\\d[0-35-9]-\\d\\d-\\d\\d");

(Multiple Choice)
4.8/5
(48)
Showing 41 - 56 of 56
close modal

Filters

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