
AHMAD L2

Quiz
•
Computers
•
12th Grade
•
Hard
Ahmad Abdallah
FREE Resource
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a List in Python?
A type of variable
A function
A single value
A collection of items
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create a List in Python?
Using parentheses
Using square brackets
Using curly braces
Using angle brackets
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function is used to find the length of a List?
count()
len()
length()
size()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function returns the largest element in a List?
top()
max()
largest()
biggest()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of list1.count(10) if list1 = [10, 'Dog', 5.2, 10, True]?
3
2
1
0
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of list1.reverse() if list1 = [1, 2, 3]?
[1, 3, 2]
[2, 1, 3]
[1, 2, 3]
[3, 2, 1]
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a valid data type for a List element?
Integer
String
Function
Boolean
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function removes a specific element from a List?
pop()
discard()
remove()
delete()
9.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the min() function in a List?
Returns the largest element
Returns the smallest element
Returns the sum of elements
Returns the average of elements
Similar Resources on Wayground
10 questions
JSPS Competition Hackathon - HTML Language Grade 4 & 5

Quiz
•
4th Grade - University
10 questions
Python lists and tuples

Quiz
•
12th Grade
8 questions
J277 - 2.2 - Use of Arrays up to 2D

Quiz
•
10th Grade - University
10 questions
12 CS 6-10 One Mark

Quiz
•
12th Grade
10 questions
7.5 Standard Methods of Solution Cambridge IGCSE 0478

Quiz
•
10th Grade - University
14 questions
Python Quiz-Code sample

Quiz
•
9th - 12th Grade
12 questions
JavaScript Practices #5

Quiz
•
12th Grade
10 questions
Technical Terms - Internet (A-Z) - Navigation Bar

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

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade