Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Question 1 Providing array values is called ____. Answer creating the array decl

ID: 3622368 • Letter: Q

Question

Question 1

Providing array values is called ____.
Answer
creating the array
declaring the array
accumulating the array
populating the array


Question 2

____________________ documentation includes all the manuals or other instructional materials that nontechnical people use, as well as the operating instructions that computer operators and data-entry personnel need.
Answer


Question 3

When a loop control variable is not altered during loop execution, a(n) ____ loop may result.
Answer
enlarged
infinite
broken
default


Question 4

In a structured loop, after the tasks execute within the loop, the flow of logic must return directly to the ____________________.
Answer

Question 5

The name that is best suited to a module that calculates overtime pay is ____.
Answer
calcO()

cO()

calculate overtime()

calculateOvertime()



Question 6

Based on the following assumptions, indicate whether each statement will evaluate true or false.


The assumptions: a = 10,

b = 15 and c$ = M




1. a = b AND c$ = “M”




2. (a = 10 OR b = 10) AND c$ = “M”




3. a = 10 OR (b = 15 AND c$ = “P”)










Answer
Expressions 1 and 2 are false
Expressions 1 and 3 are false
Expressions 2 and 3 are true
Expressions 1 and 3 are true


Question 7

A group of statements that execute as a single unit is called a(n) ____________________.
Answer

Question 8

The following pseudocode might be rewritten using a(n) ____ structure:

if class = "Freshman" then
tuitionFee = 75
else
if class = "Sophomore" then
tuitionFee = 50
else
if class = "Junior" then
tuitionFee = 30
else
tuitionFee = 10
endif
endif
endif

Answer
if-then-else

case

while

do while


Question 9

Adding 1 to a variable is also called _____ it.

Answer
digesting
resetting

decrementing

incrementing

Question 10

A mistake programmers make with loops is that they ____.
Answer
initialize the loop control variable prior to entering the loop body
increment the loop control variable inside of the loop body
include statements inside the loop that belong outside the loop
enclose the inner loop entirely within the outer loop in a nested loop

Question 11

In a
case
structure, the term ____ means “if none of the other cases were true.”
Answer
else
then
default
loop


Question 12

The assignment operator is ____.
Answer
equal sign (=)
asterisk (*)
colon (:)
percent (%)

Question 13

The pseudocode that produces the same result as the following is ____.

if customerAge >= 65 then
discount = 0.10
else
discount = 0
endif

Answer
if customerAge > 65 then
discount = 0.10
else
discount = 0
endif

if customerAge < 65 then
discount = 0.10
else
discount = 0
endif

if customerAge > 65 then
discount = 0
else
discount = 0.10
endif

if customerAge < 65 then
discount = 0
else
discount = 0.10
endif


Question 14

____ are diagrams used in mathematics and logic to help describe the truth of an entire expression based on the truth of its parts.
Answer
Decision matrices
Decision diagrams
Truth diagrams
Truth tables

Question 15

When you need to ask multiple questions before an outcome is determined, you must create a(n) ____ condition.
Answer
dual-alternative
nested
single-alternative
compound

Question 16

Years ago, programmers could avoid using structure by inserting a “____” statement into their pseudocode.
Answer
loop
go next
next
go to

Question 17

If you are producing a report from stored data, you frequently will be provided with a(n) ____ that describes the data contained in a file.
Answer
summary
data dictionary
input file
file description


Question 18

The symbol that represents a logical
OR
in Java, C++, and C# is ____.
Answer
%
$
||
^

Question 19

____ is another name for an array.
Answer
group
sequence
matrix
subscript

Question 20

The type of nested
if-then-else
structure that could be replaced with a
case
structure is ____.
Answer
inner nested
if
within the
if
portion of the outer
if

inner
if
within the
else
portion of the outer
if

one that uses a logical
AND

one that uses a logical
OR


Question 21

The best choice for a variable name representing an interest rate is ____.
Answer
i
ir
interest
interest rate

Question 22

Once instructions have been input to the computer and translated into machine language, a program can be ____________________.

Answer

Question 23

The computer keeps track of the correct memory address to which it should return after executing a module by recording the memory address in a location known as the ____.
Answer
flowchart
pointer
stack
set

Question 24

When you draw a flowchart, you use a parallelogram to represent a(n) ____________________, which indicates an input operation.

Answer

Question 25

Structured programs can be easily broken down into routines or ____ that can be assigned to any number of programmers.
Answer
segments
modules
units
sequences

.

Explanation / Answer

please rate - thanks

this is my best

Question 1

