Python3

Python3

4th Grade - University

10 Qs

quiz-placeholder

Similar activities

K5_ÔN TẬP HỌC KÌ 1

K5_ÔN TẬP HỌC KÌ 1

5th Grade

15 Qs

Bai Tap Bai 18 Tin hoc 10

Bai Tap Bai 18 Tin hoc 10

10th Grade

10 Qs

Tin học 7

Tin học 7

7th Grade

15 Qs

CSS background, border

CSS background, border

11th Grade

10 Qs

สอบเก็บคะแนน ไพทอน ม.4

สอบเก็บคะแนน ไพทอน ม.4

9th - 12th Grade

10 Qs

Bài 6_Lớp 11_Tại lớp

Bài 6_Lớp 11_Tại lớp

12th Grade

10 Qs

conditional constructs in Java

conditional constructs in Java

10th Grade

10 Qs

Internet

Internet

7th - 10th Grade

10 Qs

Python3

Python3

Assessment

Quiz

Computers

4th Grade - University

Practice Problem

Easy

Created by

Opuere Falabi

Used 26+ 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

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"

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?