Python

Python

9th Grade

30 Qs

quiz-placeholder

Similar activities

Google

Google

6th - 10th Grade

31 Qs

Search Algorithms

Search Algorithms

9th - 12th Grade

25 Qs

Program Development - Python: Loops

Program Development - Python: Loops

9th - 10th Grade

26 Qs

Scratch coding

Scratch coding

7th - 9th Grade

35 Qs

Sumatif Google Site

Sumatif Google Site

9th Grade

25 Qs

Adobe Illustrator Quiz Review

Adobe Illustrator Quiz Review

9th - 12th Grade

27 Qs

PENILAIAN HARIAN 2 KELAS IX TIK

PENILAIAN HARIAN 2 KELAS IX TIK

9th - 12th Grade

25 Qs

Tin 4 - Ôn tập học kỳ 2

Tin 4 - Ôn tập học kỳ 2

3rd Grade - University

30 Qs

Python

Python

Assessment

Quiz

Computers

9th Grade

Medium

Created by

Sarbagya Malla

Used 29+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?