When a logic question says that the inputs form a binary number, write the input order from MSB to LSB and a decimal column before anything else. 2025 P-II B Q5(b) is the clearest case so far. A bank vault has a timer and three keys. The timer is the MSB, k0 is the LSB, and the vault opens only for multiples of 3 or 7.
With the columns T, k2, k1 and k0 and the place values 8, 4, 2 and 1, the question becomes a list of numbers: 3, 6, 7, 9, 12, 14 and 15. Write 1 in those seven rows and 0 in the other nine. Zero is not in the list, so row 0000 gives 0. The official marking scheme gives 4 of the 7 marks for this table, with every 0 and 1 written (2025 ලකුණු දීමේ පටිපාටිය, පිටුව 47). When a paper does not name the MSB, as in 2023 (held 2024) P-II B Q5(a), take the first letter as the MSB and write that assumption above the table.
Number systems, adders and flip-flops have all joined the logic question since 2023. The full list, the vault question step by step and a prediction of the next joins are in an Explained post. Then try the 2025 paper.
Past PaperA/L ICT 2025 Past PaperMCQ 50 · මිනි. 120 · ලියූ වාර 0Open paper