Python Array- quiz

Python Array- quiz

11th Grade

10 Qs

quiz-placeholder

Similar activities

Computer Science Tuples

Computer Science Tuples

11th Grade

15 Qs

Tuples

Tuples

11th Grade

15 Qs

Tuples

Tuples

11th Grade

15 Qs

Unit 7 Review

Unit 7 Review

11th - 12th Grade

15 Qs

Tuples Quiz - Vijayendra

Tuples Quiz - Vijayendra

9th - 12th Grade

12 Qs

Python Tuples Quiz

Python Tuples Quiz

11th Grade

14 Qs

Computer Science Tuples

Computer Science Tuples

11th - 12th Grade

15 Qs

Python List

Python List

4th Grade - University

15 Qs

Python Array- quiz

Python Array- quiz

Assessment

Quiz

Computers

11th Grade

Medium

Created by

Mariam Barbary

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It is an array that is used to store data values in key:value pairs.

List

Tuple

Set

Dictionary

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It is an array which is ordered and unchangeable & allows duplicate members.

Tuple

List

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which type of brackets we use to create a list

[ ]

{ }

( )

all are correct

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which type of brackets we use to create a Tuple

[ ]

{ }

( )

all are correct

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which type of brackets we use to create a Dictionary

[ ]

{ }

( )

all are correct

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

thisdict = {
  "brand": "Ford",
  "model": "Mustang",
  "year": 1964
}

What is the correct code to Change the "year" to 2018:

thisdict["year"] = 2018


change(thisdict('year'),2018)

thisdict.append(2018)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

which method is used to remove an element from a list by its index.

remove()

pop()

del

clear()

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?