PYTHON PROGRAMMING - FINAL EXAM REVIEW

PYTHON PROGRAMMING - FINAL EXAM REVIEW

9th - 12th Grade

46 Qs

quiz-placeholder

Similar activities

Pemrograman Dasar

Pemrograman Dasar

10th - 12th Grade

50 Qs

Data Communication and Network

Data Communication and Network

11th Grade - University

50 Qs

Tin 10_cấu trúc rẽ nhánh IF

Tin 10_cấu trúc rẽ nhánh IF

10th Grade

48 Qs

USBN TIK KELAS 9A-9C

USBN TIK KELAS 9A-9C

9th Grade - University

50 Qs

LATIHAN PAT INFORMATIKA KELAS X

LATIHAN PAT INFORMATIKA KELAS X

9th - 12th Grade

50 Qs

6. SINIF 2022 2. DÖNEM 1. SINAV ÇALIŞMA SORULARI

6. SINIF 2022 2. DÖNEM 1. SINAV ÇALIŞMA SORULARI

5th - 10th Grade

44 Qs

SUMATIF TENGAH SEMESTER (STS) GANJIL

SUMATIF TENGAH SEMESTER (STS) GANJIL

10th Grade

50 Qs

US INFORMATIKA SEMUA JURUSAN 2025

US INFORMATIKA SEMUA JURUSAN 2025

12th Grade

50 Qs

PYTHON PROGRAMMING - FINAL EXAM REVIEW

PYTHON PROGRAMMING - FINAL EXAM REVIEW

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Hard

Created by

Richard Whitehead

Used 288+ times

FREE Resource

AI

Enhance your content in a minute

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

46 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

1. What does type(3.55) return?

str

int

float

All of these

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

1. How do you know if you have written your code correctly and there are no errors?

Print your code

Debug your code

View your code

Reset your code

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

1. Which contains only integers? (ignore the commas)

3, 2, 1, *, +, =, -

Q, W, E, R, T, Y, a, s, d, f

-2, -1, -0.5, 0, 0.5, 1, 2

1, 2, 0, -3, 2, -5

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The input() function in Python returns user input as a string.

True

False

I'm not interested in guessing

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

name = "skye homsi"

name1 = name.title()

name2 = name1.swapcase()

print(name2)


What is the output from the above code?

"skye homsi"

"sKYE hOMSI"

"Skye Homsi"

"SKYE HOMSI"

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

1.name = input("enter your name")

2. print(name, "your score is", score)

3. score = 199

Order the above numbered code lines into the proper sequence:

3,1,2

1,2,3

1,3,2

3,2,1

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

vehicleType = "Truck"

if vehicleType.upper().startswith("P"):

print(vehicleType, 'starts with "P"')

else:

print(vehicleType, 'does not start with "P"')

What is the output from running the above code?

“False”

"True"

"Truck does not start with "P""

Truck starts with "P""

Create a free account and access millions of resources

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?