Refer to the pseudo-code logic below:
username ← "SuperCoder99"
role ← "Admin"
OUTPUT "Enter your password:"
password ← USERINPUT
Which pseudo-code statement assigns the length of the string username to a variable called charCount?
username ← LEN(charCount)
charCount ← LEN(username)
charCount ← username
username ← username + charCount
89 exam-style questions on AQA GCSE Computer Science String handling operations in a programming language. Each one has a worked solution and a mark scheme showing where the marks go.