C++ is a programming tool widely used today. If you are a programmer and you are looking for ways to better yourself in this field, then this quiz will do just that. All the best as you attempt the quiz.
True
False
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
Void displayOutput(myTotal);
DisplayOutput(int mytotal);
DisplayOutput(myTotal);
Cout
Rate this question:
What is true after the function is executed
What the function does
How to call the function
What must be true before the function executes
Rate this question:
There cannot be a return statement.
The value of void should be returned.
The value of 0 should be returned.
Nothing is returned
Rate this question:
The cost for 15 items is 3.00, and the tax for 3.00 is 0.30;
The cost for 15 items is 0.00, and the tax for 3.00 is 0.00;
The cost for 15 items is 0.00, and the tax for 3.00 is 0.30;
The cost for 15 items is 3.00, and the tax for 3.00 is 0.00;
Rate this question:
The cost for 15 items is 3.00, and the tax for 3.00 is 0.30;
The cost for 15 items is 0.00, and the tax for 3.00 is 0.00;
The cost for 15 items is 0.00, and the tax for 3.00 is 0.30;
The cost for 15 items is 3.00, and the tax for 3.00 is 0.00;
Rate this question:
Void doSomething(int& x, int y);
Void doSomething( int& x, int& y);
Void doSomething( int x, int y);
All are valid
Rate this question:
3
0
-1
99
Rate this question:
Void display();
Void display(float myCost);
Int display (float myCost);
Float display();
Rate this question:
1 14 3
1 10 3
5 14 3
1 14 9
None
Rate this question:
SomeFunction(1, 2.0, ch);
SomeFunction(myInt, myFloat, ch);
SomeFunction(myInt, 2.0, 'c');
SomeFunction(myInt, myFloat, '1');
Rate this question:
The value of x
Nothing, it is a void function
The value of y
The variable x (or its memory location)
Rate this question:
A stub
Abstraction
Polymorphism
A driver
Rate this question:
//Postcondition: None
//Postcondition: the values of left and right are exchanged.
//Postcondition: left has the value of right
//Postcondition: left and right are unchanged
Rate this question:
Neither function should return a value
Function definitions may not be nested
Both parameters to f2 should be pass-by reference
In f2, a can not be assigned b.
Nothing is wrong
Rate this question:
As each function is developed
At the end of the coding
Only if there appear to be problems
Only if your instructor requires it.
Rate this question:
Quiz Review Timeline (Updated): Feb 17, 2023 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.