Providing array values is called ____.
Answer
creating the array
declaring the array
accumulating the array
populating the array


Question 2

____________________ documentation includes all the manuals or other instructional materials that nontechnical people use, as well as the operating instructions that computer operators and data-entry personnel need.
Answer                    System -different people call it different things


Question 3

When a loop control variable is not altered during loop execution, a(n) ____ loop may result.
Answer
enlarged
infinite
broken
default


Question 4

In a structured loop, after the tasks execute within the loop, the flow of logic must return directly to the ____________________.
Answer

Question 5

The name that is best suited to a module that calculates overtime pay is ____.
Answer
calcO()

cO()

calculate overtime()

calculateOvertime()



Question 6

Based on the following assumptions, indicate whether each statement will evaluate true or false.


The assumptions: a = 10,

b = 15 and c$ = M




1. a = b AND c$ = “M”              false




2. (a = 10 OR b = 10) AND c$ = “M”     true




3. a = 10 OR (b = 15 AND c$ = “P”)      true










Answer
Expressions 1 and 2 are false
Expressions 1 and 3 are false
Expressions 2 and 3 are true
Expressions 1 and 3 are true


Question 7

A group of statements that execute as a single unit is called a(n) ____________________.
Answer          structure

Question 8

The following pseudocode might be rewritten using a(n) ____ structure:

if class = "Freshman" then
tuitionFee = 75
else
if class = "Sophomore" then
tuitionFee = 50
else
if class = "Junior" then
tuitionFee = 30
else
tuitionFee = 10
endif
endif
endif

Answer
if-then-else           it already is this                answer is if -else if

case                      cannot use a string in C C++ Java which is what a case needs is

while

do while


Question 9

Adding 1 to a variable is also called _____ it.

Answer
digesting
resetting

decrementing

incrementing

Question 10

A mistake programmers make with loops is that they ____.
Answer
initialize the loop control variable prior to entering the loop body
increment the loop control variable inside of the loop body
include statements inside the loop that belong outside the loop
enclose the inner loop entirely within the outer loop in a nested loop

Question 11

In a
case
structure, the term ____ means “if none of the other cases were true.”
Answer
else
then
default
loop


Question 12

The assignment operator is ____.
Answer
equal sign (=)
asterisk (*)
colon (:)
percent (%)

Question 13

The pseudocode that produces the same result as the following is ____.

if customerAge >= 65 then
discount = 0.10
else
discount = 0
endif

Answer
if customerAge > 65 then
discount = 0.10
else
discount = 0
endif

if customerAge < 65 then
discount = 0.10
else
discount = 0
endif

if customerAge > 65 then
discount = 0
else
discount = 0.10
endif

if customerAge < 65 then
discount = 0
else
discount = 0.10
endif


Question 14

____ are diagrams used in mathematics and logic to help describe the truth of an entire expression based on the truth of its parts.
Answer
Decision matrices
Decision diagrams
Truth diagrams
Truth tables

Question 15

When you need to ask multiple questions before an outcome is determined, you must create a(n) ____ condition.
Answer
dual-alternative
nested
single-alternative
compound

Question 16

Years ago, programmers could avoid using structure by inserting a “____” statement into their pseudocode.
Answer
loop
go next
next
go to

Question 17

If you are producing a report from stored data, you frequently will be provided with a(n) ____ that describes the data contained in a file.
Answer
summary
data dictionary
input file
file description


Question 18

The symbol that represents a logical
OR
in Java, C++, and C# is ____.
Answer
%
$
||
^

Question 19

____ is another name for an array.
Answer
group
sequence
matrix                             a matrix is a 2 dimensional array
subscript

Question 20

The type of nested
if-then-else
structure that could be replaced with a
case
structure is ____.
Answer
inner nested
if
within the
if
portion of the outer
if

inner
if
within the
else
portion of the outer
if

one that uses a logical
AND

one that uses a logical
OR


Question 21

The best choice for a variable name representing an interest rate is ____.
Answer
i
ir
interest
interest rate       this is better but it has a space

Question 22

Once instructions have been input to the computer and translated into machine language, a program can be ____________________.

Answer            linked and then executed

Question 23

The computer keeps track of the correct memory address to which it should return after executing a module by recording the memory address in a location known as the ____.
Answer
flowchart
pointer
stack
set

Question 24

When you draw a flowchart, you use a parallelogram to represent a(n) ____________________, which indicates an input operation.

Answer                  a parallelogram is for input or output

Question 25

Structured programs can be easily broken down into routines or ____ that can be assigned to any number of programmers.
Answer
segments
modules
units
sequences

.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote