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

Question 6 A variable’s _____ indicates which portions of a program can use the

ID: 3780905 • Letter: Q

Question

Question 6

A variable’s _____ indicates which portions of a program can use the variable.
      
lifetime
      
range
      
scope
      
span

------------------------------------------
Question 7

Each memory location listed in the parameter list in the function header is referred to as _____.
      
an actual argument
      
an actual parameter
      
a formal argument
      
a formal parameter

------------------------------------------

Question 8

The function header specifies _____.
      
the data type of the function’s return value
      
the name of the function
      
the function’s formal parameters
      
all of the above

------------------------------------------
Question 9

A function whose header is double calcShipping() is an example of a _____ function.
      
value-returning
      
void

Explanation / Answer

6)

A variable’s _____ indicates which portions of a program can use the variable.

Ans: lifetime

7)

Each memory location listed in the parameter list in the function header is referred to as _____.

Ans: an actual argument

8)

The function header specifies _____.

Ans: the name of the function

9)

A function whose header is double calcShipping() is an example of a _____ function.

Ans: value-returning

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