Jack Travis
Quiz by , created more than 1 year ago

Quiz on Untitled, created by Jack Travis on 05/05/2016.

12
0
0
No tags specified
Jack Travis
Created by Jack Travis over 8 years ago
Close

Untitled

Question 1 of 6

1

Procedures can only return a single value.

Select one of the following:

  • True
  • False

Explanation

Question 2 of 6

1

Which of these performs a single task?

Select one of the following:

  • Functions

  • Procedures

  • Both

  • Neither

Explanation

Question 3 of 6

1

Fill the blank spaces to complete the text.

Functions and procedures are blocks of code, and use values as for tasks.

Explanation

Question 4 of 6

1

Which type of variable do functions and procedures use to perform tasks?

Select one of the following:

  • Local

  • Global

  • Both

Explanation

Question 5 of 6

1

Passing by reference changes the value of the variable being used in a procedure/function.

Select one of the following:

  • True
  • False

Explanation

Question 6 of 6

1

Stepwise refinement involves:

Select one or more of the following:

  • Breaking a problem into a few, large parts...

  • ...until each task can be written as a single function/procedure

  • Breaking a problem into progressively smaller tasks...

  • ...until each task is mildly complex

Explanation