Search Header Logo

Searching and sorting

Authored by Craig Ellis

Computers

11th Grade

Used 21+ times

Searching and sorting
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data structure stores key/value pairs?

Sets

Stacks

Lists

Dictionaries

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Square brackets in an assignment statement will create which type of data structure?

( s=[] )

List

Queue

Dictionary

Set

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Each key/value pair in a dictionary is separated by this symbol:

/

,

:

;

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which symbol surrounds a dictionary?

{
(
[
:

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

is this code correct?
quiz = {"Do you help out at home? ":"yes",         }

Yes
No

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

is this code correct?
quiz == {"Do you help out at home? ":"yes",       }

No
Yes
Both

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

is this code correct?
quiz = {"Do you help out at home? ":"yes"      }

No
Yes
Both

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?