Python Essentials 119

Flashcard
•
Computers
•
9th - 12th Grade
•
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
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
While Loops

Flashcard
•
11th Grade - University
15 questions
Python - Input, Output and Variables

Flashcard
•
10th - 11th Grade
15 questions
Arduino Lesson 3: IF and IF-ELSE

Flashcard
•
9th - 12th Grade
10 questions
AP CSP Unit 3: Lessons 2-7 Vocab Flashcard

Flashcard
•
9th - 12th Grade
11 questions
Python [Basic]

Flashcard
•
KG
20 questions
FLASHCARDZI khởi động thực hành DH

Flashcard
•
10th Grade - University
7 questions
BÀI 8- CHỦ ĐỀ F-TH10

Flashcard
•
9th - 12th Grade
20 questions
e-Learning "A" Day November 25th

Flashcard
•
9th - 12th 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
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
17 questions
[AP CSP] Binary Number System

Lesson
•
9th - 12th Grade
15 questions
1.1 Network Fundamentals Quiz

Quiz
•
10th Grade
20 questions
Understanding Information Processing Cycle

Quiz
•
10th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade