AQA GCSE Computer Science - 3.2.10 Subroutines

AQA GCSE Computer Science - 3.2.10 Subroutines

8th - 10th Grade

20 Qs

quiz-placeholder

Similar activities

Introducción Redes Tele1 IB

Introducción Redes Tele1 IB

10th Grade - University

15 Qs

Pemetaan alamat melalui subneting

Pemetaan alamat melalui subneting

10th Grade

20 Qs

Coding Karel 2

Coding Karel 2

KG - University

20 Qs

POWERPOINT QUIZZ

POWERPOINT QUIZZ

10th - 12th Grade

20 Qs

Skill Competition Quiz 2024

Skill Competition Quiz 2024

10th Grade - University

20 Qs

ARQUITECTURA DE COMPUTADORAS

ARQUITECTURA DE COMPUTADORAS

10th Grade

17 Qs

Common Protocols

Common Protocols

10th - 12th Grade

15 Qs

Online Search Skills

Online Search Skills

7th - 12th Grade

16 Qs

AQA GCSE Computer Science - 3.2.10 Subroutines

AQA GCSE Computer Science - 3.2.10 Subroutines

Assessment

Quiz

Computers

8th - 10th Grade

Medium

Created by

Mr Ling-Winston

Used 170+ times

FREE Resource

AI

Enhance your content in a minute

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is a subroutine?
A named self-contained section of code that performs a specific task
Another name for pseudocode
A routine that has no connection at all to the main routine
A word used exclusively in movies to sound cool

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the difference between a function and a procedure?
Procedures just carry out instructions, functions always return values
Functions carry out instructions and procdures return values
Trick question: they are the same thing
Both always return values but in different data types

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Define a paramater
A variable named in the subroutine heading that uses values you give it
Instructions that stop functions from working if theyaren't followed by the user
Boolean logic used exclsuively in functions
An instruction that will return a value if it is followed through

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Define a local variable
A variable defined in a function
A variable declared at the beginning of the main program
A variable declared in the main program
A vaiable declared right at the end of the main program

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Define a global variable
A variable declared in the main program
A variable declared at the beginning of the main program
A variable declared in a function
A vaiable declared right at the end of the main program

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What makes a local variable special?
It can only be called in the subroutine it is declared in
The computer is unable to understand it without third-party software
Its value is unique to your LAN
Trick question: it's the same as a global variable

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is an advantage of using a local variable?
The function can be used with different variables for the same purpose
The code is harder to disrrupt
It's easier for the user to call back to it outside the function
Trick question: local variables are useless

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?

Discover more resources for Computers