
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
Create a free account and access millions of resources
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
15 questions
Amplify Earth Moon Sun Chapter 1
Flashcard
•
8th Grade
26 questions
Day 1
Flashcard
•
KG
20 questions
Data Analysis in Research
Flashcard
•
9th Grade
17 questions
LESSON 8-Treasury Operations
Flashcard
•
KG
17 questions
Uji Kemampuan Vocabulary Kelas 9
Flashcard
•
9th Grade
18 questions
Grade 9 SS - CH 3 Charter of Rights & Freedoms
Flashcard
•
9th Grade
18 questions
Grade 9 SS - CH 3 Charter of Rights & Freedoms
Flashcard
•
9th Grade
20 questions
Ionic Naming and Formula Writing
Flashcard
•
10th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade