Python - Operators and Conditional Statement

Python - Operators and Conditional Statement

3rd - 10th Grade

10 Qs

quiz-placeholder

Similar activities

Java: repetition control structure for & while

Java: repetition control structure for & while

10th - 12th Grade

10 Qs

PowerPoint Quiz 2

PowerPoint Quiz 2

9th Grade

13 Qs

ข้อมูลและการประมวลผลข้อมูล

ข้อมูลและการประมวลผลข้อมูล

7th Grade

15 Qs

CSS9_Q3M2L1_QUIZ3

CSS9_Q3M2L1_QUIZ3

9th Grade

10 Qs

WJEC GCSE ICT Unit 1 E-Mail

WJEC GCSE ICT Unit 1 E-Mail

9th - 10th Grade

13 Qs

Scratch

Scratch

KG - Professional Development

10 Qs

CD 3 PHẦN MỆ SOẠN THẢO VĂN BẢN

CD 3 PHẦN MỆ SOẠN THẢO VĂN BẢN

1st - 7th Grade

12 Qs

Introduction to cloud Computing.

Introduction to cloud Computing.

1st - 3rd Grade

10 Qs

Python - Operators and Conditional Statement

Python - Operators and Conditional Statement

Assessment

Quiz

Computers

3rd - 10th Grade

Practice Problem

Hard

Created by

Aditya Sharma

Used 29+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the given expression find out the operator :

x - y

Arithmetic Operators

Bitwise Operators

Assignment Operators

Logical Operators

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

what will be the output of the given code:

x = 400

if (X % 2 == 0):

print(" You are a good Programmer")

else :

print("You are Pro Level Programmer")

You are a good Programmer

You are Pro Level Programmer

Nothing will be Printed

Error Message

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To assign a value to a variable which operator is used ?

x = 5

Arithmetic

Logical

Assignment

Equality

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Find out the output of the given code :

a = 20

b = 15

c = 15.0

if( b == c ):

print("Equal")

else :

print("Not Equal")

Equal

Not Equal

Error

Nothing Will be printed

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Find out the output of the given code :

x = 20

y = 15

if (x != y):

print("False")

else :

print("True")

True

False

Error

Nothing Will be Printed

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Find Out the output of the given code :

a = 5

b = 3

if ( a > 4 and b > 2):

print(" Good Morning! ")

else :

print(" Good Evening!")

Error

Nothing will be printed

Good Evening!

Good Morning!

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

which type of data is this :

Odd = [ 1, 3, 5, 7, 9]

Int

Set

List

Tuple

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?