අන්තර්ගතයට යන්න
mcqdinethlive
SPARK

Read logic gate inputs as a number first

When an A/L ICT logic question says the inputs form a binary number, write the MSB to LSB order and a decimal column first. The 2025 bank vault question shows how.

සිංහලෙන් කියවන්න

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

මේ Spark එක බෙදාගන්න

A/L ICT කරන යාළුවෙකුට යවන්න.

තවත් Sparks

  1. English

    Layer 2 and Layer 3 switches 101

    A Layer 2 switch forwards frames by MAC address inside one LAN, and a Layer 3 switch also routes packets by IP address between networks. Why both exist, where they work today, and the past paper questions that test them.

  2. English

    Planning an A/L ICT second attempt

    A low 2026 A/L ICT result is a map of gaps, not an end. Six units carry 73.4% of the marks, and every paper for the plan is free on this site.

  3. English

    Sequential search in Python 101

    A sequential search returns inside the loop on a match and gives the not found value only after the loop. 2026 Paper II Q9(c) shows where that line goes.

All Sparks