python set dictionary tuple

python set dictionary tuple

University

19 Qs

quiz-placeholder

Similar activities

Introduction to Computers

Introduction to Computers

University

20 Qs

Kuis Dadakan ;)

Kuis Dadakan ;)

10th Grade - University

15 Qs

PHP Quiz - 1

PHP Quiz - 1

University

20 Qs

Berpikir Komputasi - Assessment 1

Berpikir Komputasi - Assessment 1

University

20 Qs

Banco de Dados

Banco de Dados

University - Professional Development

20 Qs

Komponen Jaringan & Pengkabelan

Komponen Jaringan & Pengkabelan

University

15 Qs

Django-quiz

Django-quiz

5th Grade - University

20 Qs

DreamWeaver CS6

DreamWeaver CS6

University

20 Qs

python set dictionary tuple

python set dictionary tuple

Assessment

Quiz

Computers

University

Medium

Created by

Sherif Abdelhamid

Used 12+ times

FREE Resource

19 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the following, what are the values? {‘name’: ‘Anna’, ‘age’: ‘22’, ‘courses’: [‘calculus’, ‘compsci’]}

Anna, 22, calculus and compsci

{}, :, '', []

name, age, courses

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Comparing a dictionary to Python to a dictionary for words, ____________ is each word we look up_______ is definition of the word

value, key

key, attribute

method, value

key, value

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A Python dictionary is called

pytn

dict

dicn

def

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

This list contains items of what data type?

String

Boolean

Float

Integer

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Is this the correct code for a list?

register = {"Sam", "Pheobe", Georgia", Richard"}

Yes

No

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
What is the position of the name "Robert" in the following list:
0
1
2
3

7.

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

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?