Choose which led that will light up, (Digital circuit)?
So it sounds like what you are describing is you have one button that acts as a clock, and two switches that act as data... Or more accurately one switch is a one bit address and the other is one of bit data.



That should be enough to get you started, but I'll go a little further.

You have two outputs, which are changed depending on the input data, at the clock edge. That means you need at least two latches. You now need to figure out what the truth table of the input data is to present the right level to the D inputs of the two latches.

Once you have that, you can generate the appropriate logic circuit and present the clock. Using two 2-1 multiplexers makes it simple, shown below, but don't look if you don't want to cheat.


   


simulate this circuit &ndash; Schematic created using CircuitLab