Chapter 11 Computer science AS LEVEL

Chapter 11 Computer science AS LEVEL

11th Grade

10 Qs

quiz-placeholder

Similar activities

Pre-Test - Week 1 (OAM)

Pre-Test - Week 1 (OAM)

11th Grade

10 Qs

Leaders of The World

Leaders of The World

KG - University

10 Qs

Empowerment Technologies (Lesson 1-2))

Empowerment Technologies (Lesson 1-2))

11th Grade

10 Qs

Analisa Peluang Usaha

Analisa Peluang Usaha

11th Grade

15 Qs

Beyblade Burst Quiz

Beyblade Burst Quiz

KG - University

6 Qs

Chapter 5 Automatic and Manual Transmission

Chapter 5 Automatic and Manual Transmission

10th - 12th Grade

10 Qs

Introduction to Construction & The Built Environment

Introduction to Construction & The Built Environment

11th Grade

10 Qs

Videojuegos

Videojuegos

2nd Grade - Professional Development

11 Qs

Chapter 11 Computer science AS LEVEL

Chapter 11 Computer science AS LEVEL

Assessment

Quiz

Other

11th Grade

Practice Problem

Easy

Created by

bryan bryan

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of a loop in programming?

To execute a block of code once

To stop the execution of a program

To repeat a block of code multiple times

To store multiple values

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In pseudocode, indentation is optional and has no impact on the logic.

True
False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following pseudocode

x ← 5

y ← 2

OUTPUT x MOD y

1

2

4

3.5

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you open a file for reading in pseudocode?

data = OPENFILE("data.txt", "READ")

OPENFILE "data.txt" FOR READ

FILE data = READ "data.txt"

OPEN "data.txt" AS READ

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the pseudocode output?

num ← 4

IF num > 2 AND num < 6 THEN

    OUTPUT "Valid"

ELSE

    OUTPUT "Invalid"

ENDIF

Valid

Error

Invalid

4

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens in a REPEAT UNTIL loop?

The loop only runs if the condition is true

The loop works like a FOR loop

The loop never runs

The loop runs at least once before checking the condition

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of a PROCEDURE in pseudocode?

It is used for loops

It replaces a variable

It performs a task but does not return a value

nothing

Create a free account and access millions of resources

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?