Question: These are mutiple choise realted to C++ BASIC OPERATIONQUESTION 9 In program PGM4-8.CPP, how many boolean expressions are specified? 5 3 4 6 QUESTION 7
These are mutiple choise realted to C++ BASIC OPERATIONQUESTION 9
In program PGM4-8.CPP, how many boolean expressions are specified?
| 5 | ||
| 3 | ||
| 4 | ||
| 6 |
QUESTION 7
What is correct in PGM3-16.CPP?
| The math function used returns a float (as opposed to double) value | ||
| The math function used is the logarithm base 10 | ||
| The variable hydron contains the result of the math function call | ||
| The argument to the math function used is the contained in the pHlevel variable |
QUESTION 4
In sample code PGM2-11.cpp, what is correct about the value of variable fe?
| It is a value less than zero | ||
| The exponent of 10 is positive | ||
| It is a very large value | ||
| The exponent of 10 is negative |
QUESTION 5
In sample code PGM2-7A.CPP, how many variables are declared?
| :3 | ||
| : | 1 | |
| : | 4 | |
| 2
|
QUESTION 8
What is correct about PGM3-8.CPP?
| The program shows the octal and hexadecimal representation of the same number | ||
| The program shows how to display numbers in octal and decimal | ||
| The program shows how to specify numbers in octal and decimal | ||
| The program shows the octal equivalent of the decimal value 25
|
QUESTION 11
Modify GPM4-5-1.CPP, to use the switch statement instead of the if...else if construct.
Include a comment containing your name, course code and date.
Submit the cpp file.
Attach File
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
