Functions

Functions

10th Grade

8 Qs

quiz-placeholder

Similar activities

Revision Gr2-2025

Revision Gr2-2025

3rd Grade - University

12 Qs

Cyber Security

Cyber Security

1st - 10th Grade

10 Qs

Google Aptitude Test

Google Aptitude Test

KG - University

10 Qs

 Unit 4 Advanced AP CSP

Unit 4 Advanced AP CSP

9th - 12th Grade

10 Qs

Spreadsheet Starter

Spreadsheet Starter

7th Grade - University

12 Qs

social engineering

social engineering

1st Grade - Professional Development

10 Qs

Engineering Journals and Proof of Concept Prototype

Engineering Journals and Proof of Concept Prototype

9th - 12th Grade

8 Qs

Computer Applications Q3

Computer Applications Q3

10th Grade

10 Qs

Functions

Functions

Assessment

Quiz

Computers

10th Grade

Practice Problem

Medium

Created by

M Dwedari

Used 13+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A .................... is a named block of code that is used to perform a task and will return one or more values (called the 'return value’).

A ................. can be called by another part of the program but does not return a value.

Procedure, Function

Argument, Parameter

Function, Procedure

Paramete, Argument

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which one of the following statements describes an advantage of subroutines?

Subroutines are always defined by the user, and these cannot be combined.

When creating very large programs, you can give different programmers different subroutines to write, and these can then be combined.

Procedures allow values to be returned to the procedure call.

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Parameter is ......

The variable that information is passed to in a function

The data that is passed to a function

Data is sent back to be used by the main program after a function has been run.

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Argument is ......

The variable that information is passed to in a function

The data that is passed to a function

Data is sent back to be used by the main program after a function has been run.

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

In structured programming:

Each subroutine should have a clear interface. The data that the subroutine needs to manipulate or use should be specified as parameters which can be accepted by value or by reference.

True

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

In structured programming:

Each procedural program will have a main subroutine.

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

In structured programming:

If the subroutine returns something, a single return statement at the end of the subroutine should be used.

True

False

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?