Python-03-1-Comparision&Branching

Python-03-1-Comparision&Branching

7 Qs

quiz-placeholder

Similar activities

Renaissance & Reformation Quiz Review

Renaissance & Reformation Quiz Review

9th Grade

10 Qs

ODF-JULY6TH

ODF-JULY6TH

KG - University

12 Qs

Muscular Introduction Check for                   Understanding

Muscular Introduction Check for Understanding

KG - University

10 Qs

SQA HFT Dietary Reference Values (DRVs)

SQA HFT Dietary Reference Values (DRVs)

KG - University

10 Qs

Social Class

Social Class

KG - University

10 Qs

Leonardo da Vinci

Leonardo da Vinci

KG - University

10 Qs

Pop Quiz Textbook Unit 1

Pop Quiz Textbook Unit 1

KG - University

12 Qs

Review-Topic 7 Lesson 2

Review-Topic 7 Lesson 2

KG - University

9 Qs

Python-03-1-Comparision&Branching

Python-03-1-Comparision&Branching

Assessment

Quiz

others

Easy

Created by

Chun-Jung Lin

Used 1+ times

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.