LO13 Lesson 7

LO13 Lesson 7

10th Grade

14 Qs

quiz-placeholder

Similar activities

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

python intro

python intro

4th - 12th Grade

17 Qs

Python - Variables and Input

Python - Variables and Input

1st - 10th Grade

16 Qs

Python Print Statement

Python Print Statement

6th - 10th Grade

12 Qs

Python Review KS3

Python Review KS3

9th - 12th Grade

17 Qs

ASK F2 -KOD ARAHAN (PYTHON)

ASK F2 -KOD ARAHAN (PYTHON)

1st Grade - University

15 Qs

N5 SDD - Python input and output

N5 SDD - Python input and output

7th - 11th Grade

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