Python strings

Python strings

8th - 9th Grade

11 Qs

quiz-placeholder

Similar activities

Iteration - While Loop

Iteration - While Loop

8th - 12th Grade

12 Qs

Numpy-1

Numpy-1

9th - 12th Grade

10 Qs

Python Beginner

Python Beginner

9th - 10th Grade

16 Qs

Test - Python básico II

Test - Python básico II

9th - 12th Grade

16 Qs

Python - Chpt 1 - Review

Python - Chpt 1 - Review

9th - 12th Grade

15 Qs

Python Lists v2

Python Lists v2

9th - 12th Grade

15 Qs

Python Arrays

Python Arrays

9th - 12th Grade

13 Qs

Computer Systems - How the web works - Lesson 7

Computer Systems - How the web works - Lesson 7

8th Grade

12 Qs

Python strings

Python strings

Assessment

Quiz

Computers

8th - 9th Grade

Hard

Created by

Paul Hughes

Used 2K+ times

FREE Resource

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image
What letter will be printed on the screen after running this code:
e
x
t
Nothing prints

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
In the following code, "city" is an example of a what?
List
Loop
Variable
Array

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Each item in a string has an "address" or index. The first index in a Python string is what?

0

1

a

A

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image
What output will this code produce?
Exeter
4
6
city

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
What output will this code produce?
4
2
3
5

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
What output will this code produce?
3
20
25
17

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image
What output will this code produce?
1
3
2
4

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?