Search Header Logo

AQA 8525 GCSE CS 3.2.10 Subroutines & 3.2.11 Robust & Secure

Authored by Stephen Birtles

Computers

10th - 11th Grade

Used 30+ times

AQA 8525 GCSE CS 3.2.10 Subroutines & 3.2.11 Robust & Secure
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

50 questions

Show all answers

1.

FILL IN THE BLANKS QUESTION

1 min • 1 pt

A subroutine is a block of code that can be executed by (a)   it from the program?

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

When a subroutine has finished executing its code...

the program will continue with the next line of programming code after the line that goes to the subroutine

the program will end even if there are more lines of code after the subroutine was used

the program will return to the start regardless of wherever it reached when the subroutine was referenced

the program will run any remaining subroutines, ignoring any other code remaining in the program

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

procedures and functions are both types of...

subroutines

selection

iteration

sequence

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Compared to functions, Procedures do not return a...

value

variable

virus

valuation

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Functions always return a...

value

vector

version

valuation

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Here is a procedure, what does it do?

Displays a company's name and address on the screen

Saves a company's name and address in a file

Returns a company's name and address as a value to the program

Slices a company's name and address

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

In this simple function, what will be returned if the user enters a=24, b=8

16

3

32

192

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?