Search Header Logo
If, If Else & Relational Operators

If, If Else & Relational Operators

Assessment

Presentation

Computers

9th - 10th Grade

Medium

Created by

Calum Gordon

Used 45+ times

FREE Resource

9 Slides • 15 Questions

1

If, If Else & Relational Operators

Using selection statements in code and flowcharts

media

2

media

3

media

4

Multiple Select

What are you going to learn to do in this lesson?

1

Use relational operators

2

Use flowchart decision symbol

3

Use if/if else constructs

4

Use repeat/while for looping

5

media

6

Fill in the Blank

The order in which program statements are executed is called________

7

Fill in the Blank

When a program can choose between two or more possible sequences of statements this is called __________

8

media

9

Multiple Choice

Inequality operator for 'greater than' ?

1

<

2

>

3

<>

4

>=

10

Fill in the Blank

Inequality operator for 'less than or equal to' ?

11

Multiple Choice

Meaning of >= operator?

1

Greater than or equal to

2

Less than or equal to

3

Greater than

4

Equal to

12

Multiple Choice

Meaning of != operator?

1

Greater than or equal to

2

Assignment

3

Not equal to

4

Equal to

13

Multiple Choice

a = 3

b = (a == 4)

print(a, b)

What is the output?

1

3 False

2

a b

3

3 True

4

4 4

14

media

15

media

16

Multiple Choice

Flowchart symbol for a decision?

1
2
3
4

17

media

18

Multiple Choice

Question image

Which is the correct flowchart for this code?

1
2
3
4

19

Multiple Choice

Question image

Which Python code corresponds to this flowchart?

1
2
3
4

20

media

21

Open Ended

Write down all the relational (equality) operators in Python...

22

Open Ended

Create your own if ... else ... construct in Python ...

23

Multiple Select

After this lesson I am now able to ....

1

Use if / if else constructs

2

Make flowcharts with decisions

3

Use relational operators in conditions

24

Poll

How much of this lesson have you understood?

None of it

Some of it

Most of it

All of it

If, If Else & Relational Operators

Using selection statements in code and flowcharts

media

Show answer

Auto Play

Slide 1 / 24

SLIDE