Access over 35 million academic & study documents

A constructor may have a return type of intboolvoid  

Content type
User Generated
Rating
Showing Page:
1/5
A constructor may have a return type of ________.
int
bool
void
Any of the above
None of the above
In an ADT the implementation details are ________ the
interface through which a program uses it.
a part of
determined by
kept separate from
used by
None of the above
The ________ statement acts like a chain of if statements.
Each performs its test, one after the other, until one of
them is found to be true.
if/endif
if/else
if/then
if/not if
if/else if
The cin object must be followed by ________.
a single stream insertion (<<) operator
no operators.
a single stream extraction (>>) operator
one or more stream insertion operators (<<)
one or more stream extraction (>>) operators
Every C++ program must have ________.
comments
variables
constants
a function called main.
All of the above
In C++, a value can be raised to a power by using
________.

Sign up to view the full document!

lock_open Sign Up
Showing Page:
2/5
the ** operator
the power operator
the ^ operator
the pow function
the square function
In a C++ program, two slash marks ( // ) indicate the
beginning of ________.
a block of code
a comment
a variable definition
a program
None of the above
In an ADT the implementation details are ________ the
interface through which a program uses it.
a part of
determined by
kept separate from
used by
None of the above
Overloaded functions are functions ________.
that attempt to do too much in a single function
with the same name and same parameter lists
that do different things depending on who calls them
with the same name but different parameter lists
with too many parameters
The ________ operator is known as the logical OR
operator.
&
||
&&
//
Which of the following expressions will evaluate to 2.5?
static_cast<double>(5 / 2)
static_cast<double>(5) / 2
5 / static_cast<double>(2)
All three of the above

Sign up to view the full document!

lock_open Sign Up
Showing Page:
3/5

Sign up to view the full document!

lock_open Sign Up
End of Preview - Want to read all 5 pages?
Access Now
Unformatted Attachment Preview
A constructor may have a return type of ________. int bool void Any of the above None of the above In an ADT the implementation details are ________ the interface through which a program uses it. a part of determined by kept separate from used by None of the above The ________ statement acts like a chain of if statements. Each performs its test, one after the other, until one of them is found to be true. if/endif if/else if/then if/not if if/else if The cin object must be followed by ________. a single stream insertion () operator one or more stream insertion operators () operators Every C++ program must have ________. comments variables constants a function called main. All of the above In C++, a value can be raised to a power by using ________. the ** operator the power operator the ^ operator the pow function the square function In a C++ program, two slash marks ( // ) indicate the beginning of ________. a block of code a comment a variable definition a program None of the above In an ADT the implementation details are ________ the interface through which a program uses it. a part of determined by kept separate from used by None of the above Overloaded functions are functions ________. that attempt to do too much in a single function with the same name and same parameter lists that do different things depending on who calls them with the same name but different parameter lists w ...
Purchase document to see full attachment
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Anonymous
Great study resource, helped me a lot.

Studypool
4.7
Indeed
4.5
Sitejabber
4.4

Similar Documents