M01 Flashcards
The basic commands that a computer performs are input, output, storage, and performance of arithmetic and logical operations.
True
Main memory is directly connected to the CPU.
True
When the computer is turned off, everything in secondary memory is lost.
False
The devices that feed data and programs into computers are called output devices.
False
Information stored in main memory must be transfered to some other device for permanent storage.
True
The device that stores information permanently (unless the device becomes unusable or you change the information by rewriting it) is called primary storage.
False
The command that does the linking on Visuall C++ 2010 Express and Visual Studio 2010 is Make or Remake.
False
When you compile your program, the compiler identifies the logic errors and suggests how to correct them.
False
To develop a program to solve a problem, you start by analyzing the problem.
True
C++ programs have always been portable from one compiler to another.
False
Several categories of computers exist, such as ____.
mainframe, midsize, and micro
The basic commands that a computer performs are ___, and performance of arithmetic and logical operations.
input, output, storage
Main memory is called ____.
random access memory
The ___ is the brain of the computer and the single most expensive peice of harware in your personal computer.
CPU
Main memory is an ordered sequence of items, called ___.
memory cells
The devices that feed data and programs into computers are called ___ devices.
input
The devices that the computer uses to display results are called ___ devices.
output
When the power is switched off, everything in ___ is lost.
main memory
___ progrmas perform a specific task.
Application
___ represent information with a sequence of 0s and 1s.
Digital signals
In C++ reserved words are the same as predefined identifiers.
False
The maximum number of significant digits in values of the double type is 15.
True
The maximum number of significant digits in float values is up to 6 or 7.
True
An operator that has only one operand is called a unique operator.
False
If a C++ arithmetic expression has no parentheses, operators are evaluated from left to right.
True
A mixed arithmetic expression contains all operands of the same type.
False
Suppose a = 5. After the execution of the statement ++a; the value of a is 6.
True
The escape sequence /r moves the insertion point to the beginning of the next line.
True
A comma is also called a statement terminator.
False
Suppose that sum is an int variable. The statement sum += 7; is equivalent to the statement sum = sum + 7.
True
The ___ rules of programming language tell you which statements are legal, or accepted by the programming language.
syntax
Is a reserved word in C++
char
___ is a valid char value.
‘A’
An example of a floating point data type is ____.
double
The memory allocated for a float value is ___ bytes.
four
The value of the expression 33/10, assuming both values are integral data types is ____.
3
The value of the expression 17 % 7 is ____.
3
The expression static_cast
9
A sequence of eight bits is called a ____.
byte
The digit 0 or 1 is called a binary digit or ____.
bit
The term GB refers to ___.
gigabyte
___ consists of 65,536 characters.
Unicode
A program called a ____ translates instructions written in high-level languages into machine code.
compiler
A program called a ___ combines the object program with the programs from libraries.
linker
A program that loads an executable program into main memory is called a ___.
loader
A step-by-step problem-solving process in which a solution is arrived at in a finite amount of time is caled an ____.
algorithm
To develop a program to solve a problem, you start by ____.
analyzing the problem
Dividing a problem into smaller subproblems is called ___ design.
structured
An ___ consists of data and the operations on those data.
object
The programming language C++ evolved from ____.
C
The programming language C++ was designed by Bjarne Stroustrup at Bell Laboratories in the early ____.
1980s
The ____ monitors the overall activity of the computer and provides services such as memory management, input/output activities, and storage management.
operating system
___ signals represent information with a sequence of 0s and 1s.
Digital
Word processors, spreadsheets, and games are examples of ____.
applications
A sequence of 0s and 1s is sometimes referred to as ____ code.
binary
The ASCII data set consists of ___ characters.
128