CS 150 Chapter 2

Ace your homework & exams now with Quizwiz!

simple

A data type is called ____________________ if the variable or named constant of that type can store only one value at a time.

subprogram or sub program or sub-program or function or modlue

A(n) ____________________ is a collection of statements, and when it is activated, or executed, it accomplishes something.

variable

A(n) ____________________ is a memory location whose contents can be changed.

string

A(n) ____________________ is a sequence of zero or more characters.

sum = 15

Suppose that sum and num are int variables and sum = 5 and num = 10. After the statement sum += num executes, ____.

implicit

When a value of one data type is automatically changed to another data type, a(n) ____________________ type coercion is said to have occurred.

Comments or comments

____________________ can be used to identify the authors of the program, give the date when the program is written or modified, give a brief explanation of the program, and explain the meaning of key statements in a program.

Predefined or predefined or Standard or standard

____________________ functions are those that have already been written and are provided as part of the system.

Programming or programming

____________________ is the process of planning and creating a program.

Semantic or semantic

____________________ rules determine the meaning of instructions.

token

The smallest individual unit of a program written in any language is called a(n) ____________________.

named constant or constant

In C++, you can use a(n) ____________________ to instruct a program to mark those memory locations in which data is fixed throughout program execution.

whitespaces or whitespace or white spaces or white space

In a C++ program, ____________________ are used to separate special symbols, reserved words, and identifiers.

alpha = 50

Suppose that alpha and beta are int variables and alpha = 5 and beta = 10. After the statement alpha *= beta; executes, ____.

enumeration

The ____________________ type is C++ 's method for allowing programmers to create their own simple data types.

precision

The maximum number of significant digits is called the ____________________.

long long

The memory space for a(n) ____________________ data value is 64 bytes.


Related study sets

Antigens, Humoral Immunity, Antibodies, and Cellular Immunity

View Set

Chapter 6- Managing Social Responsibility and Ethics

View Set

Quiz 5 study guide - Gas Exchange

View Set

Baylor University: ECO 2306 Final Vocabulary Study

View Set

Chapter 6 Implementing Identity and Access Management Controls

View Set

7) Functionalist - Role and Function of Religion

View Set