CS-2250: Starting out with C++: Chapter 1 Quiz

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

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

Key words

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

Logical error

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

Low-level and High-level

Unix and Windows 2000 are examples of _______________ operating systems.

Multi tasking

The computer's main memory is commonly known as:

RAM

The statements written by the programmer are called

Source code

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

Variables

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

Statement

Which of the following is a preprocessor directive?

#include <iostream>

An example of a secondary storage device is:

A hard drive

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

Algorithm

This step will uncover any syntax error in the program

Compiling

The ________ decodes an instruction and generates electrical signals

Control unit

The heart of a computer is its central processing unit. The CPU's job is: A. To fetch instructions B. To carry out the operations commanded by the instructions C. To produce some outcome or resultant information D. All of the above E. None of the above

D. All of the above

The programming process consists of several steps, which include:

Design, Creation, Testing, and Debugging

The purpose of a memory address is:

To identify the location of a byte in memory

Integrated Development Environment typically consists of: a. A text editor b. A compiler c. A debugger d. All of the above e. None of the above

d. All of the above

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

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

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

Preprocessor

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


Set pelajaran terkait

Nonrecognition Transactions Chapter 13

View Set

Part 3: Text Structure in an Informational Text 80%

View Set

Management 360 - Final Study Guide (Quizzes)

View Set

ACCT Chapter 9 Plant and Intangible Assets

View Set

2nd half: Sect 2: WA Business Skills & Procedures

View Set

Interpersonal Communications Exam 3

View Set