Python String Revision

Python String Revision

10th Grade

9 Qs

quiz-placeholder

Similar activities

Bài 7 Tin học 10

Bài 7 Tin học 10

10th Grade

10 Qs

Flowcharrt Symbols

Flowcharrt Symbols

10th Grade

10 Qs

REVIEW AD KLS 9

REVIEW AD KLS 9

9th Grade - University

10 Qs

OCR GCSE CS - 2.1 ERL sorts and searches

OCR GCSE CS - 2.1 ERL sorts and searches

10th - 11th Grade

9 Qs

Dyski

Dyski

7th - 12th Grade

10 Qs

องค์ประกอบการสื่อสารและเครือข่าย

องค์ประกอบการสื่อสารและเครือข่าย

8th Grade - University

10 Qs

Bài 8- CĐ F-TH10

Bài 8- CĐ F-TH10

9th - 12th Grade

10 Qs

Python String Revision

Python String Revision

Assessment

Quiz

Computers

10th Grade

Practice Problem

Hard

Created by

Lance Jacob

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

9 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

Line 5 will print...

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

line 6 will print...

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

line 7 will print...

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Identify a built-in function in this code

visits

"2"

int

+

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

line 8 and line 9 will print...

2

False

FALSE

HTTP://WWW.LIQUIDSUNSHINE.CO.UK

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

On which line is concatenation used?

12

11

10

7

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which line slices the string?

7

8

11

12

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Line 10 will print True because...

visits contains a string of only integers

visits contains an integer

visits contains a string of length 1

visits contains a Boolean

9.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Line 12...

adds the number 2 to HTTP://WWW.LIQUIDSUNSHINE.CO.UK

Prints False

Casts visits to a whole number and adds this to HTTP://WWW.LIQUIDSUNSHINE.CO.UK

Casts visits to a whole number multiples HTTP://WWW.LIQUIDSUNSHINE.CO.UK by that number