Font size
WorksheetsCSNP-04103 - Chapter 3 - C++ Basics
Total questions: 10
Worksheet time: 5mins
In C++ the function sqrt() is part of which library
<c++math>
<cmath>
<pmath>
The C standard library
The abstraction feature of C++ hides the complexity of the objects, what you need to know about an abstract object in order to be able to use it? (multiple-choice).
How do I call it.
The memory address.
What do I send to it.
What I receive from it.
None of the above
Top down design is used during what stage of the traditional development life cycle?
Analysis
Implementation
Design
Maintenance
Top down design is used during what stage of the traditional development life cycle?
Analysis
Implementation
Design
Maintenance
Structure charts
Provide a graphical representation of the relationship of a problem with sub-problems.
Helps you create shapes of houses and female figures.
Gives structure to your abstract objects.
Created a Gantt chart in the screen.
int mexicoInc (char); is a
Function Definition
Function Body
Function Header
Function Prototype
The function above is
Void with no arguments
Int with no arguments
Void with arguments
Int with arguments
The function above is
Void with arguments
Int with arguments
Void with no arguments
Int with no arguments
Global variables are defined?.
Inside the function.
Inside the main.
Below the compiler directives and above the main.
Same place as constants.
How C++ knows what to do with the operations above?
It doesn't you can't add string data types, only numbers.
It is an operator overloading operation and it uses the data type
It translates the letter values to ASCII and adds then on
It is abstract, it figures it out or produces an error
