11.2 Constructs Cambridge iAS 9618

11.2 Constructs Cambridge iAS 9618

11th Grade

20 Qs

quiz-placeholder

Similar activities

Apple Swift Playgrounds: Learn to Code 1 Vocabulary (Lessons 0 - 6)

Apple Swift Playgrounds: Learn to Code 1 Vocabulary (Lessons 0 - 6)

9th - 12th Grade

20 Qs

Basic elements of computer programming

Basic elements of computer programming

9th - 12th Grade

15 Qs

Quiz 120.3A - Algorithm flowcharts

Quiz 120.3A - Algorithm flowcharts

11th Grade

15 Qs

Pseudocode and Flowcharts

Pseudocode and Flowcharts

9th - 12th Grade

21 Qs

iGCSE Computer Science: Problem Solving

iGCSE Computer Science: Problem Solving

9th - 12th Grade

20 Qs

Subroutines

Subroutines

9th - 11th Grade

16 Qs

PCS - Scratch

PCS - Scratch

6th Grade - University

20 Qs

Quiz 120.4A - Control structures in pseudocode

Quiz 120.4A - Control structures in pseudocode

11th Grade

15 Qs

11.2 Constructs Cambridge iAS 9618

11.2 Constructs Cambridge iAS 9618

Assessment

Quiz

Computers

11th Grade

Easy

Created by

Stephen Ling-Winston

Used 1+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the IF statement in pseudocode?

It allows decision-making in the program by executing a block of code if a condition is true.

It always executes a block of code regardless of a condition.

It repeats a block of code for a fixed number of times.

It assigns a value to a variable based on a condition.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid structure for an IF statement with an ELSE clause in pseudocode?

IF X > 10 THEN OUTPUT "Greater" ELSE OUTPUT "Smaller"

IF X > 10 OUTPUT "Greater" ELSE "Smaller"

IF X > 10 OUTPUT "Greater" ELSE OUTPUT "Smaller"

IF X > 10 OUTPUT "Greater" ELSE

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a nested IF statement in pseudocode?

An IF statement inside another IF statement.

A loop inside an IF statement.

An IF statement followed by a CASE structure.

An IF statement with no ELSE clause.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the function of a CASE structure in pseudocode?

It provides a way to choose between multiple alternatives based on a variable's value.

It loops through a list of values.

It checks conditions and executes a block of code repeatedly.

It defines a conditional check for data validation.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a correct CASE structure in pseudocode?

CASE X OF 1: OUTPUT "One", 2: OUTPUT "Two", 3: OUTPUT "Three"

CASE X OF 1 OUTPUT "One" 2 OUTPUT "Two" 3 OUTPUT "Three"

CASE 1 OUTPUT "One" 2 OUTPUT "Two" 3 OUTPUT "Three"

CASE X: 1 OUTPUT "One", 2 OUTPUT "Two", 3 OUTPUT "Three"

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a count-controlled loop in pseudocode?

A loop that repeats a set number of times based on a counter.

A loop that repeats until a condition is met.

A loop that runs indefinitely.

A loop that runs a fixed number of times until a condition changes.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which pseudocode structure is used for a count-controlled loop?

FOR X = 1 TO 10 DO OUTPUT X

WHILE X 10 DO OUTPUT X

IF X > 10 THEN OUTPUT "Greater"

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?