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
What is a correct syntax to output "Hello World" in Python?
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 Wayground
17 questions
Python Review

Quiz
•
7th - 8th Grade
21 questions
PowerPoint Review

Quiz
•
6th - 8th Grade
16 questions
Loops

Quiz
•
5th - 12th Grade
20 questions
StVirgils Code Combat quiz

Quiz
•
8th Grade
20 questions
Scratch

Quiz
•
5th - 9th Grade
16 questions
Iteration Recap

Quiz
•
8th - 9th Grade
15 questions
Phyton 101

Quiz
•
6th - 8th Grade
15 questions
Speed Typing Test with Coding Vocabulary

Quiz
•
3rd - 8th 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
9/11 Experience and Reflections

Interactive video
•
10th - 12th 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
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
20 questions
Copyright and Fair Use

Quiz
•
6th - 8th Grade
15 questions
Computer Components Video

Interactive video
•
8th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade