Search Header Logo

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

Authored by James Cole

Computers

11th Grade

Used 1+ times

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

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

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?