Grade 9 first quiz

Grade 9 first quiz

8th Grade

10 Qs

quiz-placeholder

Similar activities

Online Tracks-Lesson

Online Tracks-Lesson

6th - 8th Grade

5 Qs

Electrical Circuit Symbols quiz

Electrical Circuit Symbols quiz

1st Grade - University

11 Qs

Sequencing, Selection and Iteration

Sequencing, Selection and Iteration

8th - 10th Grade

12 Qs

HTML Basics

HTML Basics

8th - 10th Grade

10 Qs

Kuis HTML

Kuis HTML

8th Grade

10 Qs

Pseudocode W4L1 Algorathem G7

Pseudocode W4L1 Algorathem G7

7th - 8th Grade

7 Qs

Python Lists Quiz

Python Lists Quiz

8th - 9th Grade

10 Qs

Информатика 10  сынып

Информатика 10 сынып

1st - 12th Grade

12 Qs

Grade 9 first quiz

Grade 9 first quiz

Assessment

Quiz

Computers

8th Grade

Hard

Created by

Amani Musleh

Used 8+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the correct way to declare a list in Python?

Use square brackets []

Use parentheses ()

Use angle brackets <>

Use curly brackets {}

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

my_list = ['apple','orange','melon','papaya']

print(my_list[2])

What is the output?

apple

orange

melon

papaya

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

student_list = ['Ahmad','Kareem','Omar','Tariq')

print(student_list[-1])

What is the output? ​  

Ahmad

Kareem

Omar

Tariq

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What is the output of program below?

students_list=["Ahmad","kareem","Omar","Tariq"]

students_list.append("Zayed")

print(students_list)

['Ahmad', 'kareem', 'Omar', 'Tariq', 'Zayed']

[ 'Zayed','Ahmad', 'kareem', 'Omar', 'Tariq',]

zayed

Syntax error

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What is the output of program below?

students_list=['Ahmad','kareem', 'Omar', 'Tariq']

students_list.remove("Ahmad")

print(students_list)

['kareem', 'Omar', 'Tariq']

Ahmad

Syntax Error

['kareem', 'Omar', 'Tariq','Ahmad']

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Debug this


Missing a square bracket

in line 1?

Missing a semicolon in line 2

Extra indent in line 2

Missing a colon in line 1

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is debugging in Python?

A process of writing code

A process of identifying and fixing errors in code

A process of optimizing code performance

A process of documenting code

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?