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