7.6.1 Basic Data Structures Quiz

7.6.1 Basic Data Structures Quiz

Professional Development

25 Qs

quiz-placeholder

Similar activities

IPA Recap

IPA Recap

Professional Development

20 Qs

SFS Training

SFS Training

Professional Development

20 Qs

RDC Bible Study Quiz

RDC Bible Study Quiz

Professional Development

20 Qs

MGNF-14

MGNF-14

Professional Development

20 Qs

LATIHAN UJI KOMPETENSI

LATIHAN UJI KOMPETENSI

Professional Development

20 Qs

Petrochina Quiz

Petrochina Quiz

Professional Development

20 Qs

Design Thinking Check Point

Design Thinking Check Point

Professional Development

20 Qs

Core-Abilities Lvl 3 M05 -Trial 1

Core-Abilities Lvl 3 M05 -Trial 1

Professional Development

20 Qs

7.6.1 Basic Data Structures Quiz

7.6.1 Basic Data Structures Quiz

Assessment

Quiz

Professional Development

Professional Development

Practice Problem

Medium

Created by

Zarina Mohammad

Used 19+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What kind of data structure is user_data in the following declaration? user_data = ("TJ", 24, "artLover123")

Tuple

List

String

2d List

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What kind of data structure is user_data in the following declaration? user_data = ["TJ", 24, "artLover123"]

Tuple

List

String

2d List

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following lines of code will cause an error? Use the following definition of ages:

ages = (12, 5, 8)

ages = ages + (1, 3, 5)

print (ages[2])

ages = ages[2:]

ages[0] = 3

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does this code snippet print? fruit = ["b", "n", "n"]

print ("a".join(fruit))

bnn

ba na na

banan

banana

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the value of num after this code runs? shapes = ["triangle", "square", "hexagon", "circle", "pentagon"] num = len(shapes)

0

4

5

35

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What does this program print?

My favorite animal is a dog or penguin

My favorite animal is a penguin or chipmunk

My favorite animal is a dog penguin chipmunk

My favorite animal is a dog or chipmunk

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following data structures is immutable?

Tuple

List

Dictionary

2d List

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?

Discover more resources for Professional Development