COP1334 C++ Midterm (Ch. 1)

Ace your homework & exams now with Quizwiz!

Fetch

During which stage does the central processing unit retrieve from main memory the next instruction in the sequence of program instructions?

Control Unit and Arithmetic and Logic Unit

Internally, the CPU consists of two parts:

Variables

Programmer-defined names of memory locations that may hold data are:

Software

Computer programs are also known as

Logic errors

Mistakes that cause a running program to produce incorrect results are called:

Control Unit

The ________ decodes an instruction and generates electrical signals.

Text editor

The programmer usually enters source code into a computer using:

Design, Creation, Testing, Debugging

The programming process consists of several steps, which include:

Syntax

This is a set of rules that must be followed when constructing a program

Punctuation

This is used in a program to mark the beginning or ending of a statement, or separate items in a list.

Compiling

This step will uncover any syntax errors in your program.

Input, Processing, and Output

Three primary activities of a program are:

#include

Which of the following is a preprocessor directive?

Preprocessor

Which of the following is not one of the five major components of a computer system?

Key Words

Words that have a special meaning and may be used only for their intended purpose are known as:

Compilers

_______________ are used to translate each source code instruction into the appropriate machine language instruction.

Multi-tasking

Unix and Windows 2000 are examples of _______________ operating systems.

Physical Components

What does the term hardware refer to?

Source code, preprocessor, modified source code, compiler, object code, linker, executable code.

In the process of translating a source file into an executable file, which of the following is the correct sequence?

Text editor, compiler, debugger

An Integrated Development Environment typically consists of:

Variable

The name for a memory location that may hold data is:

Algorithm

A set of well-defined steps for performing a task or solving a problem is known as a(n):

Program

A(n) ____________ is a set of instructions that the computer follows to solve a problem.

Hard Drive

An example of a secondary storage device is:

Fetch Instructions, Carry out operations, produce outcome

At the heart of a computer is its central processing unit. The CPU's job is:


Related study sets

Chapter 12 - T/F & Multiple Choice

View Set

systems analysis and design chp 12

View Set

Real Estate U Texas Principles of Real Estate - Part 2

View Set

Chapter 13: Obesity, Energy Balance, and Weight Management

View Set

The Vertebrates and The Invertebrates, Genetic of Bacteria and Viruses

View Set