Search Header Logo

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

Authored by James Cole

Computers

11th Grade

Used 2+ times

40. 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 computer program?

A series of statements or instructions executed sequentially

A social media platform

A collection of music files

A physical component of a computer

Answer explanation

A computer program is a series of statements or instructions executed sequentially, making the correct choice the one that defines it accurately.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What pattern do most programs follow?

They generate output without any input

They follow a random pattern of execution

They accept input, process data, and then produce output

They only process data without accepting input

Answer explanation

Most programs follow the pattern of accepting input, processing data, and then producing output.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the three broad programming constructs?

Sequence, Selection, and Iteration

Addition, Subtraction, and Division

Input, Output, and Processing

HTML, CSS, and JavaScript

Answer explanation

The three broad programming constructs are Sequence, Selection, and Iteration. These concepts are fundamental in programming to control the flow of execution.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the sequence construct mean?

Skipping certain instructions

Executing instructions based on a condition

Repeating a block of code multiple times

Executing one instruction after another in order

Answer explanation

The sequence construct means executing one instruction after another in order.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the first typical selection construct you learn about?

If statement

For loop

While loop

Do until loop

Answer explanation

The first typical selection construct you learn about is the If statement, which allows you to make decisions based on conditions.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of loop is a for loop?

Condition-controlled loop

Selection-controlled loop

Sequence-controlled loop

Counter-controlled loop

Answer explanation

A for loop is a counter-controlled loop where the loop iterates a specific number of times based on a counter variable.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a while loop known as?

Selection-controlled loop

Counter-controlled loop

Sequence-controlled loop

Condition-controlled loop

Answer explanation

A while loop is known as a condition-controlled loop because it continues to execute as long as the specified condition is true.

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?