Python-03-3-Comparision&Branching

Python-03-3-Comparision&Branching

7 Qs

quiz-placeholder

Similar activities

Slavery in the Colonies

Slavery in the Colonies

KG - University

10 Qs

Unit 5: Cells

Unit 5: Cells

6th Grade

12 Qs

BIOLOGY- Syllabus & Lab Safety Quiz

BIOLOGY- Syllabus & Lab Safety Quiz

KG - University

10 Qs

Kitchen and Food Safety Pre-Assessment

Kitchen and Food Safety Pre-Assessment

6th - 8th Grade

11 Qs

Mesopotamia Religion Review

Mesopotamia Religion Review

KG - University

10 Qs

1 Our Universe Quiz

1 Our Universe Quiz

6th Grade

12 Qs

Executive Branch Quiz

Executive Branch Quiz

KG - University

10 Qs

SQA HFT Dietary Reference Values (DRVs)

SQA HFT Dietary Reference Values (DRVs)

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.