LO13 Lesson 7

LO13 Lesson 7

10th Grade

14 Qs

quiz-placeholder

Similar activities

Python Quiz for 10s

Python Quiz for 10s

10th Grade

10 Qs

CodeHS

CodeHS

10th - 12th Grade

12 Qs

CodeHS APCSP Python

CodeHS APCSP Python

10th - 12th Grade

12 Qs

Python Basics Review

Python Basics Review

10th Grade

18 Qs

Python IF ELSE

Python IF ELSE

10th Grade

11 Qs

untitled

untitled

8th Grade - University

11 Qs

Python programming

Python programming

6th - 12th Grade

16 Qs

Python Basics

Python Basics

KG - University

10 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?