Q4_Quiz2_CompSciLoyalty

Q4_Quiz2_CompSciLoyalty

7th Grade

21 Qs

quiz-placeholder

Similar activities

Selection

Selection

5th - 9th Grade

20 Qs

Web Dev Diagnostic

Web Dev Diagnostic

7th - 10th Grade

20 Qs

Y7 Autumn Term 1 Review 2021-2022

Y7 Autumn Term 1 Review 2021-2022

7th Grade

17 Qs

Aplikom

Aplikom

1st Grade - University

20 Qs

Icon challenge

Icon challenge

4th - 9th Grade

26 Qs

SensorOne Quiz 2 - Digital Systems- TE4-7DI

SensorOne Quiz 2 - Digital Systems- TE4-7DI

7th Grade

20 Qs

GCSE J277 - 1.2.2 - Secondary Storage

GCSE J277 - 1.2.2 - Secondary Storage

7th Grade

20 Qs

Standard Linux Commands

Standard Linux Commands

1st - 10th Grade

20 Qs

Q4_Quiz2_CompSciLoyalty

Q4_Quiz2_CompSciLoyalty

Assessment

Quiz

Computers

7th Grade

Medium

Created by

michael manalo

Used 4+ times

FREE Resource

21 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

It is a collection which is ordered and unchangeable, and written with round brackets.

List

Tuple

Set

Dictionary

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Tuple items are ordered, unchangeable, and allow duplicate values.

True

False

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Since tuples are indexed, they cannot have items with the same value.

True

False

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Tuples are unchangeable, meaning that we cannot change, but we can add or remove items after the tuple has been created.

True

False

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

To determine how many items a tuple has, use the _____ function.

type()

tuple()

append()

len()

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

You can access tuple items by referring to the _____, inside square brackets.

index number

key

value

data type

7.

MULTIPLE CHOICE QUESTION

20 sec • 2 pts

To print the fourth item in the tuple below, what should be the code?

car = ("Mazda", "Ford", "Nissan", "Cadillac", "BMW", "Ferrari")

print(car[4])

print(car[3])

print(thistuple[3])

print([car:4])

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?