Sample questions, and how each is marked.
Two ways an answer is marked, against a key or by running what you built, on digital specimens written for this page.
- 01AptitudeEveryone
- 02Choose your domainsOne or more of four
- 03Domain questionsDigital · one specimen
- 04Built answersDigital · Verilog and drawn
A digital question, marked against the key.
Pick an answer to see how it is marked.
A 4-to-1 multiplexer has sel set to 10. Which input appears at y?
How it is marked
Against the key, the moment the answer is saved. Pick an option to see the rule applied.
- Right
- The question’s marks
- Wrong
- Its negative marks, if it has any
- Unanswered
- Nothing
Marks and negative marks are set per question. A paper never shows the key; this page does, to show the rule.
A digital build problem set in Verilog.
Build a 4-to-1 multiplexer.
y takes d0, d1, d2 or d3 according to sel. You are given the module; you fill it in and press Run.
1module mux4 (
2 input [3:0] d,
3 input [1:0] sel,
4 output y
5);
6 // your answer here
7endmodule
| Port | Dir | Width | Meaning |
|---|---|---|---|
| d | in | 4 | the four data inputs, d3 down to d0 |
| sel | in | 2 | selects which d reaches y |
| y | out | 1 | the selected bit |
A wrong attempt can carry a penalty set per contest, so a run is a decision, not a reflex.
A failure gives you the waveform at the first mismatch: see what your circuit did, change it, run again.
Press Run to replay this failure.
A digital build set as a drawing, marked by the same testbench.
Gates instead of a text editor. You place and wire them; when you run, the drawing is driven by the same hidden testbench.
Judged on behaviour alone. Any circuit that produces the right outputs is correct, however you built it.
Set sel and watch the term that wins
with d = 1010 → y = —
One correct drawing: four AND terms decoded from sel, into one OR.
| sel | term high | source | y |
|---|---|---|---|
| 00 | sel1′ · sel0′ | d0 | 0 |
| 01 | sel1′ · sel0 | d1 | 1 |
| 10 | sel1 · sel0′ | d2 | 0 |
| 11 | sel1 · sel0 | d3 | 1 |