Menu

Sub Programs - Quiz

1. What is meant by a sub program?

A variable that receives a value passed to a sub program
A sub program that does not return a value
A sub program that returns a value to the caller
A named block of code that carries out one task

2. Which term describes a sub program that carries out a task but does not return a value?

Function
Parameter
Procedure
Return value

Log in or sign-up to access the quiz



Don't have a login?

You can still revise this topic