CS Edexcel Unit 6 Part 6 - String Manipulation

CS Edexcel Unit 6 Part 6 - String Manipulation

10th Grade

•

25 Qs

quiz-placeholder

Similar activities

Arduino Loop

Arduino Loop

2nd Grade - University

•

20 Qs

2324tx6

2324tx6

9th - 12th Grade

•

20 Qs

Coding Basics SC-1

Coding Basics SC-1

7th - 12th Grade

•

20 Qs

BAI 26 + 27 TIN 10c1

BAI 26 + 27 TIN 10c1

10th Grade

•

20 Qs

GAD Review - Game Industry

GAD Review - Game Industry

9th - 12th Grade

•

22 Qs

Network topologies

Network topologies

8th Grade - University

•

20 Qs

PTS KOMJARDAS SMT GENAP

PTS KOMJARDAS SMT GENAP

10th Grade

•

20 Qs

Quiz 4

Quiz 4

1st - 10th Grade

•

20 Qs

CS Edexcel Unit 6 Part 6 - String Manipulation

CS Edexcel Unit 6 Part 6 - String Manipulation

Assessment

Quiz

•

Computers

•

10th Grade

•

Practice Problem

•

Medium

Created by

Stuart Smith

Used 6+ times

FREE Resource

AI

Enhance your content in a minute

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

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

isspace

String contains only spaces

isnum

String contains only letters and numbers

isalnum

String contains only letters

isalpha

String's words all start with capitals letters

istitle

String contains only numbers

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?