LO13 Lesson 7

LO13 Lesson 7

10th Grade

14 Qs

quiz-placeholder

Similar activities

Python Lists

Python Lists

9th - 12th Grade

15 Qs

year 8 lesson 2 quiz - python

year 8 lesson 2 quiz - python

8th - 10th Grade

14 Qs

Python - Quiz

Python - Quiz

9th - 11th Grade

17 Qs

Python-Basic

Python-Basic

3rd Grade - University

15 Qs

python String and comment

python String and comment

3rd Grade - University

13 Qs

Python Basics

Python Basics

8th - 10th Grade

10 Qs

python intro

python intro

4th - 12th Grade

17 Qs

Python Basics

Python Basics

KG - University

16 Qs

LO13 Lesson 7

LO13 Lesson 7

Assessment

Quiz

Computers

10th Grade

Medium

Created by

Samantha Cassia

Used 1+ times

FREE Resource

14 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What is the output of this code?

my_name = "Sandy"

print(my_name[2])

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What is the output of this code?

my_name = "Sandy"

print(my_name[-2])

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What is the output of this code?

my_name = "Sandy"

print(my_name[0:5])

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What is the output of this code?

my_name = "Sandy"

print(my_name[:])

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What is the output of this code?

my_name = "Sandy"

print(my_name[:5])

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What is the output of this code?

my_name = "Sandy"

print(my_name[1:4])

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The len() method in the below example is used to

find the length of a list.

compare two integers.

find the length of a string.

find the length of a program.

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?