
OJP Python Day 2
Authored by Remy Francis
Computers
12th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a List in Python?
A collection of items, ordered and changeable.
A collection of key-value pairs.
An unchangeable collection of items.
A programming function.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create a List in Python?
Using curly braces {}
Using parentheses ()
Using square brackets []
Using the keyword 'list'
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you access the first item in a list named 'fruits'?
fruits[1]
fruits[0]
fruits.first()
fruits[1st]
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does aliasing in Lists refer to?
Renaming the list.
Accessing list items by index.
Creating a reference to the same list.
Sorting the list items.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is used to add an item to a list?
add()
append()
insert()
push()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a Tuple in Python?
A mutable collection of items.
A collection of key-value pairs.
An immutable collection of items.
A type of Python function.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create a Tuple in Python?
Using square brackets []
Using parentheses ()
Using curly braces {}
Using the keyword 'tuple'
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?