Chaper 2 input output and processing Flashcards
A__ error does not prevent the program from running, but causes it to produce incorrect results.
a. syntax
b. hardware
c. logic
d. fatal
logic
A______ is a single function that the program must perform in order to satisfy the customer.
a. task
b. software requirement
c. prerequisite
d. predicate
software requirement
A___ is a set of well-defined logical steps that must be taken to perform a task
a. logarithm
b. plan of action
c. logic schedule
d. algorithm
algorithm
an informal language that has no syntax rules, and is not meant to be complied or executed is called
a. faux code
b. pseudocode
c. Java
d. a flow chart
pseudocode
A________ is a diagram that graphically depicts the steps that thake place in a program.
a. flowchart
b. step chart
c. code graph
d. program graph
flow chart
A ____ is a set of statements that execute in the order that they appear.
a. serial program
b. sorted code
c. sequence structure
d. ordered structure
sequence structure
A__ is a sequence of characters that is used as data
a. sequence structure
b. character collection
c. string
d. text block
string
a_______ is a storage location in memory that is represented by a name
a. variable
b. register
c. RAM slot
d. byte
variable
a_____ is any hypothetical person that is using a program and providing input for it
a. designer
b. user
c. guinea pig
d. test subject
user
a__ is a message that tells or asks the user to enter a specific value.
a. inquiry
b. input statement
c. directive
d. prompt
prompt
a\_\_\_ sets a variable to a specific value variable declaration assignment statement math expression sting literal
assignment statement
In the expression 12 + 7, the values on the right and left of the + symbol are called operands operators arguments math expression
operands
A\_\_\_\_\_ operator raises a number to a power modulus multiplication exponent operand
exponent
a\_\_\_\_ operation performs division but instead of retuning the quotient it returns the remainder modulus multiplication exponent operand
modulus
A \_\_\_\_ specifies a variables name and data type assignment variable specification variable certification variable declaration
variable declaration
Assigning a value to a variable in a declaration statement is call allocation initialization certification programming style
initialization
A \_\_\_\_\_\_ variable is one that has been declared but has not been initialized or assigned a value undefined uninitialized empty default
uninitialized
A\_\_ is a variable whose content has a value that is read only and cannot be changed during the programs execution static variable initialized variable named constant locked variable
named constant
A debugging process in which you imagine that your are the computer executing a programming is called imaginative computing role playing mental simulation hand tracing
hand tracing
Short notes placed n different parts of a program explaining how those parts of the program work are called comments reference manuals tutorials external documentation
comments