Q4_Quiz2_CompSciLoyalty

Q4_Quiz2_CompSciLoyalty

7th Grade

21 Qs

quiz-placeholder

Similar activities

M1_Final_Quiz1_2017

M1_Final_Quiz1_2017

7th - 8th Grade

20 Qs

Sustainable Developments Goals

Sustainable Developments Goals

6th - 12th Grade

17 Qs

Review Game

Review Game

7th Grade

20 Qs

HTML5 Basics

HTML5 Basics

7th - 10th Grade

20 Qs

Klávesnice

Klávesnice

6th - 10th Grade

17 Qs

Monthly exam year 7

Monthly exam year 7

7th Grade

20 Qs

Form 3 EOT 1 Problem solving

Form 3 EOT 1 Problem solving

7th Grade

20 Qs

Google

Google

7th - 12th 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?