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
17 questions
India Sports
Flashcard
•
8th - 12th Grade
15 questions
PART 2-PA First Semester Review-December 2024
Flashcard
•
8th Grade - University
20 questions
Unit 3. What the Future Holds
Flashcard
•
9th - 12th Grade
12 questions
Trennbare Verben
Flashcard
•
KG
14 questions
Understanding Te Tiriti o Waitangi
Flashcard
•
9th Grade - University
15 questions
Unit II Test Review Bio A (Ch. 3-5)
Flashcard
•
9th - 11th Grade
15 questions
Wishes and regrets
Flashcard
•
8th - 12th Grade
10 questions
Printing Press
Flashcard
•
9th - 12th 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