Python

Python

9th Grade

30 Qs

quiz-placeholder

Similar activities

Their Python Exam

Their Python Exam

9th Grade - Professional Development

31 Qs

Introduction to Python

Introduction to Python

KG - University

25 Qs

Program Development - Python: Strings

Program Development - Python: Strings

9th - 10th Grade

25 Qs

Python (I/O to Lists) Formative Quiz

Python (I/O to Lists) Formative Quiz

9th Grade

25 Qs

python string

python string

9th - 12th Grade

27 Qs

Python set 1

Python set 1

9th - 12th Grade

26 Qs

Python Class 9

Python Class 9

9th - 10th Grade

25 Qs

Data Types- Python

Data Types- Python

7th - 11th Grade

25 Qs

Python

Python

Assessment

Quiz

Computers

9th Grade

Medium

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?