Python-03-3-Comparision&Branching

Python-03-3-Comparision&Branching

7 Qs

quiz-placeholder

Similar activities

Company makes booth for vertical napping Quiz

Company makes booth for vertical napping Quiz

KG - University

12 Qs

EQPE 7: Semicolons

EQPE 7: Semicolons

KG - University

10 Qs

Duplicate of Proto General Winter 23

Duplicate of Proto General Winter 23

KG - University

11 Qs

ECO (4.1B) Demand Pt 2 Quiz

ECO (4.1B) Demand Pt 2 Quiz

KG - University

10 Qs

Animal Groups Review

Animal Groups Review

3rd Grade

11 Qs

Vocab Quiz 11/4

Vocab Quiz 11/4

KG - University

10 Qs

Food Chains Reading Passage

Food Chains Reading Passage

KG - University

10 Qs

Python-03-3-Comparision&Branching

Python-03-3-Comparision&Branching

Assessment

Quiz

others

Hard

Created by

Chun-Jung Lin

FREE Resource

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

What is the result of the following: 1=2
True
SyntaxError:can't assign to literal
False

2.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

What is the output of the following code segment: i=6 i<5
SyntaxError: can't assign to literal
False
True

3.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

What is the result of the following: 5!=5
True
False

4.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

What is the output of the following code segment:'a'=='A'
True
False

5.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

In our example, if age=18 what would be the result.
You can enter
Move on

6.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

In our example what would be the result if we set the variable age as follows: age= -10
you can enter / move on
go see Meat Loaf / move on

7.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

What is the result of the following: True or False
False
True, an or statement is only False if all the Boolean values are False.