Year 8 Python EOT 3 test
Quiz
•
Computers
•
8th Grade
•
Practice Problem
•
Hard
Shamim Fatima
Used 2+ times
FREE Resource
Enhance your content in a minute
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is a correct syntax to output "Hello World" in Python?
write (Hello World)
Print('Hello World')
print "Hello World"
print('Hello World')
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the syntax error in the following code?
print('Hello)
Missing parentheses
Missing closing quote
Incorrect indentation
Missing colon
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is a string in Python?
A number
A sequence of characters
A boolean value
A function
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
How would you fix the following code to use a single quote inside the string?
print('I'm using a single quote!')
Use double quotes around the string
Remove the single quote
Use a backslash before the single quote
Use triple quotes around the string
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the name of the variable in the following code?
greeting='Hello!'
name
Hello
greeting
variable
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which one is NOT a legal variable name?
flavour
flavour_choice
flavour!!
flavour123
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Why is xyz not a good variable name?
It is too short and not descriptive
It contains invalid characters
It starts with a number
It is a reserved word in Python
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
20 questions
икт 21-40
Quiz
•
1st Grade - University
20 questions
SOFTWARE 7I
Quiz
•
7th Grade - University
17 questions
Grade 4 Computer Science Quiz
Quiz
•
4th Grade - University
19 questions
HTML Concepts and Terms Review Game
Quiz
•
6th - 8th Grade
17 questions
Networks Lesson 2 - Recap and Review
Quiz
•
6th - 8th Grade
18 questions
Publisher Basics
Quiz
•
7th - 10th Grade
20 questions
CS-9 Chapter-2 Types of Computer Part1: Rabin Ghimire
Quiz
•
8th - 9th Grade
14 questions
Adobe Premiere Pro :>>
Quiz
•
8th Grade
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
