GCSE J277 - 2.2.3 - Functions & Procedures

GCSE J277 - 2.2.3 - Functions & Procedures

7th Grade

20 Qs

quiz-placeholder

Similar activities

GCSE J277 - Sub-Programs Keyword Quiz

GCSE J277 - Sub-Programs Keyword Quiz

7th Grade

19 Qs

Flowchart Symbols

Flowchart Symbols

5th - 8th Grade

20 Qs

1.2.3 - Introduction to programming

1.2.3 - Introduction to programming

3rd - 9th Grade

15 Qs

GCSE J277 - Programming Fundamentals Keyword Quiz

GCSE J277 - Programming Fundamentals Keyword Quiz

7th Grade

25 Qs

Computational Thinking Vocabulary

Computational Thinking Vocabulary

6th - 8th Grade

20 Qs

Programming Words

Programming Words

5th - 7th Grade

18 Qs

Computer Coding Words

Computer Coding Words

5th - 7th Grade

18 Qs

Python - Loops & Lists

Python - Loops & Lists

7th - 11th Grade

15 Qs

GCSE J277 - 2.2.3 - Functions & Procedures

GCSE J277 - 2.2.3 - Functions & Procedures

Assessment

Quiz

Computers

7th Grade

Medium

Created by

Paul Greenwood

Used 61+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a function in programming?
A reusable block of code that performs a specific task
The order in which statements are executed
A statement that prints text to the screen
None of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a procedure in programming?
A reusable block of code that performs a specific task
The order in which statements are executed
A statement that prints text to the screen
None of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main difference between a function and a procedure?
Procedures return a value, while functions do not
Functions return a value, while procedures do not
They both return values and sometimes don't
There is no difference between a function and a procedure

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a parameter in a function or procedure?
A statement that prints text to the screen
A variable initialised when a function is called
A value passed when the function or procedure is called
None of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a return statement in a function?
A loop that repeats a set number of times
A conditional statement that executes a block of code
A value being kept in the function
A value being returned to the main program

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a local variable in a function or procedure?
Variable that's only accessible in the function or procedure
A variable accessible anywhere in the program

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a global variable
Variable that's only accessible in the function or procedure
A variable accessible anywhere in the program

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?