Python Day 4

Python Day 4

University

8 Qs

quiz-placeholder

Similar activities

Techno India University Python Quiz Contest

Techno India University Python Quiz Contest

University

10 Qs

Python

Python

University

9 Qs

Chapter 1 Python

Chapter 1 Python

8th Grade - University

12 Qs

Python

Python

8th Grade - Professional Development

10 Qs

python String and comment

python String and comment

3rd Grade - University

13 Qs

Python-quiz2

Python-quiz2

University - Professional Development

11 Qs

Python Quiz 1

Python Quiz 1

University

10 Qs

oop_r2

oop_r2

University

11 Qs

Python Day 4

Python Day 4

Assessment

Quiz

Computers

University

Hard

Created by

Ninitha C

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To test whether one number is greater than or equal to another, you would use the ​------- conditional operator.
>=
<=
>
<

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid Python assignment statement?
x = 3
x := 3
x == 3
x <- 3

3.

FILL IN THE BLANK QUESTION

45 sec • 1 pt

Media Image

Find output of this code- (Type with proper casing)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The result of this program: Friday = False if Friday: print "Jeans day!" else: print "Uniform day"
Jeans day
Today is Friday
Uniform day
Not Friday

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image
What is the output?
Level 3 Level 1
Level 3
Level 3 Level 1 Nil
Level 3 Level 2 Level 1 Nil

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The ‘else’ statement is optional in Python
True
False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the following comparison operator “!=” represent in Python programming?
Equal to
Assignment
Allocation
Not equal to.

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output?

Less than 5

Lies in the range 5 and 10

Out of range

Error