Python

Quiz
•
Computers
•
9th Grade
•
Medium
Sarbagya Malla
Used 29+ 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
31 questions
Python Course Selection

Quiz
•
7th - 11th Grade
25 questions
Level 3 - Python Quiz 1

Quiz
•
9th - 12th Grade
25 questions
Algoritm and programming A

Quiz
•
9th Grade
25 questions
1st Period Feb 22, 2024 - Virtual AP CompSci AP

Quiz
•
9th - 12th Grade
27 questions
Python List

Quiz
•
9th - 10th Grade
25 questions
Diagnostic Test for Information Technology (C3)

Quiz
•
9th - 12th Grade
28 questions
Python / Hangman project

Quiz
•
9th Grade
30 questions
Assessment Term 2.2 - Y9 U4 Python Search algorithms

Quiz
•
7th - 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
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade