This is usually a fun course. As you can expect, it's very logic but it does have tricky parts (e.g. designing state machines and dealing with MOS transistors). The Harris & Harris book is quite good for the digital part.
A 5th supervision is sometimes requested by students but not needed by default.
Supervision 1:
 Exercises 15 from the Example Sheet.
 The conjunctive normal form for a boolean function F on three variables consists of a product of sums, with each sum containing three literals. How would you use the truth table of F to obtain an expression for F in this form?
 Design a vending machine control circuit. A soft drink costs 45c, and your circuit records the nickels (5c), dimes (10c), and quarters (25c) fed to the machine. It issues a command to dispense a can when the appropriate payment has been equalled or exceeded. Assume that at least one quarter is used and that coin counters make available binary counts for each kind of coin.
 How would a fivevariable Karnaugh map look like? (remember the adjacency property of Karnaugh maps given by the Gray code). How would you expand to six or seven variables and beyond?
 [OPTIONAL] How many (different) possible functions can be mapped on a two, three and fourvariable Karnaugh map? For each case, what is the proportion of possible functions that cannot be simplified?
Supervision 2:
 Exercises 613 from the Example Sheet.
 Solve the vending machine question from last supervision without any assumption, i.e. any number of quarters is now possible, including zero.

Find a minimal sum of products form for each of the following partially specified boolean functions. Each partially specified function, g[i], is specified by a function f[i] which is true when g[i] must be true and d[i] which is true when g[i] may be true or false (that is, d[i] represents "don't cares").
f[1] = y.x.w' + x.y.z + y'.x'.z'.w + x.w.z
d[1] = x'.zf[2] = y.w'.z' + w'.x'.z' + y'.w'.z'
d[2] = x'.w.z'NOTE: here x.y means "x and y", and x' means "not x". This is common notation.
 What is the maximum number of product terms in a minimal sum of products form of a function of n boolean variables?
 How do "don't cares" arise in practice? How may they be exploited? Are there any pitfalls in using them? Give examples for each of your answers.
 [OPTIONAL] Determine and prove whether applying DeMorgan can change (i.e. add or remove) static hazards of a logic circuit. Hint: using only boolean algebra may not get you very far.
Supervision 3:
 Exercises 1418 from the Example Sheet.
 Design the vending machine from last supervision using sequential logic, i.e. build a finite state machine. Derive the state diagram and the algebraic expressions for the next states and the output. Assume that the vending machine detects the coin type and asserts high one of n,d,q when a nickel,dime,quarter respectively is inserted. Hence your state machine will have 3 inputs. You are free to choose the flipflop type.

Consider the following state machine, with clock CLK, inputs A,B, and outputs X,Y.
 How many states does this system have?
 How many rows will there be in a state transition table?
 Provide the state transition table.
 Draw a state diagram of the system.
 Describe what the circuit does (i.e. use words).

 An nbit decoder is a combinational circuit with n inputs and 2^{n} outputs. For each possible combination at the inputs there is only one corresponding output which is set to "1". Design the circuit for a 3bit decoder.
 Ignoring inverters, how many gates are required for your 3bit input design? How many are required for an nbit decoder?
 An nbit priority encoder has 2^{n}−1 inputs and n outputs. The inputs x[1], x[2], ..., x[2^{n−1}] are ordered in priority with x[k] having higher priority than x[i] if k > i. The outputs y[n−1], y[n−2], ..., y[0], interpreted as an unsigned integer, denote the highest priority input asserted high. Give a design for a 3bit priority encoder.
 Give two designs for a combinational circuit which has M ordered inputs and M corresponding outputs where the only output asserted (if any) is the one corresponding to the asserted input with the highest priority.
 Which design is better, and why?
Supervision 4:
 Questions 1922 from the Example Sheet.
 CST 2001 Paper 10 Question 1 parts c,d,e,f only.
 CST 2004 Paper 2 Question 2 parts b,c,d only.
 CST 2000 Paper 2 Question 3.
 [OPTIONAL] CST 2000 Paper 10 Question 9.