Python Quiz

Python Quiz

8th Grade

5 Qs

quiz-placeholder

Similar activities

Python Programming Quiz

Python Programming Quiz

8th Grade

10 Qs

Basic Python Programming_Class VIII

Basic Python Programming_Class VIII

8th Grade

10 Qs

Python Class first Quiz

Python Class first Quiz

8th Grade

10 Qs

Python Easy

Python Easy

6th - 12th Grade

9 Qs

Python Basics

Python Basics

6th Grade - University

10 Qs

 Инф 8 сынып үй тапсырма

Инф 8 сынып үй тапсырма

8th Grade

9 Qs

SLR 8 - Basic Programming Concepts - Part Two

SLR 8 - Basic Programming Concepts - Part Two

8th Grade

10 Qs

Python - Printing, Variables and Syntax

Python - Printing, Variables and Syntax

8th Grade

10 Qs

Python Quiz

Python Quiz

Assessment

Quiz

Computers

8th Grade

Hard

Created by

Bincy Koshy

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a decision making statement?

if statement

if else statement

if elif statement

for statement

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Predict the correct output: x=3 if x>2 or x<5 and x==6: print("ok") else: print("no output")

ok

no output

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Predict the correct output:

x,y=2,4

if(x ==y):

print("x and y are equal")

elif(x>y):

print("x is bigger than y")

else:

print("y is bigger than x")

x and y are equal

x is bigger than y

y is bigger than x

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many conditions in if elif statements can be executed?

only 1

two

more than 2

less than 2

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output for the following python code:

if 4+5==10:

        print(“True”)

else:

        print("False”)

print(True”)

       False

True

True

True

False

Error