Questions: Onscreen programming
New numbers every time.
Completing programs
- Complete the return lineComplete, 2 marks, Plus
- Replace a fixed value with a parameterAmend, 3 marks, Plus
- Complete a main program that calls subroutinesComplete, 3 marks, Plus
- Complete the lines inside a loopComplete, 4 marks, Plus
- Complete a procedure that prints a lineComplete, 3 marks, Plus
- Complete a function with the math libraryComplete, 3 marks, Plus
- Fill the numbered gaps in a programComplete, 4 marks, Plus
- Write two subroutines for a main programWrite, 5 marks, Plus
Fixing programs
- Fix two syntax errorsFix, 2 marks, Plus
- Fix the comparisons at the limitsFix, 2 marks, Plus
- Fix a loop that runs the wrong number of timesFix, 2 marks, Plus
- Fix input that was never convertedFix, 2 marks, Plus
- Fix a running total and a countFix, 3 marks, Plus
- Fix a check that uses AND where it needs ORFix, 3 marks, Plus
- Fix a return in the wrong placeFix, 3 marks, Plus
- Syntax, logic or runtime error?Identify, 1 mark, Plus
- Fix a syntax, a runtime and a logic errorFix, 4 marks, Plus
2D lists and records
- Complete nested loops over a 2D listComplete, 3 marks, Plus
- Find a value in a 2D listComplete, 4 marks, Plus
- Extend a program with a new subroutineExtend, 4 marks, Plus
- Fix the indexes in a 2D listFix, 3 marks, Plus
- Where a counter lands in a gridComplete, 4 marks, Plus
- Select records from a listComplete, 3 marks, Plus
- Total a field across recordsComplete, 4 marks, Plus
- Turn file lines into recordsComplete, 4 marks, Plus
- Extend a report on recordsExtend, 5 marks, Plus
- Sort records with a bubble sortComplete, 4 marks, Plus
- Records ready to write to a fileComplete, 3 marks, Plus
Validation, authentication and strings
- Complete a validation subroutineComplete, 3 marks, Plus
- Amend a program to re-ask until validAmend, 4 marks, Plus
- A type and length check on a codeComplete, 4 marks, Plus
- Extend a login to three attemptsExtend, 5 marks, Plus
- Check a username and password against stored listsComplete, 4 marks, Plus
- Build a code from parts of stringsComplete, 3 marks, Plus
- Amend a function that counts charactersAmend, 3 marks, Plus
- Fix and extend a Caesar cipherFix, 4 marks, Plus
- Tidy the capitals in a stringComplete, 3 marks, Plus
- Finish a format check on an email addressComplete, 4 marks, Plus
Longer tasks
- A longer task: a sports club (15 marks)Develop, 15 marks, Plus
- A longer task: cinema seats (14 marks)Develop, 14 marks, Plus
- A longer task: new accounts (13 marks)Develop, 13 marks, Plus
- A longer task: a shop's stock (12 marks)Develop, 12 marks, Plus
- A longer task: a league table (15 marks)Develop, 15 marks, Plus
AQA, Pearson Edexcel and OCR are registered trade marks of their owners. Brainlag Learn is independent: it is not affiliated with or endorsed by any exam board, and every question on it is original.