8.1 · Lesson 5 of 7
String handling and library routines
Syllabus 8.1.4Syllabus 8.1.7
What this lesson covers
- Use totalling, counting and string handling
- Use local and global variables and library routines
Key vocabulary
- LENGTH
- Returns the number of characters in a string.
- UCASE
- Converts a string to upper case.
- LCASE
- Converts a string to lower case.
- SUBSTRING
- Returns part of a string: SUBSTRING(text, start, length).
- ROUND
- Rounds a number to a set number of decimal places.
- RANDOM
- Returns a random number from 0 up to 1.
- Library routine
- A ready-made, tested piece of code built into a language.
Check your learning
- Quick check: 4 questions
- Key vocabulary test: 7 terms
- Activity 1: String functions · 8 questions
- Activity 2: Strings and library routines quiz · 8 questions
- Activity 3: Which function? · drag and drop