Python Day 4

Python Day 4

University

8 Qs

quiz-placeholder

Similar activities

A3 IIIB - Arrelgos PSeInt & Listas Python

A3 IIIB - Arrelgos PSeInt & Listas Python

10th Grade - University

10 Qs

CR1-Introducción a la Programación con Python

CR1-Introducción a la Programación con Python

University

10 Qs

Python

Python

University

9 Qs

Chapter 1 Python

Chapter 1 Python

8th Grade - University

12 Qs

Quiz 1 ACEDS Python Variable Operators and datatype

Quiz 1 ACEDS Python Variable Operators and datatype

University

10 Qs

Features of Python

Features of Python

University

10 Qs

Python-Expressions#1

Python-Expressions#1

12th Grade - University

10 Qs

Sem 2 : Chapter 1

Sem 2 : Chapter 1

University

12 Qs

Python Day 4

Python Day 4

Assessment

Quiz

Computers

University

Hard

Created by

Ninitha C

FREE Resource

AI

Enhance your content

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

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