Pick the best statement
Give this one a try later!
A full binary tree need not be complete and a complete binary tree need
not be full.
A queue differs from a stack in __________.
,Give this one a try later!
only one operation
Which of the following stack configurations are correct in terms of precedence? Let
the far left be the bottom of the stack, and the right be the top.
Give this one a try later!
+%
A private data member is visible __________________
Give this one a try later!
in the class in which it is declared
Which of the following would not be a good application for a binary tree?
Give this one a try later!
A family tree.
What things are necessary in a recursive function?
Give this one a try later!
, A base case and a recursive call.
Which of the following is NOT a disadvantage of a singly linked list compared to a
doubly linked list?
Give this one a try later!
Nodes in a singly linked list contain more data that nodes in a doubly linked
list.
What is the difference between const and the preprocessor directive #define?
Give this one a try later!
As a general rule you should give the compiler preference to the
preprocessor.
What best describes Namespaces?
Give this one a try later!
A. The entire C++ standard library is contained in the namespace std.
B. Namespaces are used to organize code into logical groups and to
prevent name collisions.
C. All names introduced by declarations within a namespace-body become
members of the current namespace identifier.
D. All of the above are true. (CORRECT)
, What is true of C++ pointer variables?
Give this one a try later!
Array pointers enable us to conveniently process groups of data such as
vectors, lists, and strings.
When a queue is represented using a single-linked list, the links should
Give this one a try later!
point from the front toward the rear.
'The "order of complexity" of an algorithm expresses ____________.
Give this one a try later!
the limiting behavior of a function when the argument tends towards infinity
What is the fundamental flaw with the Waterfall software development model?
Give this one a try later!
It assumes that each stage can be completed correctly and fully before
advancing to the next stage.
Give this one a try later!
A full binary tree need not be complete and a complete binary tree need
not be full.
A queue differs from a stack in __________.
,Give this one a try later!
only one operation
Which of the following stack configurations are correct in terms of precedence? Let
the far left be the bottom of the stack, and the right be the top.
Give this one a try later!
+%
A private data member is visible __________________
Give this one a try later!
in the class in which it is declared
Which of the following would not be a good application for a binary tree?
Give this one a try later!
A family tree.
What things are necessary in a recursive function?
Give this one a try later!
, A base case and a recursive call.
Which of the following is NOT a disadvantage of a singly linked list compared to a
doubly linked list?
Give this one a try later!
Nodes in a singly linked list contain more data that nodes in a doubly linked
list.
What is the difference between const and the preprocessor directive #define?
Give this one a try later!
As a general rule you should give the compiler preference to the
preprocessor.
What best describes Namespaces?
Give this one a try later!
A. The entire C++ standard library is contained in the namespace std.
B. Namespaces are used to organize code into logical groups and to
prevent name collisions.
C. All names introduced by declarations within a namespace-body become
members of the current namespace identifier.
D. All of the above are true. (CORRECT)
, What is true of C++ pointer variables?
Give this one a try later!
Array pointers enable us to conveniently process groups of data such as
vectors, lists, and strings.
When a queue is represented using a single-linked list, the links should
Give this one a try later!
point from the front toward the rear.
'The "order of complexity" of an algorithm expresses ____________.
Give this one a try later!
the limiting behavior of a function when the argument tends towards infinity
What is the fundamental flaw with the Waterfall software development model?
Give this one a try later!
It assumes that each stage can be completed correctly and fully before
advancing to the next stage.