CS Edexcel Unit 6 Part 6 - Handling Strings

CS Edexcel Unit 6 Part 6 - Handling Strings

9th - 10th Grade

34 Qs

quiz-placeholder

Similar activities

ICT 10 - JAVA

ICT 10 - JAVA

9th - 12th Grade

30 Qs

Python Certified Specialist

Python Certified Specialist

9th Grade - Professional Development

31 Qs

Python Credential Test

Python Credential Test

9th Grade - Professional Development

31 Qs

Microsoft Python Unit 1 Review

Microsoft Python Unit 1 Review

9th - 12th Grade

34 Qs

Python Coding Specialist Exam

Python Coding Specialist Exam

9th Grade - Professional Development

31 Qs

Final Review - Unit 3

Final Review - Unit 3

9th - 12th Grade

35 Qs

Python for grade 5

Python for grade 5

1st - 11th Grade

30 Qs

AP CSA Review Set #1

AP CSA Review Set #1

9th - 12th Grade

37 Qs

CS Edexcel Unit 6 Part 6 - Handling Strings

CS Edexcel Unit 6 Part 6 - Handling Strings

Assessment

Quiz

Computers

9th - 10th Grade

Medium

Created by

Stuart Smith

Used 2+ times

FREE Resource

34 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

45 sec • 2 pts

Interrogating, parsing or working with strings is called...

2.

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]

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the output be when accessing the third character from the right in the string "This is just a simple string."?

g

i

n

s

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

string.islower()

string.isupper()

string.isalpha()

string.upper()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will the output be for the code snippet if the string is "CSUK IS GREAT" and we use string.isupper()?

False

True

Error

None

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

string.isupper()

string.islower()

string.lower()

string.capitalize()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the output be if the string is "CSUK IS GREAT" and we use string.islower()?

False

True

Error

None

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?