Search Header Logo

Sub-Programs Quiz

Authored by Demi Oni

Computers

8th Grade

Used 1+ times

Sub-Programs Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the two main types of sub-programs?

Procedures and Functions

Procedures and Variables

Variables and Loops

Functions and Loops

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which type of sub-program carries out a task and returns a value?

Procedure

Loop

Function

Variable

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the advantage of using sub-programs in a program?

Makes the code harder to read

Creates reusable program components

Increases the complexity of the program

Reduces the need for testing

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of structuring code into sub-programs?

Makes the code easier to read and debug

Makes the code harder to read

Reduces the need for testing

Increases the complexity of the program

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which symbol in flowcharts indicates the need to start executing another flowchart?

Arrow

Circle

Diamond

Rectangle

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the syntax for defining a function in the OCR Exam Reference Language?

function

define

def

func

7.

OPEN ENDED QUESTION

3 mins • 1 pt

What is the syntax for calling a function in the OCR Exam Reference Language?

Evaluate responses using AI:

OFF

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?