Python Essentials 119
Flashcard
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

19 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which of the following is the correct way to print the phrase "Hello, World!" in Python? Options: print "Hello, World!", echo "Hello, World!", printf("Hello, World!"), print("Hello, World!")
Back
print("Hello, World!")
2.
FLASHCARD QUESTION
Front
What symbol is used to start a comment in Python?
Back
#
3.
FLASHCARD QUESTION
Front
Which of the following is a text-based programming language? Scratch, Python, Photoshop, Excel
Back
Python
4.
FLASHCARD QUESTION
Front
What is the output of the following code snippet?
```python
print("Python" + " " + "Rocks!")
```
Back
Python Rocks!
5.
FLASHCARD QUESTION
Front
What is the correct file extension for Python files?
Back
.py
6.
FLASHCARD QUESTION
Front
Which of the following is true about the print() function in Python? It can only print strings., It sends output to the console., It is used to read input from the user., It cannot print variables.
Back
It sends output to the console.
7.
FLASHCARD QUESTION
Front
What will be the output of the following code?
```python
# This is a comment
print("Comments are fun") # This is an inline comment
```
Back
Comments are fun
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
14 questions
Negative Exponents
Flashcard
•
8th Grade - University
10 questions
Purpose Clauses
Flashcard
•
10th - 11th Grade
15 questions
The Genre of Science Fiction
Flashcard
•
11th - 12th Grade
13 questions
[AP CSP] Binary Conversion
Flashcard
•
9th - 12th Grade
15 questions
Plant Structure and Function Review
Flashcard
•
9th - 12th Grade
9 questions
Parts of a Computer
Flashcard
•
9th - 12th Grade
15 questions
English to Arabic Clothing Vocabulary
Flashcard
•
9th Grade - University
14 questions
2025 S3/4 CCKS Nutrients
Flashcard
•
8th Grade - University
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