
AQA String Manipulation
Presentation
•
Computers
•
10th Grade
•
Practice Problem
•
Easy
Roy Duguid
Used 5+ times
FREE Resource
26 Slides • 14 Questions
1
String Manipulation
2
3
4
5
6
7
8
9
10
11
12
String Concatenation
The + operator does not just add two numbers
It can also “add” two strings
The process of combining two strings is called string concatenation
Performing string concatenation creates a brand new string comprised of the first string’s contents followed by the second string’s contents
13
14
String Concatenation
The + operator does not just add two numbers
It can also “add” two strings
The process of combining two strings is called string concatenation
Performing string concatenation creates a brand new string comprised of the first string’s contents followed by the second string’s contents
Concatenation does not include spaces between the strings!
15
Finding position
16
Casting
There may be times when you want to specify a type on to a variable. This can be done with casting.
int() - constructs an integer number from an integer literal, a float literal (by removing all decimals), or a string literal (providing the string represents a whole number)
float() - constructs a float number from an integer literal, a float literal or a string literal (providing the string represents a float or an integer)
str() - constructs a string from a wide variety of data types, including strings, integer literals and float literals
17
Multiple Choice
What is concatenation in python?
18
Multiple Choice
What is casting in python?
19
Multiple Choice
What is a substring / slicing in python?
20
Python - String Length example
21
Multiple Choice
What will the output of this code be?
5
7
22
Concatenation
23
Multiple Choice
what do we call what is happening on line 4?
concatenation
interpolation
24
Multiple Choice
What will output from this code?
25
Multiple Choice
What will output from this code?
26
Casting
27
28
29
30
Checking if a string is all digits
31
Convert character to character code + convert character code to character
32
Substring / Slicing
33
Multiple Choice
Which will change the python input to lower case?
34
Multiple Choice
Which will change the python input to upper case?
35
Multiple Choice
The pseudocode below assigns two strings to two variables:
title = "computer science"
level = "gcse"
What is title[0]?
'c'
'o'
'g'
An error
36
Multiple Choice
The pseudocode below assigns two strings to two variables:
title = "computer science"
level = "gcse"
What is title[4]?
'p'
'u'
't'
An error
37
Multiple Choice
The pseudocode below assigns two strings to two variables:
title = "computer science"
level = "gcse"
What is level concatenated (linked together) with title?
"gcsecomputer science"
"gcse computer science"
"gcsecomputerscience"
An error
38
Multiple Choice
What is will the output be of this code?
39
Multiple Choice
What will the output of this code be?
40
Teams > Activity 1
String Manipulation
Show answer
Auto Play
Slide 1 / 40
SLIDE
Similar Resources on Wayground
36 questions
Data Types and Variables
Presentation
•
9th - 10th Grade
37 questions
Unit 2 Team Power Lesson A
Presentation
•
10th Grade
32 questions
ระบบทางเทคโนโลยีที่ซับซ้อน
Presentation
•
10th Grade
34 questions
High and low level languages
Presentation
•
10th Grade
33 questions
Unit 4 Output 5. Printers Part 1
Presentation
•
10th Grade
35 questions
Інформаційна безпека. Керування ризиками в ІС
Presentation
•
10th - 11th Grade
37 questions
Low-level & High-level Languages
Presentation
•
9th - 10th Grade
36 questions
Data Types, Validation, Testing with Data
Presentation
•
9th - 10th Grade
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations
Quiz
•
6th - 8th Grade
10 questions
HCS SCI 03 Summer School Assessment 2
Quiz
•
3rd Grade
11 questions
Home Scope
Quiz
•
7th - 8th Grade
12 questions
2026 TAP Technology in the Classroom
Presentation
•
Professional Development
15 questions
HCS SCI 05 Summer School Assessment 2 Review
Quiz
•
5th Grade
15 questions
HCS SCI 04 Summer School Review 2
Quiz
•
4th Grade
59 questions
Geometry Unit 3 Review
Quiz
•
9th - 12th Grade
14 questions
FAST ELA READING SMAPLE TEST MATERIALS
Passage
•
3rd Grade