CS 302 Chapter 2 MC
A(n) ___ is a set of well defined logical steps that must be taken to perform a task.
algorithm
A(n) _____ sets a variable to a specified value.
assignment statement
Short notes placed in different parts of a program explaining how those parts of the program work are called __________.
comments
A(n) ____ operator raised a number to a power.
exponent
A ____ is a diagram that graphically depicts the steps that take place in a program.
flowchart
A debugging process in which you imagine that you are the computer executing a program is called:
hand tracing
Assigning a value to a variable in a declaration statement is called:
initialization
A(n) ____ is a message that tells or asks the user to enter a specific value.
input statement
A(n) _____ operator performs division, but instead of returning the quotient it returns the remainder.
modulus
A(n) ___ is a variable whose content has a value that is read only and cannot be changed during the program's execution.
named constant
In the expression, 12 + 7, the values on the right and left are called ____.
operands
An informal language that has no syntax rules, and is not meant to be compiled or executed is called __________.
pseudocode
A(n) ____ is a set of statements that execute in the order that they appear.
sequence structure
A ____ is a single function that the program must perform in order to satisfy the customer.
software requirement
A ____ is a sequence of characters used as data.
string
A ___ error does not prevent the program from running, but causes it to produce incorrect results.
syntax
A(n) _____ variable is one that has been declared but has not been initialized or assigned a value.
uninitialized
A _____ is any hypothetical person that is using a program and providing input for it.
user
A ____ is a storage location in memory that is represented by a name.
variable
A(n) ____ specifies a variable's name and data type.
variable declaration