Python List and If/Elif

Quiz
•
Computers, Mathematics, Education, Instructional Technology
•
7th Grade
•
Medium
Used 3+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which brackets are used to create Lists?
()
{}
[]
Answer explanation
Lists are created using square brackets and have commas separating the different data values.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Spot the error in this program:
friends = Alice", "Bob","Liz"]
friends =
"Bob",
"Liz"]
Alice"
Answer explanation
friends = ["Alice", "Bob","Liz"]
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a Variable
Takes and input from a user.
Represents a particular value held in the memory.
Displays the results.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is String in Python?
Decimal numbers.
Whole numbers only
A sequence of characters. they can be letters, numbers, symbols, punctuation marks or spaces.
T/F
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Is this the correct code for a list?
register = {"Sam", "Pheobe", Georgia", Richard"}
Yes
No
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
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
HTML BASICS

Quiz
•
7th - 12th Grade
25 questions
Math Trivia

Quiz
•
7th Grade
26 questions
Code.org: Unit 2 Lesson 1-13 Test

Quiz
•
6th - 8th Grade
25 questions
ICT Web Design Review 23

Quiz
•
6th - 8th Grade
26 questions
4th Quarter Robotics Final Test Review Game

Quiz
•
6th - 8th Grade
30 questions
Python Test 1

Quiz
•
6th - 8th Grade
29 questions
Python Y10

Quiz
•
4th - 12th Grade
25 questions
ICT - HTML

Quiz
•
6th - 7th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Hallway & Bathroom Expectations

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

Interactive video
•
6th - 10th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
24 questions
Flinn Lab Safety Quiz

Quiz
•
5th - 8th Grade
22 questions
Figurative Language

Quiz
•
7th Grade
10 questions
Essential Lab Safety Practices

Interactive video
•
6th - 10th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade