Chaper 2 input output and processing Flashcards

1
Q

A__ error does not prevent the program from running, but causes it to produce incorrect results.

a. syntax
b. hardware
c. logic
d. fatal

A

logic

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

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

A

software requirement

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

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

A

algorithm

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

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

A

pseudocode

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

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

A

flow chart

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

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

A

sequence structure

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

A__ is a sequence of characters that is used as data

a. sequence structure
b. character collection
c. string
d. text block

A

string

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

a_______ is a storage location in memory that is represented by a name

a. variable
b. register
c. RAM slot
d. byte

A

variable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

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

A

user

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

a__ is a message that tells or asks the user to enter a specific value.

a. inquiry
b. input statement
c. directive
d. prompt

A

prompt

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q
a\_\_\_ sets a variable  to a specific value
variable declaration
assignment statement
math expression 
sting literal
A

assignment statement

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q
In the expression 12 + 7, the values on the right and left of the + symbol are called
operands
operators
arguments
math expression
A

operands

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q
A\_\_\_\_\_ operator raises a number to a power
modulus
multiplication 
exponent
operand
A

exponent

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q
a\_\_\_\_ operation performs division but instead of retuning the quotient it returns the remainder
modulus
multiplication
exponent
operand
A

modulus

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q
A \_\_\_\_ specifies a variables name and data type
assignment
variable specification 
variable certification 
variable declaration
A

variable declaration

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q
Assigning a value to a variable in a declaration statement is call 
allocation 
initialization 
certification 
programming style
A

initialization

17
Q
A \_\_\_\_\_\_ variable is one that has been declared but has not been initialized or assigned a value
undefined
uninitialized 
empty
default
A

uninitialized

18
Q
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
A

named constant

19
Q
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
A

hand tracing

20
Q
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
A

comments