Unit 1 Review: Python Basics

Unit 1 Review: Python Basics

9th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

Skill Competition Quiz 2024

Skill Competition Quiz 2024

10th Grade - University

20 Qs

Common Protocols

Common Protocols

10th - 12th Grade

15 Qs

Perakitan dan Pengujian Komputer - KJD

Perakitan dan Pengujian Komputer - KJD

10th Grade

20 Qs

Topic 4.1 Introduction to Java

Topic 4.1 Introduction to Java

12th Grade

20 Qs

SOFTWARE 7I

SOFTWARE 7I

7th Grade - University

20 Qs

N+ Chapter 5

N+ Chapter 5

12th Grade

20 Qs

Media and Information Literacy Quiz No. 1

Media and Information Literacy Quiz No. 1

12th Grade

20 Qs

Coding Karel 2

Coding Karel 2

KG - University

20 Qs

Unit 1 Review: Python Basics

Unit 1 Review: Python Basics

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Hard

Created by

Endia Spencer

Used 81+ times

FREE Resource

AI

Enhance your content in a minute

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given the following string:

h = "Hello", which code results in an error?

print (h)

print(h.lower())

h = 's'

print(h+1)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the following code?

Good Bye

Welcome

An error message

None of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the input() function return?

an integer value

a string value

a float value

all of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the value of x after the following code is run?

19

20

21

22

5.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which statements evaluate True and without errors?

"unbothered".isupper()

"Monroe High School".istitle()

5.isdigit()

"animal".islower()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement sets the variable t to a value of "Total Credits: 25"?

t = "Total Credits:" + 25

t = "Total Credits:" + str(25)

t = input("Total Credits:" + str(25))

print("Total Credits", "25")

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is "print" used for?

To input

To make strings

To display output

Non of the above

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?