CS Edexcel Unit 6 Part 6 - Handling Strings

Quiz
•
Computers
•
9th - 10th Grade
•
Medium
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
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
Similar Resources on Wayground
35 questions
APCSA Unit 4 test

Quiz
•
9th Grade
34 questions
CB30: Unit 2 Test Review

Quiz
•
9th - 12th Grade
33 questions
2.1.1 CSE Transitioning from Block to Text Coding

Quiz
•
9th - 12th Grade
30 questions
GCSE Quiz on Variable Names and Data Types

Quiz
•
9th - 10th Grade
30 questions
Python Review 1

Quiz
•
9th Grade - University
31 questions
Quarter 2 Interim Practice

Quiz
•
9th Grade
32 questions
G24-25 Q3 Test Review

Quiz
•
10th Grade
30 questions
Quiz Pengaturcaraan Bulan Akademik

Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Analog vs Digital

Quiz
•
9th - 12th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade