42. OCR A Level (H046-H446) SLR8 – 1.2 Introduction to programmi

42. OCR A Level (H046-H446) SLR8 – 1.2 Introduction to programmi

11th Grade

15 Qs

quiz-placeholder

Similar activities

AP CSP  PT Terminology (Unit 9 - Code.org)

AP CSP PT Terminology (Unit 9 - Code.org)

11th Grade

16 Qs

CompTIA ITF 7,8

CompTIA ITF 7,8

11th Grade

14 Qs

AP Computer Science Principles Unit 4 Review

AP Computer Science Principles Unit 4 Review

9th Grade - University

15 Qs

AP CSP Boolean Logic 4

AP CSP Boolean Logic 4

9th - 12th Grade

10 Qs

Python Programming

Python Programming

11th Grade

17 Qs

Subroutines - Procedures & Functions

Subroutines - Procedures & Functions

9th - 12th Grade

20 Qs

MIT App Inventor Basics

MIT App Inventor Basics

9th - 12th Grade

10 Qs

AP CSP - Code.org Unit 3 Review

AP CSP - Code.org Unit 3 Review

9th - 12th Grade

15 Qs

42. OCR A Level (H046-H446) SLR8 – 1.2 Introduction to programmi

42. OCR A Level (H046-H446) SLR8 – 1.2 Introduction to programmi

Assessment

Quiz

Computers

11th Grade

Hard

Created by

James Cole

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a subroutine in programming?

A specific programming language

A type of error in code

A block of code with a unique identifiable name

A unique type of variable

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the two main types of subroutines covered in the video?

Loops and Conditions

Variables and Constants

Classes and Objects

Procedures and Functions

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between a procedure and a function?

A function can only be used once, but a procedure can be used multiple times

A procedure is used in Java, but a function is used in Python

A function returns a value, but a procedure does not

There is no difference

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In object-oriented programming, what are procedures and functions collectively referred to as?

Variables

Methods

Classes

Objects

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you identify a subroutine in a program?

By the use of specific keywords like 'variable' or 'constant'

By the color of the text in the code editor

By the indentation level of the code

By the use of keywords like 'procedure' or 'function' at the start

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of using subroutines in programming?

To increase the size of the program

To make the code run faster

To help break down problems into smaller, manageable parts

To make the code look more complex

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a 'procedure call' in programming?

A type of data structure

A command to stop the program

A request to access a website

A call to another procedure within 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?