
Year 8 Python HW1
Quiz
•
Information Technology (IT)
•
7th Grade
•
Hard
Becky Webb
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
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"
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
Advanced Drone Regulations Quiz
Quiz
•
5th Grade - University
20 questions
YEAR 7 MID-TERM ASSESSMENT
Quiz
•
7th Grade - University
20 questions
Chapter 21Income Statement IGCSE Exam Questions
Quiz
•
6th - 8th Grade
20 questions
informatika 7 tes
Quiz
•
7th Grade
15 questions
ICT G7 Chapter 2.2 Direct Data Entry Devices
Quiz
•
7th Grade - University
20 questions
MS Word Processing Software Quiz
Quiz
•
7th Grade
20 questions
Latihan Soal Sistem Komputer
Quiz
•
7th Grade
20 questions
Canva Quiz
Quiz
•
7th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
6 questions
FOREST Self-Discipline
Lesson
•
1st - 5th Grade
7 questions
Veteran's Day
Interactive video
•
3rd Grade
20 questions
Weekly Prefix check #2
Quiz
•
4th - 7th Grade
Discover more resources for Information Technology (IT)
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
20 questions
Weekly Prefix check #2
Quiz
•
4th - 7th Grade
20 questions
Photosynthesis and Cellular Respiration
Quiz
•
7th Grade
11 questions
y=mx+b
Quiz
•
7th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
7th Grade
10 questions
Exploring the Origins of Veterans Day
Interactive video
•
6th - 10th Grade
