What will the following programs print on the screen?
c) I am the incrediblecomputing
And I will
a) Be careful!
Be a trick
*/ What's wrong with this program? /*
The header is the part of a function definition that shows the function name, return type, and
If a function doesnt return a value, the word void will appear as its return type.
If function showValue has
b) getline(cin, description);
cin < age < pay < selection;
a) a = x * 12;
b) z = ( x * 5 ) + ( y * 14 ) + ( k * 6);
c) y = pow( x , 4);
d) g = ( h + 12 ) / ( k * 4 );
e) g = pow( a, 3
Unit 1 HW
To use cout statements you must include the iostream header file in your
Preprocessor directives begin with a #
6. 72, 'A', and "Hello World" are all examples of literal.
8. The character literal 'A' requires 1 byte(s)
The value of a relational expression is 0 if the expression is false or 1 if the expression is true
For an if statement to conditionally execute a group of statements, the statements must be
enclosed in a set of curly brac
The size declarator must be a(n) constant integer with a value greater than zero.
Each element of an array is accessed and indexed by a number known as a(n) subscript.
Subscript numbering in C+ always starts at zero.
using namespace std;
void updateAccount(double, double&, int);
int selection = 0;
double amt = 0;
double balance = 100.00;
while (selection !=3)
cout < "WELCOME TO THE ITT ATM" < endl < endl;
cout < "PLease enter y
A constructor whose parameters all have default values is a(n) default constructor.
A class may have more than one constructor, as long as each has a different parameter list.
A class may only have one default construc
What does ADT stand for? Abstract Data Type
Which of the following must a programmer know about an ADT to use it?
What values it can hold
What operations it can perform
How the operations are implemented
The binary search algorithm repeatedly divides the portion of an array being searched in half.
The binary search algorithm requires that the arrays contents be sorted.
The maximum number of comparisons performed by linear