Python3

Python3

4th Grade - University

10 Qs

quiz-placeholder

Similar activities

Fun Demo Quiz

Fun Demo Quiz

9th - 12th Grade

10 Qs

циклы в Python

циклы в Python

10th Grade

14 Qs

loops in python

loops in python

6th - 8th Grade

15 Qs

Section 3A: Collect and process data using lists

Section 3A: Collect and process data using lists

12th Grade

15 Qs

Variables & Lists

Variables & Lists

6th Grade

13 Qs

Python Quiz Ver- 1.3

Python Quiz Ver- 1.3

University

15 Qs

LO13_Python Lesson 2

LO13_Python Lesson 2

10th Grade

15 Qs

Python

Python

7th Grade

10 Qs

Python3

Python3

Assessment

Quiz

Computers

4th Grade - University

Easy

Created by

Opuere Falabi

Used 26+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the result of the code below

x, y, z = "Orange", "Banana", "Cherry"

print(x)

"Orange", "Banana", "Cherry"

"Banana", 

"Banana", "Cherry"

"Orange"

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

x = y = z = "Mango"

print(x)

print(x)

"Mango"

banana

orange

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the code below?

fruits = ["apple", "banana", "cherry"]

x, y, z = fruits

print(z)

"apple"

 "cherry"

banana

None

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The Python print statement is often used to output variables.

True

False

None

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Run the code below

x = "awesome"

print("Python is " + x)

"Python awesome is "

"awesome is "

"Python

Python is awesome

None

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

x = "Python is "

y = "awesome"

z = x + y

What code will you write to bring out the result of z

print(z)

print(x)

print(y)

print(yz)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

x = "awesome"

def myfunc():   

print("Python is " + x)

myfunc()

"Python is

"Python is awesome"

"Python is banana"

"Python is apple"

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?