What is a correct syntax to output "Hello World" in Python?
Python Quiz

Quiz
•
Computers
•
8th Grade
•
Medium
MARYA AMEEN
Used 73+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Print("Hello World")
P "Hello World"
p ("Hello World")
Print["Hello World"]
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lists are used to store single item in a single variable.
True
False
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
List items are indexed, the first item has index [1], the second item has index [2] etc.
True
False
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If you add new items to a list, the new items will be placed at the end of the list.
True
False
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is the correct code for creating a list of names?
nameList = John, Harry, Jesse, John, Harry, Harry
nameList = ("John", "Harry", "Jesse", "John", "Harry", "Harry")
nameList = ["John", "Harry", "Jesse", "John", "Harry", "Harry"]
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these pieces of code would return the name "Harry" from the following list?
nameList = ["John", "Harry", "Jesse", "John", "Harry", "Harry"]
nameList()
nameList[1]
nameList["4"]
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the index of “grape” in the list
[“apple”, “grape”, “orange”, “watermelon”]?
0
1
2
3
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Programming Vocabulary

Quiz
•
6th - 8th Grade
15 questions
Python Quiz

Quiz
•
8th Grade
20 questions
Python list, if

Quiz
•
6th - 12th Grade
20 questions
AQA GCSE Computer Science - 3.2.2 Programming Concepts

Quiz
•
8th - 10th Grade
17 questions
CS Express

Quiz
•
6th - 8th Grade
20 questions
Python Next Steps Homework Quiz

Quiz
•
8th - 10th Grade
19 questions
AQA GCSE Computer Science - 3.1.1 Representing Algorithms

Quiz
•
8th - 10th Grade
21 questions
Loops, Lists & If Statements - Codesters

Quiz
•
6th - 8th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
15 questions
Volume Prisms, Cylinders, Cones & Spheres

Quiz
•
8th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
25 questions
Argumentative Writing & Informational Text Vocabulary Review

Quiz
•
8th Grade
18 questions
Informational Text Vocabulary

Quiz
•
7th - 8th Grade