CS Edexcel Unit 6 Part 6 - String Manipulation
Quiz
ā¢
Computers
ā¢
10th Grade
ā¢
Practice Problem
ā¢
Medium
Stuart Smith
Used 6+ times
FREE Resource
Enhance your content in a minute
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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
DiseƱo de Sistemas I
Quiz
ā¢
1st - 12th Grade
20 questions
ASSO - DHCP, FTP, DNS i Apache2
Quiz
ā¢
9th - 12th Grade
20 questions
Computer parts
Quiz
ā¢
1st - 12th Grade
20 questions
Linux Directory Structures
Quiz
ā¢
10th Grade - University
20 questions
2324TX5
Quiz
ā¢
9th - 12th Grade
20 questions
Structure of a Webpage
Quiz
ā¢
10th Grade
20 questions
IPST_SE
Quiz
ā¢
9th - 10th Grade
20 questions
Intro to IT Ch 3 Quiz Review
Quiz
ā¢
9th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
ā¢
3rd Grade
20 questions
Equivalent Fractions
Quiz
ā¢
3rd Grade
25 questions
Multiplication Facts
Quiz
ā¢
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
ā¢
4th Grade
22 questions
fractions
Quiz
ā¢
3rd Grade
20 questions
Main Idea and Details
Quiz
ā¢
5th Grade
20 questions
Context Clues
Quiz
ā¢
6th Grade
15 questions
Equivalent Fractions
Quiz
ā¢
4th Grade
