Sub-Programs Quiz

Sub-Programs Quiz

8th Grade

15 Qs

quiz-placeholder

Similar activities

Coding Vocabulary

Coding Vocabulary

7th - 8th Grade

19 Qs

AQA GCSE Computer Science - 3.2.11 Structured programming

AQA GCSE Computer Science - 3.2.11 Structured programming

8th - 10th Grade

20 Qs

Hour of Code

Hour of Code

6th - 12th Grade

12 Qs

Types of Software

Types of Software

4th - 12th Grade

15 Qs

Programming - Sequence in an Algorithm

Programming - Sequence in an Algorithm

3rd - 12th Grade

10 Qs

Network Threats

Network Threats

6th - 9th Grade

19 Qs

Computer Hardware - RAM & ROM Differences

Computer Hardware - RAM & ROM Differences

4th - 12th Grade

10 Qs

Y8 Hwk 4: Subroutines

Y8 Hwk 4: Subroutines

8th Grade

11 Qs

Sub-Programs Quiz

Sub-Programs Quiz

Assessment

Quiz

Computers

8th Grade

Hard

Created by

Demi Oni

Used 1+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?