
python quiz

Quiz
•
Computers
•
6th Grade
•
Easy
Darrenn Ang
Used 1+ times
FREE Resource
30 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
List items are indexed, the first item has index [1], the second item has index [2] etc.
True
False
3.
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
4.
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"]
5.
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"]
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the index of “grape” in the list
[“apple”, “grape”, “orange”, “watermelon”]?
0
1
2
3
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If the list of vegetables is defined as:
vegetables = ["Potato", "Cucumber", "Lemon", "Tomato"]
Then what is the output of the following statements?
del vegetables[2]
print(vegetables)
['Ptato', 'Cucumber', 'Tomato']
['Ptato', 'Cucumber', 'Lemon', 'Tomato']
None of these
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
ICT - HTML

Quiz
•
6th - 7th Grade
30 questions
Latihan soal Ms. Word Kelas 6

Quiz
•
6th Grade
30 questions
Year 7 ICT

Quiz
•
6th Grade
30 questions
Python

Quiz
•
6th - 8th Grade
35 questions
PLTW CSIM Lesson 1 Assessment

Quiz
•
5th - 9th Grade
28 questions
uCertify - Lesson 1 - Introduction to Word Processing Review

Quiz
•
6th - 8th Grade
30 questions
8 ci sinif ümumiləşdirici test

Quiz
•
6th Grade - University
30 questions
TIK - SD

Quiz
•
1st - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

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

Interactive video
•
6th - 10th Grade
8 questions
Time Management

Quiz
•
6th Grade
18 questions
Digital Footprint

Quiz
•
6th Grade
20 questions
typing

Quiz
•
6th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
25 questions
How to Email a Teacher- https://youtu.be/NioeNhfpVfI

Quiz
•
6th - 8th Grade
20 questions
Computer Hardware

Quiz
•
6th - 8th Grade