Search Header Logo

Revision-3 Python

Authored by Deepti Ghuge

Computers

7th - 9th Grade

Used 2+ times

Revision-3 Python
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

What is an elif statement?

Allows you to check multiple expressions

Helps learn

Is a statement which is used compulsory

Is an optional statement

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these collections defines a Tuple?

["apple", "banana", "cherry"]

{"name": "apple", "color": "green"}

("apple", "banana", "cherry")

{"apple", "banana", "cherry"}

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

people = ["John", "Rob", "Bob"]

print (people[1])

what would this result be?

John
Rob
Bob

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

for x in range(1,4,1):

print ("hi")

how many times "hi" will be printed

1

2

3

4

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

x=2

while x > 3 :

print("hello ")


what is the output?

hello

23

output

error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement is used to stop a loop?

exit

break

return

stop

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you start writing an if statement in Python?

if x > y then:

if x > y:

if (x > y)

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?