
Python Basics 2

Flashcard
•
Computers
•
9th Grade
•
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
Similar Resources on Wayground
15 questions
Common Russian Phrases

Flashcard
•
9th Grade
21 questions
Java Loops

Flashcard
•
KG
18 questions
Python Basics Review

Flashcard
•
10th Grade
16 questions
French Greetings/Introductions

Flashcard
•
9th Grade
17 questions
Spanish greetings

Flashcard
•
9th Grade
15 questions
Mandarin

Flashcard
•
KG
26 questions
Topic 1 TEST review

Flashcard
•
9th Grade
21 questions
Katakana

Flashcard
•
8th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade