Python Array- quiz

Python Array- quiz

11th Grade

10 Qs

quiz-placeholder

Similar activities

Python Basics

Python Basics

9th - 12th Grade

14 Qs

Python Lists

Python Lists

9th - 12th Grade

15 Qs

Database Concepts

Database Concepts

11th Grade

15 Qs

Python Tuples Quiz

Python Tuples Quiz

11th Grade

14 Qs

Python Fundamentals and Programming

Python Fundamentals and Programming

11th - 12th Grade

13 Qs

Python Code Quiz

Python Code Quiz

8th - 12th Grade

11 Qs

Python_quiz

Python_quiz

11th Grade

15 Qs

Python Tuples Review

Python Tuples Review

11th Grade

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?