Chapter One Quiz Questions – Flashcards
Unlock all answers in this set
Unlock answersquestion
What does the term Hardware refer to?
answer
The physical components that a computer is made of.
question
At the heart of a computer is its central processing unit. The CPU's job is:
answer
Fetch instructions, carry out operations commanded by the instructions, produce some outcome or resultant information.
question
What best describes an operator?
answer
An operator allows you to perform operations on one or more pieces of data.
question
An Integrated Development Environment typically consists of:
answer
Text editor, compiler, and debugger.
question
The purpose of a memory address is:
answer
To identify the location of a byte in memory.
question
The programming process consists of several steps, which include:
answer
Design, creation, testing, and debugging.
question
Programmer-defined names of memory locations that may hold data are:
answer
Variables
question
Characters or symbols that perform operations on one or more operands are:
answer
Operators
question
The computer's main memory is commonly known as:
answer
RAM
question
The -blank- decodes an instruction and generates electrical signals.
answer
Control Unit
question
A -blank- is a set of instructions that the computer follows to solve a problem.
answer
Program
question
Are used to translate each source code instruction into the appropriate machine language instruction.
answer
Compilers
question
During which stage does the central processing unit retrieve from main memory the next instruction in the sequence of program instruction?
answer
Fetch
question
What statement best describes a variable and its primary purpose?
answer
A variable is a named storage location in the computer's memory used for holding a piece of information.
question
This step will uncover any syntax errors in your program.
answer
Compiling
question
This term refers to the programmer reading the program from the beginning and stepping through the statement.
answer
Desk Checking
question
This is used in a program to mark the beginning or ending of a statement, or separates items in a list.
answer
Punctuation
question
A set of well-defined steps for performing a task or solving a problem is known as:
answer
Algorithm
question
The statements written by the programmer are called:
answer
Source code
question
Internally, the CPU consists of two parts:
answer
The control unit and the arithmetic and logic unit
question
Even when there is no power to the computer, data can be held in:
answer
Secondary storage
question
Words that have a special meaning and may be used only for their intended purpose are:
answer
Key words
question
The name for a memory location that may hold data is:
answer
Variable
question
This is a complete instruction that causes the computer to perform some action.
answer
Statement
question
A variable declaration announces the name of a variable that will be used in a program, as well as:
answer
The type of data it will be used to hold.
question
Three primary activities of a program are:
answer
Input, processing, and output
question
An example of a secondary storage device is:
answer
A hard disk
question
During which stage the central processing unit analyze the instruction and encode it in the firm of a number, and then generate an electronic signal?
answer
Decode
question
Mistakes that cause a running program to produce incorrect results are called:
answer
Logic errors
question
Computer programs are also known as:
answer
Software
question
Unix and Windows 2000 are examples of -blank- operating systems.
answer
Multi-tasking
question
This is a volatile type of memory, used for temporary storage.
answer
RAM
question
This is a set of rules that must be followed when constructing a program.
answer
Syntax
question
What is a preprocessor directive?
answer
#include
question
The programmer usually enters source code into a computer using:
answer
A text editor
question
In a broad sense, the two primary categories of programming languages are:
answer
Low-level and high-level
question
Which of the following is not one of the five major components of a computer system?
answer
Preprocessor
question
In the process of translating a source file into an executable file, what is the correct sequence?
answer
Source code, preprocessor, modified source code, compiler, object code, linker, executable code.
question
Software engineering is a field that encompasses designing, writing, testing, debugging, documenting, modifying, and maintaining computer programs.
answer
True
question
Pseudo code is a form of program statement that will always evaluate to "false"
answer
False
question
In programming, the terms "line" and "statement" always mean the same thing.
answer
False
question
In C++, key words are written in all lowercase letters.
answer
True
question
The preprocessor executes after the compiler.
answer
False
question
Machine language is an example of s higher-level language.
answer
False
question
A CPU really only understands instructions that are written in machine language.
answer
True