Data Structures Quiz

Data Structures Quiz

1st Grade

20 Qs

quiz-placeholder

Similar activities

TMK tahun 6: UNIT 3 PENGHASILAN DAN PENGUJIAN ATUR CARA

TMK tahun 6: UNIT 3 PENGHASILAN DAN PENGUJIAN ATUR CARA

1st - 12th Grade

20 Qs

แบบทดสอบการแก้ปัญหา

แบบทดสอบการแก้ปัญหา

1st - 3rd Grade

15 Qs

PBD ASK T3 : 4.2 STUKTUR KOD ARAHAN

PBD ASK T3 : 4.2 STUKTUR KOD ARAHAN

1st - 3rd Grade

20 Qs

Python Basics

Python Basics

KG - University

16 Qs

TMK Tahun 6 - Pengaturcaraan

TMK Tahun 6 - Pengaturcaraan

KG - 12th Grade

20 Qs

TMK TAHUN5:  SISTEM PANGKALAN DATA

TMK TAHUN5: SISTEM PANGKALAN DATA

1st - 12th Grade

20 Qs

TIN HỌC 5 - SÁCH HDTH (ÔN HK2 NĂM 2023-2024)

TIN HỌC 5 - SÁCH HDTH (ÔN HK2 NĂM 2023-2024)

1st - 5th Grade

25 Qs

Operating systems

Operating systems

1st - 3rd Grade

20 Qs

Data Structures Quiz

Data Structures Quiz

Assessment

Quiz

Computers

1st Grade

Practice Problem

Medium

Created by

Adham Elmuntser

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

Which data structure is immutable?

List

Set

Tuple

Dictionary

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data structure allows duplicate elements?

Set

Dictionary

Tuple

None of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you access the first element of a list named my_list?

my_list{0}

my_list[0]

my_list(0)

my_list.0

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data structure does not allow duplicate elements?

List

Tuple

Set

Dictionary

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you add an item to a set named my_set?

my_set.add(7)

my_set.append(7)

my_set.insert(7)

my_set[7] = None

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of print(len({1, 2, 2, 3}))?

2

3

4

1

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement will raise a TypeError when executed?

my_list.append(6)

my_set.add(6)

my_tuple[0] = 100

my_dict['b'] = 20

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?