Answer the following statements true (T) or false (F)
1. The two most common queue operations are push and pop.
2. When the program knows the exact contents of a list and can access any element on demand, the data structure is known as a stacked deque.
3. For a compiler that is older than C++11 it is necessary to put spaces between the angled brackets that appear next to each other when defining a stack.
4. Computer systems use stacks. For example, when a function is called, they create local variables on a stack which are removed from the stack when the function terminates.
1. F
2. F
3. F
4. T
You might also like to view...
When a variable is assigned a number that is too large for its data type, it
a. underflows b. overflows c. reverses d. converts e. None of these
Which of the following statements is false?
a) By default, the Toolbox contains only the Rectangle and Ellipse shapes, which you can drag onto the GUI designer. b) To edit a shape’s properties in the Properties window you must first select the shape in the designer. c) A Canvas allows you to specify the exact position of a shape. d) The Document Outline window shows the nested structure of a page’s layouts and controls and makes it easier to select specific controls to customize them with the Properties window.
A pure virtual function is a member function
a. Whose declaration ends with = 0. b. That is used in a derived class only. c. That is used in a base class d. Takes no arguments e. Member form that is used to force all derived classes to implement that member function or be a pure virtual function member of the derived class.
Field values are case sensitive.
A. True B. False