T2Q1A11[CAI]/51

T2Q1A11[CAI]/51

11th Grade

15 Qs

quiz-placeholder

Similar activities

Python Unit 6 Sequences Quiz

Python Unit 6 Sequences Quiz

9th - 12th Grade

20 Qs

Python Lists

Python Lists

8th - 12th Grade

15 Qs

Python - Abstractions, Comments, Data Types, Variables

Python - Abstractions, Comments, Data Types, Variables

9th - 12th Grade

12 Qs

Fun Demo Quiz

Fun Demo Quiz

9th - 12th Grade

10 Qs

Recuperacion final parte 1

Recuperacion final parte 1

8th Grade - University

20 Qs

List & String - Gtrade 9 Recap - Jan 22

List & String - Gtrade 9 Recap - Jan 22

9th - 11th Grade

20 Qs

List Manipulations

List Manipulations

11th Grade

20 Qs

Lists In Python_1

Lists In Python_1

9th Grade - University

15 Qs

T2Q1A11[CAI]/51

T2Q1A11[CAI]/51

Assessment

Quiz

Computers

11th Grade

Medium

Created by

Dima Zaaiter

Used 4+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following Python libraries is used to model vectors and matrices efficiently?

SymPy

Pandas

Scipy

Numpy

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What letter will be printed on the screen after running this code:


city = "Exeter"

letter = city[3]

print (letter)

e

x

t

Nothing prints

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the position of the name "Robert" in the following list:

names = ["Bob", "Bobby", "Robert", "Rob"]

0

1

2

3

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the append function do in the following code:

cities = ["Manchester", "Exeter", "Bristol"]

cities.append("Liverpool")

print(cities)

Adds Liverpool to the beginning of the list

Replaces Bristol with Liverpool

Replaces Manchester with Liverpool

Adds Liverpool to the end of the list

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the following code, city is an example of a what?


city = "Exeter"

List

Function

Variable

Array

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Each item in a list has an index. What is the first index in a Python list?

0

1

a

A

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code segment in Python?


countries = ["France", "Wales", "England"]

print(countries)

print(countries[1])

['France', 'Wales', 'England']

France

['France', 'Wales', 'England']

Wales

France, Wales, England

Wales

France Wales England

France

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?