Computer Components/C Language Variables & IFs Files & Loops Functions (methods) Collections
100
What is True
A CPU only understands machine language instructions
100
What is data type and size
A variable definition tells the computer 2 things
100
What is fstream
To allow file access in a program, you must use __________ in the header file.
100
What is local
This type of variable is defined inside a function and is not accessible outside the function.
100
What is true
A vector object automatically expands in size to accommodate the items stored in it.
200
What is RAM
A volatile type of memory that is used for temporary storage is
200
What is 0
When a relational expression is false, it has the value
200
What is ofstream
To write data to a file, you define an object of the __________ data type.
200
What is return
This statement causes a function to end.
200
What is a rows and columns
A two-dimensional array can be viewed as
300
What is TRUE
The C/C++ language is typically compiled.
300
What is 7
What will the following code display?
int number = 6;
cout << ++number;
300
What is break
Without this statement appearing in a switch construct, the program "falls through" all of the statements below the one with the matching case expression.
300
What is called
A function is executed when it is
300
What is sentinel
A special value that marks the end of a list of values is a
400
What is false
The users of a compiled program have visibility to the source code
400
What is true
What is the value of the following expression?
true or false
400
What is true
You may use the break statement in a nested loop.
400
What is 2 or more
__________ functions may have the same name as long as their parameter lists are different.
400
What is of the same type
An array can store a group of values, but the values must be
500
What is compiler, editor, debugger
An Integrated Development Environment (IDE) typically consists of
500
What is scope
A variable's __________ is the part of the program that has access to the variable
500
What is opened
A file must be __________ before data can be written to or read from it.
500
What is add extra functionality
What is the most practical reason to create an overloaded method
500
What is true
When you pass an array as an argument to a function, the function can modify the contents of the array.






COSC-1436 Final Quiz Review

Press F11 for full screen mode



Limited time offer: Membership 25% off


Clone | Edit | Download / Play Offline