Chapter One Quiz Questions

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

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

Punctuation

The computer's main memory is commonly known as:

RAM

This is a volatile type of memory, used for temporary storage.

RAM

Even when there is no power to the computer, data can be held in:

Secondary storage

In programming, the terms "line" and "statement" always mean the same thing.

False

Machine language is an example of s higher-level language.

False

Pseudo code is a form of program statement that will always evaluate to "false"

False

The preprocessor executes after the compiler.

False

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

Fetch

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

Fetch instructions, carry out operations commanded by the instructions, produce some outcome or resultant information.

A -blank- is a set of instructions that the computer follows to solve a problem.

Program

Computer programs are also known as:

Software

The statements written by the programmer are called:

Source code

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

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

This is a complete instruction that causes the computer to perform some action.

Statement

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

Syntax

An Integrated Development Environment typically consists of:

Text editor, compiler, and debugger.

Internally, the CPU consists of two parts:

The control unit and the arithmetic and logic unit

What does the term Hardware refer to?

The physical components that a computer is made of.

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

Variable

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

Variables

What is a preprocessor directive?

#include <iostream>

What best describes an operator?

An operator allows you to perform operations on one or more pieces of data.

This term refers to the programmer reading the program from the beginning and stepping through the statement.

Desk Checking

An example of a secondary storage device is:

A hard disk

The programmer usually enters source code into a computer using:

A text editor

What statement best describes a variable and its primary purpose?

A variable is a named storage location in the computer's memory used for holding a piece of information.

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

Algorithm

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

Preprocessor

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

Compilers

This step will uncover any syntax errors in your program.

Compiling

The -blank- decodes an instruction and generates electrical signals.

Control Unit

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?

Decode

The programming process consists of several steps, which include:

Design, creation, testing, and debugging.

Three primary activities of a program are:

Input, processing, and output

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

Key words

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

Logic errors

In a broad sense, the two primary categories of programming languages are:

Low-level and high-level

Unix and Windows 2000 are examples of -blank- operating systems.

Multi-tasking

Characters or symbols that perform operations on one or more operands are:

Operators

A variable declaration announces the name of a variable that will be used in a program, as well as:

The type of data it will be used to hold.

The purpose of a memory address is:

To identify the location of a byte in memory.

A CPU really only understands instructions that are written in machine language.

True

In C++, key words are written in all lowercase letters.

True

Software engineering is a field that encompasses designing, writing, testing, debugging, documenting, modifying, and maintaining computer programs.

True


Set pelajaran terkait

Alta- Ch. 3 Probability Topics Pt. 2

View Set

Introduction, Working with data (dplyr), Visualizing data (ggplot), describing the data with numbers

View Set

Preparing Injections from an Ampule

View Set

Les plans de recherche expérimentaux

View Set

Biology Chapters 29 and 30 - Quiz 8

View Set

Drug Education: Block 2, Chapter 7: Explaining Drug Use

View Set

Medical Terminology - Nursing Orientation (Score: 55/60)

View Set