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

2.1.1 CSE Transitioning from Block to Text Coding

2.1.1 CSE Transitioning from Block to Text Coding

9th - 12th Grade

33 Qs

JavaScript

JavaScript

9th - 12th Grade

29 Qs

JavaScript Quiz

JavaScript Quiz

9th - 12th Grade

29 Qs

GCSE Quiz on Variable Names and Data Types

GCSE Quiz on Variable Names and Data Types

9th - 10th Grade

30 Qs

APCSA Unit 4 test

APCSA Unit 4 test

9th Grade

35 Qs

Unit 2 test

Unit 2 test

9th Grade

30 Qs

Arrays and ArrayLists in Java

Arrays and ArrayLists in Java

10th - 12th Grade

29 Qs

CB30: Unit 2 Test Review

CB30: Unit 2 Test Review

9th - 12th Grade

34 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?