GCSE J277 - 2.2.3 - Functions & Procedures

GCSE J277 - 2.2.3 - Functions & Procedures

7th Grade

20 Qs

quiz-placeholder

Similar activities

TIK SMP 14 April 2020

TIK SMP 14 April 2020

7th Grade

15 Qs

kiểm tra 15p tin 8 ki 2

kiểm tra 15p tin 8 ki 2

6th - 8th Grade

21 Qs

TIN 9 BÀI 1,2

TIN 9 BÀI 1,2

1st - 12th Grade

15 Qs

Evaluacion Final periodo 1 DE 2019 Informatica grados 7

Evaluacion Final periodo 1 DE 2019 Informatica grados 7

7th Grade

20 Qs

DPS Jorhat - Robotics Skill Assessment

DPS Jorhat - Robotics Skill Assessment

6th - 8th Grade

20 Qs

Informatyka

Informatyka

1st - 8th Grade

18 Qs

Hardware y Software 7°

Hardware y Software 7°

7th Grade

15 Qs

la internet

la internet

3rd - 11th Grade

20 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 63+ 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

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

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?