Interrogating, parsing or working with strings is called...
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
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
33 questions
Programming Q3 Test Review Game Questions

Quiz
•
9th Grade
36 questions
GCSE ICT U1 Topics 1-6 Revision

Quiz
•
5th - 9th Grade
30 questions
ASESMEN TENGAH SEMESTER INFORMATIKA KELAS X - SMKN 52 JAKARTA

Quiz
•
10th Grade
30 questions
Greenfoot Vocabulary

Quiz
•
9th - 12th Grade
37 questions
AP CSA Review Set #1

Quiz
•
9th - 12th Grade
30 questions
Java Servlets & JSPs Test

Quiz
•
10th Grade
30 questions
Q1 Summative Test 2 in C++

Quiz
•
10th Grade
34 questions
Java General

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade
Discover more resources for Computers
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade