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

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

11th Grade

15 Qs

quiz-placeholder

Similar activities

Iteration

Iteration

11th Grade

20 Qs

Computer Science

Computer Science

9th - 12th Grade

18 Qs

Y7 End Point Python Homework

Y7 End Point Python Homework

8th - 11th Grade

20 Qs

Python - Loops & Lists

Python - Loops & Lists

7th - 11th Grade

15 Qs

1.1.5 CSE Iteration and Loops

1.1.5 CSE Iteration and Loops

9th - 12th Grade

14 Qs

Pseudocode

Pseudocode

KG - University

20 Qs

Functions in Python

Functions in Python

9th - 12th Grade

16 Qs

Unit 5 Quiz - Loops & Lists (code.org)

Unit 5 Quiz - Loops & Lists (code.org)

10th - 12th Grade

20 Qs

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

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

Assessment

Quiz

Computers

11th Grade

Easy

Created by

James Cole

Used 1+ times

FREE Resource

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.

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?