Search Header Logo

WJEC Computer Science KO - Algorithms 1

Authored by ICT Pentrehafod

Computers

11th Grade

Used 7+ times

WJEC Computer Science KO - Algorithms 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an algorithm?

A) A complex mathematical equation

B) A set of instructions in programming to solve a given problem

C) A type of computer hardware

D) A programming language

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an example of pseudo code for declaring a subroutine?

A) if counter = 1

B) Declare CapitalLetterOfName

C) myvariable is integer

D) output "Please enter a number."

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of indentation in pseudo code?

A) To define a new data type

B) To declare a variable

C) To make the structure of the code clear

D) To perform an assignment operation

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a data type listed in the specification?

A) boolean

B) float

C) string

D) integer

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of a selection statement in an algorithm?

A) To repeat a set of instructions

B) To perform an assignment to a variable

C) To decide between different options based on a condition

D) To declare a subroutine

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct syntax for a repetition structure in pseudo code that repeats until a certain condition is met?

A) for ... next i

B) if ... else

C) repeat ... until

D) set counter = 0

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a rogue value in the context of loops?

A) A value that increments the counter

B) A value that starts the loop

C) A value that falls outside the range of possible values for the data being processed

D) A value that is used to define a variable

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?