NEW
Font size
WorksheetsC++ Chapter 1
Total questions: 10
Worksheet time: 5mins
A(n) __________ is a set of instructions that the computer follows to solve a problem.
compiler
linker
program
operator
none of these
At the heart of a computer is its central processing unit. The CPU's job is:
To fetch instructions
To carry out the operations commanded by the instructions
To produce some outcome or resultant information
All of these
None of these
The __________ decodes an instruction and generates an electronic signal.
Arithmetic and Logic Unit
Main memory
BIOS
Control Unit
None of these
During which stage does the central processing unit analyze the instruction and encode it in the form of a number, and then generate an electronic signal?
fetch
decode
execute
portability
A volatile type of memory that is used for temporary storage is
an address
the ALU
RAM
a disk drive
None of these
In C++, key words are written in all lowercase letters.
True
False
A CPU only understands machine language instructions.
True
False
A set of well-defined steps for performing a task or solving a problem is known as a(n):
hierarchy chart
algorithm
instruction set
statement
None of these
________ are used to translate each source code instruction into the appropriate machine language instruction.
modules
runtime libraries
compilers
preprocessor directives
None of these
Characters or symbols that perform operations on one or more operands are:
separators
op codes
operators
key words
None of these
