The default copy constructor my be used *EXCEPT* __________.
- when a deep copy is required
- when a function passes an object by value as an argument
- when an object is constructed based on another object of the same class
- when an object of the class is returned by value
- when the compiler generates a temporary object
Give this one a try later!
, when a deep copy is required
Comparing Code against old versions to make sure that progress is being made?
Give this one a try later!
Re-running old tests to ensure a change hasn't broken any existing
functionality.
Suppose you want to access the next element of a stack. Which function would you
call?
Give this one a try later!
top()
UML diagrams are design tools that
Give this one a try later!
illustrate the interaction between classes and external entities.
What is true of C++ strings?
Give this one a try later!
, A C++ string is an alias for basic_string\<char\>
Which of the following is NOT a responsibility of the TAs?
Give this one a try later!
Debugging student programs.
Pick the best relationship for queues and deques.
Give this one a try later!
A queue has-a deque.
Which of the following is a 'has-a' relationship?
Give this one a try later!
A train has a train engine.
For common stack, queue, input-restricted deque, and output restricted deque data
structures, each ________.
Give this one a try later!
- when a deep copy is required
- when a function passes an object by value as an argument
- when an object is constructed based on another object of the same class
- when an object of the class is returned by value
- when the compiler generates a temporary object
Give this one a try later!
, when a deep copy is required
Comparing Code against old versions to make sure that progress is being made?
Give this one a try later!
Re-running old tests to ensure a change hasn't broken any existing
functionality.
Suppose you want to access the next element of a stack. Which function would you
call?
Give this one a try later!
top()
UML diagrams are design tools that
Give this one a try later!
illustrate the interaction between classes and external entities.
What is true of C++ strings?
Give this one a try later!
, A C++ string is an alias for basic_string\<char\>
Which of the following is NOT a responsibility of the TAs?
Give this one a try later!
Debugging student programs.
Pick the best relationship for queues and deques.
Give this one a try later!
A queue has-a deque.
Which of the following is a 'has-a' relationship?
Give this one a try later!
A train has a train engine.
For common stack, queue, input-restricted deque, and output restricted deque data
structures, each ________.
Give this one a try later!