Python-03-3-Comparision&Branching

Python-03-3-Comparision&Branching

7 Qs

quiz-placeholder

Similar activities

Ünlüler

Ünlüler

12th Grade

10 Qs

Nature & Environment

Nature & Environment

KG - University

12 Qs

Quick Functional Maths Questions

Quick Functional Maths Questions

KG - University

10 Qs

Romeo & Juliet Act 4 Scene 1 Questions

Romeo & Juliet Act 4 Scene 1 Questions

9th - 12th Grade

10 Qs

Python-03-3-Comparision&Branching

Python-03-3-Comparision&Branching

Assessment

Quiz

others

Practice Problem

Hard

Created by

Chun-Jung Lin

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?