Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)
Paper format. This paper's cover page prints the exam code 18-Elec-A4, Digital Systems and Computers (National Examinations, May 2018), a three-hour closed-book exam with one approved calculator model permitted. The cover page states that FIVE of the SIX printed questions constitute a complete exam paper; all six are worked here, each worth 12 marks per the page-1 marking-scheme table.
Reference texts. M.M. Mano & M.D. Ciletti, Digital Design, 6th ed. (K-map minimisation and static hazards Ch.3; sequential circuit analysis/design and JK excitation Ch.5–6; PLA/PAL Ch.7); C. Hamacher, Z. Vranesic, S. Zaky & N. Manjikian, Computer Organization and Embedded Systems, 6th ed. (address decoding and memory-mapped I/O Ch.1, 8); Motorola/ Freescale, M68HC11 Reference Manual (accumulator-A load/store timing, port I/O).