Python Data Structures

Python Data Structures

University

12 Qs

quiz-placeholder

Similar activities

Python Numpy

Python Numpy

University

11 Qs

Sistem Bilangan

Sistem Bilangan

University

13 Qs

TIN 11 BAI 6

TIN 11 BAI 6

12th Grade - University

10 Qs

Python pętle while/for

Python pętle while/for

9th Grade - University

14 Qs

Números con cifras significativas

Números con cifras significativas

University

10 Qs

Əməliyyat sistemləri

Əməliyyat sistemləri

University

10 Qs

Quiz Algoritma Looping

Quiz Algoritma Looping

University

15 Qs

Himpunan ( KB 1 )

Himpunan ( KB 1 )

University

10 Qs

Python Data Structures

Python Data Structures

Assessment

Quiz

Computers

University

Hard

Created by

OL SAY

Used 16+ times

FREE Resource

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one of the following is a list?

2, 3, -5, 4

{2, 3, -5, 4}

[2, 3, -5, 4]

(2, 3, -5, 4)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one of the following is a set?

2, 3, -5, 4

(2, 3, -5, 4)

{2, 3, -5, 4}

[2, 3, -5, 4]

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one of the following is a tuple?

(2, 3, -5, 4)

[2, 3, -5, 4]

{2, 3, -5, 4}

{"0":2, "1":3, "2":-5, "3":4}

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one of the following is a dictionary?

{2, 3, -5, 4}

[2, 3, -5, 4]

(2, 3, -5, 4)

{"a":2, "b":3, "c":-5, "d":4}

5.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Select all the methods to create a list.

a = [-2, 4, 5, 3]

a = list([-2, 4, 5, 3])

a = (-2, 4, 5, 3)

a = tuple([-2, 4, 5, 3])

6.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Select all the methods to create a list.

a = [-2, 4, 5, 3]

a = list([-2, 4, 5, 3])

a = (-2, 4, 5, 3)

a = tuple([-2, 4, 5, 3])

7.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Select all the methods to create a tuple.

a = (-2, 4, 5, 3)

a = list([-2, 4, 5, 3])

a = [-2, 4, 5, 3]

a = tuple([-2, 4, 5, 3])

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?