LO13 Lesson 7

LO13 Lesson 7

10th Grade

14 Qs

quiz-placeholder

Similar activities

Project-Stem Unit 1 python coding

Project-Stem Unit 1 python coding

9th - 12th Grade

12 Qs

Python Print Statement

Python Print Statement

6th - 10th Grade

12 Qs

POGIL: Python Activity 1

POGIL: Python Activity 1

9th - 12th Grade

12 Qs

Python Programming Basics

Python Programming Basics

7th - 11th Grade

12 Qs

N5 SDD - Python input and output

N5 SDD - Python input and output

7th - 11th Grade

12 Qs

Exploring Python: Input and Output Essentials

Exploring Python: Input and Output Essentials

9th Grade - University

10 Qs

Python Casting and Input

Python Casting and Input

8th - 11th Grade

15 Qs

Python: Functions and Parameters

Python: Functions and Parameters

9th - 12th Grade

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?