
Year 8 Python HW1
Authored by Becky Webb
Information Technology (IT)
7th Grade
20 Questions
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct way to print "Hello, World!" in Python?
print("Hello, World!")
Print("Hello, World!")
print Hello, World!
echo "Hello, World!"
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will happen if you forget to close a string with quotation marks in a print statement?
The code will run but print nothing.
Python will show a syntax error.
The computer will shut down.
It will print the quotation mark.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a syntax error in Python?
print("Hello")
print("Hello'
print(123)
print("123")
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct file extension for saving a Python programme?
.txt
.exe
.py
.doc
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Rohan is learning Python and wants to store his age, name, and height in a program. Which of these is a basic data type in Python that he can use?
integer
string
float
All of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following code print? ```python print(5 + 3) ```
53
8
5 + 3
Error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of this code? ```python print("Red", "Blue", "Green") ```
RedBlueGreen
Red, Blue, Green
Red Blue Green
"Red", "Blue", "Green"
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
Kira-JH U1/L1
Quiz
•
6th - 8th Grade
20 questions
Computer Science I Quiz
Quiz
•
7th Grade
20 questions
Math G7 Chapter 3 Mastering Significant Figures and Estimation
Quiz
•
7th Grade - University
18 questions
Intro to ICT
Quiz
•
6th - 8th Grade
15 questions
Quiz Pemrograman Kelas 7
Quiz
•
7th Grade
20 questions
Grade 8 CAIE Computing: Operating Systems Quiz
Quiz
•
7th Grade
20 questions
Post-test Algorithm
Quiz
•
7th Grade
20 questions
Informatika dan Keterampilan Generik SMP Kelas 7
Quiz
•
7th 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
Discover more resources for Information Technology (IT)
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
12 questions
Hallway & Bathroom Expectations
Lesson
•
6th - 8th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
15 questions
Christmas Movie Trivia
Quiz
•
7th Grade
15 questions
Christmas Song Emoji Pictionary
Quiz
•
7th - 12th Grade
20 questions
Christmas Movies
Quiz
•
1st - 12th Grade
10 questions
Exploring Christmas Traditions Through Cartoons
Interactive video
•
6th - 10th Grade