Python 12 Sat

Python 12 Sat

12th Grade

20 Qs

quiz-placeholder

Similar activities

IT (data, viruses and more)

IT (data, viruses and more)

8th Grade - Professional Development

20 Qs

Visual C# Quiz - Chapter 5: Loops, Files, and Random Numbers

Visual C# Quiz - Chapter 5: Loops, Files, and Random Numbers

12th Grade

15 Qs

ICT WEBINAR QUIZ

ICT WEBINAR QUIZ

KG - Professional Development

20 Qs

Revision for grade12- week 1 &2

Revision for grade12- week 1 &2

12th Grade

15 Qs

Gardner Quad Squad

Gardner Quad Squad

1st Grade - University

15 Qs

PPG 25 Feb 2022

PPG 25 Feb 2022

12th Grade

19 Qs

Memahami PBO

Memahami PBO

11th Grade - University

15 Qs

Python 12 Sat

Python 12 Sat

Assessment

Quiz

Computers

12th Grade

Practice Problem

Hard

Created by

rofaida hamad

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

The code's output:

Math

Physics

Chemistry

English

4

3.8

3.6

3.7

None

None

None

None

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

The output of the code is

[101, 102, 103, 104]

[3.6, 3.7, 3.8, 4]

[104,103,102,101]

3.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Media Image

Which of the following code deletes the key 103 and its value

del grades[103]

del grades["103"]

grades.pop(103)

grades.pop("103")

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

_______________method will returns number of key-value pairs in the given dictionary.

len( )

pop( )

del( )

keys( )

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

1. Which of these is the best description of a list in Python?

A list is a collection of data that has an order and can be changed

A list is a lot of variables

Conditional Statement

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is the correct code for creating a list of names?

nameList = John, Harry, Jesse, John, Harry, Harry

nameList = ("John", "Harry", "Jesse", "John", "Harry", "Harry")

nameList = ["John", "Harry", "Jesse", "John", "Harry", "Harry"]

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?

["John", "Harry", "Jesse", "John", "Harry", "Harry"]

"John"

"Harry"

"Jesse"

Access all questions and much more by creating a free account

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

Already have an account?