
Unit 1 Review: Python Basics

Flashcard
•
Computers
•
9th - 12th Grade
•
Hard
Wayground Content
FREE Resource
Student preview

18 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Given the following string: h = "Hello", which code results in an error? Options: print (h), print(h.lower()), h = 's', print(h+1)
Back
print(h+1)
2.
FLASHCARD QUESTION
Front
What is the output of the following code?
Back
An error message
3.
FLASHCARD QUESTION
Front
What does the input() function return? Options: an integer value, a string value, a float value, all of the above
Back
a string value
4.
FLASHCARD QUESTION
Front
What is the value of x after the following code is run?
Back
22
5.
FLASHCARD QUESTION
Front
Which statement sets the variable t to a value of "Total Credits: 25"? Options: t = "Total Credits:" + 25, t = "Total Credits:" + str(25), t = input("Total Credits:" + str(25)), print("Total Credits", "25")
Back
t = "Total Credits:" + str(25)
6.
FLASHCARD QUESTION
Front
What is "print" used for?
Back
To display output
7.
FLASHCARD QUESTION
Front
What is the output of the following code?
print("He said, \"I'm coming to school tomorrow.\"")
Back
He said, "I'm coming to school tomorrow."
Create a free account and access millions of resources
Similar Resources on Wayground
13 questions
AP CSP Unit 7: Parameters, Returns, and Libraries

Flashcard
•
9th - 12th Grade
15 questions
Getting Started with Python

Flashcard
•
11th Grade
16 questions
For and While Loops in Python

Flashcard
•
9th - 12th Grade
18 questions
Python Basics Review

Flashcard
•
10th Grade
15 questions
Python

Flashcard
•
9th - 12th Grade
12 questions
AP CSP Loops Practice

Flashcard
•
9th - 12th Grade
13 questions
Unit 5 Flashcard AP CSP

Flashcard
•
9th - 12th Grade
15 questions
Нысаналы мектеп информатика 3-аралық тест

Flashcard
•
KG - University
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
20 questions
Lab Safety and Equipment

Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix

Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Introduction to Desktop Computer Systems

Quiz
•
9th - 12th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Computer Hardware and Input/Output Devices

Interactive video
•
6th - 10th Grade