Python

Quiz
•
Computers
•
9th Grade
•
Medium
Sarbagya Malla
Used 26+ times
FREE Resource
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"
Create a free account and access millions of resources
Similar Resources on Wayground
33 questions
Programming Q3 Test Review Game Questions

Quiz
•
9th Grade
25 questions
Python Test

Quiz
•
9th - 12th Grade
26 questions
Python set 1

Quiz
•
9th - 12th Grade
25 questions
Тема: Массивы 9 класс информатика 3 четверть

Quiz
•
9th Grade
25 questions
Data Types- Python

Quiz
•
7th - 11th Grade
25 questions
資訊科技第二章 從Scratch到Python測驗

Quiz
•
9th Grade
25 questions
CSP Python Review

Quiz
•
9th - 12th Grade
30 questions
Python Basics

Quiz
•
8th - 10th Grade
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade