Introduction to Selection and If Statements in Scratch Programming

Introduction to Selection and If Statements in Scratch Programming

Assessment

Interactive Video

Other, Social Studies

KG - University

Hard

Created by

Quizizz Content

FREE Resource

This tutorial introduces the concept of selection in programming using Scratch. It explains how to use if and if-else statements to make decisions in a program. The example used is a simple program that categorizes users as 'old' or 'young' based on their age. The tutorial covers creating variables, using relational operators, and implementing decision-making logic. It concludes with running and testing the program to demonstrate how selection works in practice.

Read more

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary purpose of selection in programming?

To store data

To perform calculations

To make decisions based on conditions

To display graphics

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In programming, what does the 'if' statement allow a computer to do?

Repeat actions

Make decisions based on conditions

Display text

Store variables

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What change is made to the Scratch program in the lesson?

It asks for age instead of a number

It calculates the sum of two numbers

It asks for a name instead of a number

It displays a welcome message

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between 'if' and 'if-else' blocks in Scratch?

'If' executes one action, 'if-else' executes two actions

'If' repeats actions, 'if-else' stops actions

'If' is for graphics, 'if-else' is for sound

'If' stores data, 'if-else' displays data

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used to compare if one value is greater than another?

Not equal to

Greater than

Less than

Equal to

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the Scratch program, what age is considered 'old'?

40

25

18

30

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the program do if the age entered is more than 25?

Ends the program

Says 'You are old'

Says 'You are young'

Asks for another number

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?