WorksheetsAQA Computer Science GCSE - 3.1 Fundamentals of algorithms
Total questions: 15
Worksheet time: 8mins
This pseudo-code assigns two string values to two variables
title ← 'computer science'
level ← 'gcse'
What is the length of the contents of the variable level
1
2
3
4
title ← 'computer science'
level ← 'gcse'
What is the result of concatenating the variable title with the variable level
computer science gcse
Computer Science GCSE
computersciencegcse
computer sciencegcse
This pseudo-code assigns two string values to two variables
title ← 'computer science'
level ← 'gcse'
which of the following strings is a substring of the variable title
compsci
puters
sci
tersci
This pseudo-code assigns two string values to two variables
title ← 'computer science'
level ← 'gcse'
The Unicode character code of title[0], which is 'c', is 99.
What is the Unicode character code of the character level[3]
95
99
101
103
