Highlands Computing: Y9 W02 Homework

Highlands Computing: Y9 W02 Homework

8th Grade

8 Qs

quiz-placeholder

Similar activities

Hour of Code

Hour of Code

6th - 12th Grade

12 Qs

Pseudocode and Logic Quiz

Pseudocode and Logic Quiz

8th Grade

10 Qs

Python L1

Python L1

8th Grade - University

14 Qs

Python Week 3 Homework - Conditional Statements

Python Week 3 Homework - Conditional Statements

8th Grade

11 Qs

Fundamentals of Programming

Fundamentals of Programming

8th - 10th Grade

10 Qs

Loops (Python)

Loops (Python)

8th Grade

12 Qs

Techie Camp at Willow Hill

Techie Camp at Willow Hill

6th - 8th Grade

12 Qs

Conditional Statements

Conditional Statements

8th Grade

9 Qs

Highlands Computing: Y9 W02 Homework

Highlands Computing: Y9 W02 Homework

Assessment

Interactive Video

Computers

8th Grade

Hard

Created by

T Herring

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary purpose of selection in algorithms?

To store data

To perform calculations

To make decisions or ask questions

To display output

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which instructions are commonly used to represent selection in algorithms?

Add and Subtract

For and While

Print and Scan

If, Then, and Else

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a part of an if-then-else statement?

Else

Then

Loop

If

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the 'if' part of an if-then statement do?

It repeats a block of code

It stores a value

It stops the algorithm

It causes one path to be followed if the condition is true

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main function of the 'then' part in an if-then statement?

To repeat a block of code

To display output

To store data

To execute a block of code if the condition is true

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which part of an if-then-else statement is executed if the condition is true?

None of the above

If

Then

Else

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens if the condition in an 'if' statement is false?

The 'else' part is executed

The condition is ignored

The algorithm stops

The 'if' part is executed again

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In what scenario would the 'else' part of an if-then-else statement be executed?

When the condition is true

When the algorithm starts

When the condition is false

When the algorithm ends