
Unit 1 Review: Python Basics

Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Endia Spencer
Used 76+ times
FREE Resource
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
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
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
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
PYTHON PROGRAMMING

Quiz
•
11th - 12th Grade
20 questions
Python Programming Quiz

Quiz
•
9th Grade - University
25 questions
AQA GCSE Programming

Quiz
•
10th Grade
19 questions
Python Year 9 Quiz

Quiz
•
8th - 10th Grade
15 questions
Selection Quiz 2

Quiz
•
12th Grade
15 questions
Python programming language Quiz - Week 9

Quiz
•
9th Grade
16 questions
C-Programming Basics

Quiz
•
12th Grade
22 questions
Sequence, Selection and Iteration

Quiz
•
11th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
40 questions
LSHS Student Handbook Review: Pages 7-9

Quiz
•
11th Grade
24 questions
Scientific method and variables review

Quiz
•
9th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
19 questions
Mental Health Vocabulary Pre-test

Quiz
•
9th Grade