TopMyGrade

Home·Daily Problem

Daily Problem·Monday, 9 December 2024Back to today

LEN and SUBSTRING

GCSE · Computer Science · AQA · CS2.7 — String handling: length, position, substring, concatenation, conversion to upper/lower case and to ASCII values

Question

Given `SET s TO "PROGRAMMING"`, state the value of:

(a) LEN(s) (b) SUBSTRING(0, 6, s) (c) SUBSTRING(7, 10, s)

3 marks · take your time before peeking.

Sign up to try the next 30 problems

Save your streak, mark answers against the spec, and build a daily revision habit. Free during public beta — no card, no auto-renew.

Generated by TopMyGrade AI · cross-check official sources before relying on the mark-scheme phrasing.