This quiz assesses your understanding of flowchart symbols, particularly those related to data storage, and your ability to map these symbols to pseudocode algorithm constructs. These are fundamental skills for Cambridge IGCSE Computer Science (0478/0984) Paper 2, focusing on Problem-solving and Programming. You should be familiar with standard flowchart symbols (terminator, process, input/output, decision, connectors, and common storage media symbols) and basic pseudocode structures (sequence, selection, iteration).
Scenario: Library Book Loan
A local library is developing a system to manage book loans. The system needs to check if a requested book is available in its database and if the library member has any outstanding fines. Based on these checks, the system will either issue the book and update its status, or inform the member why the loan cannot be processed.
1. START
2. INPUT BookID, MemberID
3. SEARCH BookDatabase for BookID
4. IF BookNotFound THEN
5. OUTPUT "Book not in library records."
6. ELSE
7. SEARCH MemberDatabase for MemberID fines
8. IF MemberHasFines THEN
9. OUTPUT "Loan denied: Outstanding fines."
10. ELSE
11. OUTPUT "Book issued."
12. UPDATE BookDatabase: Mark BookID as loaned
13. STORE LoanDetails (BookID, MemberID, Date) in LoanHistoryFile
14. ENDIF
15. ENDIF
16. END