
Python
Authored by Sarbagya Malla
Computers
9th Grade
Used 62+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you access the first item in a list named shopping?
shopping[1]
shopping[0]
shopping[first]
shopping[-1]
2.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Which statement prints 7 (Select 2 answers)
print 7
print("7"
print("7")
print(3 + 4)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following functions is used to count the number of elements in a list ?
count( )
find( )
len( )
index( )
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The correct syntax for converting the string x to uppercase is :
upper.x()
upper(x)
x.UPPER[ ]
x.upper()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Unchangeable data stored in parentheses ( )
Containers
List
Tuple
Variable
Syntax
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
All whole numbers (both positive and negative) and zero. These numbers cannot have decimal places.
Integer
Float
Value
Error
Fraction
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
List items have an index number. In the following list, which item has the index number of 3?
["Barry", "Harry", "Jesse", "John", "Peter", "Harry"]
"Barry"
"Harry"
"Jesse"
"John"
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 Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?