
Python Basics 2
Flashcard
•
Computers
•
9th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

25 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is the purpose of a variable in Python?
Back
To store data
2.
FLASHCARD QUESTION
Front
Which code correctly shows making a variable and setting it equal to a string? Options: string_1 = "hello", string 1 = "hello", string_1 == "hello", string_1 = hello
Back
string_1 = "hello"
3.
FLASHCARD QUESTION
Front
What is the correct way to make a Python program show text on the screen? Options: display("Hello"), "Hello", print("Hello"), show("Hello")
Back
print("Hello")
4.
FLASHCARD QUESTION
Front
What function is used to show text on the screen and let the user enter some text?
Back
input()
5.
FLASHCARD QUESTION
Front
What is the purpose of the if statement in Python?
Back
To make decisions in the code
6.
FLASHCARD QUESTION
Front
Which of the following is the correct way to concatenate (combine) two strings in Python?
Options: "Hello" .concat("World"), "Hello" add "World", "Hello" && "World", "Hello" + "World"
Back
"Hello" + "World"
7.
FLASHCARD QUESTION
Front
What type of data does the input() function return (create)?
Back
A string
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
Present vs past participle
Flashcard
•
KG
20 questions
Basic Geometry Concepts
Flashcard
•
8th Grade
20 questions
Photosynthesis and Chlorophyll
Flashcard
•
10th Grade
15 questions
Hardware&Software
Flashcard
•
10th Grade
15 questions
Network Protocols Flashcard
Flashcard
•
10th Grade
20 questions
Grade 9 Modals
Flashcard
•
9th Grade
19 questions
Articles the/a/an/-
Flashcard
•
8th - 9th Grade
25 questions
CHAPTER RECAP_Circulatory and Respiratory System
Flashcard
•
9th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade