CS Edexcel Unit 6 Part 6 - String Manipulation

CS Edexcel Unit 6 Part 6 - String Manipulation

10th Grade

25 Qs

quiz-placeholder

Similar activities

Programming Quiz 4

Programming Quiz 4

9th - 10th Grade

20 Qs

untitled

untitled

8th Grade - University

25 Qs

Python Programming Quiz

Python Programming Quiz

9th Grade - University

20 Qs

Beginner Python KS3 Revision

Beginner Python KS3 Revision

8th - 10th Grade

26 Qs

CS 26_01_24

CS 26_01_24

9th - 12th Grade

20 Qs

AQA GCSE Computer Science Paper 1

AQA GCSE Computer Science Paper 1

9th - 11th Grade

20 Qs

Python Basics

Python Basics

8th - 12th Grade

23 Qs

Season 4 #Spaic Python Weekly Quiz

Season 4 #Spaic Python Weekly Quiz

KG - Professional Development

20 Qs

CS Edexcel Unit 6 Part 6 - String Manipulation

CS Edexcel Unit 6 Part 6 - String Manipulation

Assessment

Quiz

Computers

10th Grade

Medium

Created by

Stuart Smith

Used 4+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does string concatenation mean in programming?

Splitting strings into parts

Joining strings together

Reversing strings

Encrypting strings

2.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

What function finds the length of a string in Python?

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you access the third character from the left in a string "This is just a simple string"?

string[2]

string[3]

string[4]

string[5]

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the code snippet:

string = "This is just a simple string"

print(string[-4])?

g

r

n

t

i

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is used to check if a string is all uppercase in Python?

string.upper()

string.isupper()

string.ifupper()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is used to check if a string is all lowercase in Python?

string.lower()

string.islower()

string.iflower()

7.

MATCH QUESTION

30 sec • 5 pts

Match the following string checks to their purpose

istitle

String contains only spaces

isalpha

String contains only letters and numbers

isnum

String contains only letters

isspace

String contains only numbers

isalnum

String's words all start with capitals letters

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?