Difference between revisions of "CSC270 Final Exam 2011"

From dftwiki3
Jump to: navigation, search
Line 35: Line 35:
  
 
==Problem #1: No 7442 chips (0.75 points)==
 
==Problem #1: No 7442 chips (0.75 points)==
 +
 +
This problem does not need wiring.  Only a paper answer is required.
  
 
Fictitious situation: You come to the lab ready to wire up your solution to a problem requiring you to implement a 3-bit output port for the 6811 and you discover that all the 7442 circuits have been taken away.  You only have a limited time, and you cannot order or buy new ones.  Your only solution is to use whatever is in the lab (FH143) to make your port work, as demonstrating the operation of your 3-bit output port is a required part of the assignment.  Explain your solution to circumvent this unfortunate turn of events.  Use logic diagrams in your explanations.   
 
Fictitious situation: You come to the lab ready to wire up your solution to a problem requiring you to implement a 3-bit output port for the 6811 and you discover that all the 7442 circuits have been taken away.  You only have a limited time, and you cannot order or buy new ones.  Your only solution is to use whatever is in the lab (FH143) to make your port work, as demonstrating the operation of your 3-bit output port is a required part of the assignment.  Explain your solution to circumvent this unfortunate turn of events.  Use logic diagrams in your explanations.   
  
You do not need to demonstrate the correct operation of your solution.
 
  
 
==Problem #2: 1/2 second delay (0.75 points)==
 
==Problem #2: 1/2 second delay (0.75 points)==
 +
 +
This problem does not need wiring.  Only a paper answer is required.
  
 
In a recent lab you had to design an output port and activate two LEDs in such a way that the LEDs were on for 1 second at a time, then would switch state.
 
In a recent lab you had to design an output port and activate two LEDs in such a way that the LEDs were on for 1 second at a time, then would switch state.
Line 46: Line 49:
 
Explain how you would design a similar solution, but when the delay is now 0.5 seconds.  You can use whatever is available in FH143.
 
Explain how you would design a similar solution, but when the delay is now 0.5 seconds.  You can use whatever is available in FH143.
  
You do not need to demonstrate the correct operation of your solution.
+
==Problem #3: Input AND Output port==
 
 
 
 
==Problem #3: Analysis, Design, Wiring, Testing, Operation (2.5 points)==
 
 
 
[[Image:CSC270 trafficLight.jpg | right | 150px]]
 
*Using the 6811 or a state-machine made of D-flipflop, wire up  a circuit that controls the three lights of a traffic-light (Green, Orange, Red). 
 
 
 
* It has 2 input switches, which can be momentary switches or regular switches (you pick what is best for your design).
 
 
 
*When nobody is around, the switches are positioned in a way consistent with your design, and the  traffic lights are going through a cycle of green, orange, red, green, orange, red... activations.  The lights stay on for 1 second only.  We will call this mode the ''green-orange-red'' mode.
 
 
 
*When people want to cross the street, they either push or switch  one of the switches (the one on their side of the street), until the traffic lights change pattern and start blinking the red light. Red stays on for a second,  then turns off for a second, then back on again for a second, etc.  We refer to this mode as the ''blinking-red'' mode.  Note: if it makes your design simpler to make the blinking-red mode a mode where red alternates with orange, then you can do so.
 
 
 
*During  the blinking-red mode people can safely cross the street. 
 
 
 
*Once on the other side of the street, the people can press or switch the other switch which make the lights to go back to a green-orange-red mode.
 
 
 
===Details about the change from green-orange-red to blinking-red mode===
 
 
 
* Be imaginative and creative!  Look where you can simplify your design, and what assumptions you can make to simplify your circuitry.  The fewer ICs you have to use and wire-up, the better the chances they will work.
 
 
 
*If the green light is on when a person activates a switch, the lights move to orange first, then red, then start blinking.
 
  
*If the orange light is on when somebody activates a switch, the system moves to blinking red, either with the red light on first, or with all lights off first.  You pick what is simpler.
 
  
*You can decide how the system moves back from the blinking-red mode to the green-orange-red mode.
 
  
*Wire up the circuit and demonstrate that it works.
+
==Problem #4: Analysis, Design, Wiring, Testing, Operation (2.5 points)==
  
*Provide the complete and detailed schematics of your circuit. If you are using the 6811, provide the assembled listing of the programMake sure you indicate pin numbers and part numbers.
+
Create a digital electronic circuit that will allow the Heathkit to exchange one byte with the Arduino.   You are free to pick the direction of the transferYou are free to decide how to send the byte (serially or in parallel).
  
*Be as precise as if this were a lab reportSomebody else should be  able to understand, and wire-up your circuit from your answers.
+
When you circuit is wired up and working, you will demonstrate it to your instructor who will ask you to demonstrate the transfer of a particular byteFor example you may be asked "Show that 41 hex can be sent from one system to the other." You will then have to reprogram the sending system with 41, and restart it.  Then, without changing anything in the receiving system, we should see that 41 was sent through.    You are free to decide how to demonstrate this.
  
 
===Assistance===
 
===Assistance===
Line 85: Line 64:
  
  
===The reduced-point options===
+
===Requirements===
 
 
* You can pass on the wiring part of this problem and get at most 1 out of 2.5 points for the whole problem by turning in the written part.
 
 
 
* You can simplify the design to use only one switch for a maximum of 2 out of 2.5 points for this whole problem.
 
 
 
* You can simplify some more the design and implement only three blinking lights with no switches for 1.5 out of 2.5 points.
 
  
 +
You do not need to write a report.  The schematics of your circuit, nicely labeled (hand-drawings are fine), and the listing of the programs, well formatted are sufficient.
  
  
Line 102: Line 76:
  
  
 +
==Submission==
  
 +
Please submit a pdf with all your answers and email it to thiebaut@cs.smith.edu before the deadline.  In case the Smith server is down, email it to your instructor's gmail address.
  
 
</onlydft>
 
</onlydft>

Revision as of 16:23, 25 April 2011

--D. Thiebaut 10:24, 13 April 2011 (EDT)


This final exam is take-home. It is open-books, open-notes, and open-Web. It is due a week after it is made available, at 4:00 p.m. on Wed. May 4, 2011.

You cannot discuss the details of this exam with anyone except your instructor. No question will be answered in person after 2:30 a.m. on 4/29/11. Instead, if you have questions regarding the exam, you are to send them via email to thiebaut@cs.smith.edu, and the question and its answer will be broadcast back to the hole class via email.

The exam is given under the rules of the Smith College Honor Code.

Make sure you reference all work/resources you use to answer the questions below.



...