ccs1410 chapter one

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

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

T

The CPU is the most important component in a computer because without it, the computer could not run software.

T

When a programmer saves to a file the statements he or she writes to create a program, these statements are

source 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

The two parts of the CPU are

the Control Unit and the Arithmetic and Logic Unit

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

the preprocessor

A variable definition defines 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 programmer usually enters source code into a computer with

a text editor

An Integrated Development Environment (IDE) typically consists of

a text editor a compiler a debugger All of the above

The __________ decodes an instruction and generates an electronic signal.

Control Unit

What does the term hardware refer to?

The physical components that make up a computer

The first step in writing a program is to

clearly define what the program is to do

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?

decode

The programming process consists of several steps, which include:

design, creation, testing, debugging

The term that refers to the programmer reading the program from the beginning and stepping through each statement is

desk checking

A computer monitor is a type of

input device

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

operators

The purpose of a memory address is:

to identify the location of a byte in memory

A named storage location in the computer's memory that holds a piece of information is a(n):

variable

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

F

Machine language is an example of a high-level language.

F

Programs are often referred to as hardware.

F

Pseudocode is a form of a program statement that will always evaluate to "false."

F

The preprocessor executes after the compiler.

F

A CPU only understands machine language instructions.

T

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

T

Three primary activities of a program are:

input, processing, output

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:

logic errors

Which of the following best describes an operator?

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

A volatile type of memory that is used for temporary storage is

RAM

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.

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

compilers

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

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

algorithm

Which step uncovers any syntax errors in your program?

compiling

The CPU's control unit retrieves the next instruction in a sequence of program instructions from main memory in the __________ stage.

fetch

A model often used when creating a program that begins with the overall task and refines it into smaller subtasks is a(n)

hierarchy chart

A computer stores a program while it is running

in main memory

Which of the following is not a common input device?

printer

The two methods used by C++ to write computer programs are:

procedural programming and object-oriented programming

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

program

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

punctuation

Programs are normally stored in __________ and loaded into main memory as needed.

secondary storage

Computer programs are also known as

software


Kaugnay na mga set ng pag-aaral

Share the Promise! Identifying Brand Promise

View Set

Constitutional Convention Review

View Set

Research: Chapter 10 Supplemental Questions

View Set

1 Typography Quiz 1 : Chapter 1 & 2

View Set

Unit 1: Introducing the Science of Psychology

View Set