Difference between revisions of "CSC270 Final Exam 2011"
(Created page with "--~~~~ ---- <onlydft> '''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 ...") |
|||
Line 2: | Line 2: | ||
---- | ---- | ||
− | + | ||
'''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. | '''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. | ||
Line 12: | Line 12: | ||
+ | <onlydft> | ||
+ | |||
+ | <!-- ========================================================== --> | ||
+ | |||
+ | |||
+ | __TOC__ | ||
+ | |||
+ | <br> | ||
+ | You will have to reserve a kit for one 6-hour time-period at a time. There will be a shared Google-Doc sign-up sheet made available for this purpose. You cannot sign up for more than one session at a time. In other words, sign up for one session. If at the end of this session you need another session, then, and only then, do you sign up for the second session. | ||
+ | |||
+ | You will have to request a list of the ICs you need to your instructor before you can wire-up your circuit. You will be given only two ICs for each IC that you need, that is you will be given a spare of each IC you need. If an IC burns out or dies while you wire up, then use the spare. If the spare dies, then you won't be able to demonstrate the correct operation of your circuit. | ||
+ | So be careful! | ||
+ | |||
+ | Requests for ICs can be made via email, but will only be granted during ''normal'' hours, i.e. 9 a.m.-6 p.m. during week days. Requests made at other times may not be granted until the beginning of the next ''normal'' hour cycle. | ||
+ | |||
+ | Finally, you will need to make an appointment with your instructor to demonstrate how your circuit works. | ||
+ | |||
+ | <onlydft> | ||
+ | ==Problem #1: Analysis, Design, Wiring, Testing, Operation (3 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. | ||
+ | |||
+ | *Provide the complete and detailed schematics of your circuit. If you are using the 6811, provide the assembled listing of the program. Make sure you indicate pin numbers and part numbers. | ||
+ | |||
+ | *Be as precise as if this were a lab report. Somebody else should be able to understand, and wire-up your circuit from your answers. | ||
+ | |||
+ | ===Assistance=== | ||
+ | |||
+ | You cannot ask anybody to help you debug the wiring. No debugging help from the instructor either. The goal of this exam is for you to show that you can go from the formulation of a problem to a working hardware solution '''on your own'''. | ||
+ | |||
+ | ===The reduced-point options=== | ||
+ | |||
+ | * You can pass on the wiring part of this problem and get at most 1 point out of 3 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 points out of 3 for this whole problem. | ||
+ | |||
+ | * You can simplify some more the design and implement only three blinking lights with no switches for 1.5 points out of 3. | ||
+ | |||
+ | ==Problem #2: EPROM-based sequencers (1 point)== | ||
+ | |||
+ | [[Image:CSC270_Eprom_die.jpg | right | 200px]] | ||
+ | Using the information from this [http://www.allaboutcircuits.com/vol_4/chpt_16/3.html site] (and/or other sources including Web sites you may find), explain how you would create a solution for Problem #1 using the approach presented. | ||
+ | |||
+ | * Show the wiring of the [http://en.wikipedia.org/wiki/EPROM EPROM] and clearly show how you would wire the switches to the ROM-based sequencer. | ||
+ | * Show the contents of the EPROM. | ||
+ | |||
+ | |||
+ | <!-- ========================================================== --> | ||
==Recommendations== | ==Recommendations== | ||
Revision as of 10:13, 15 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.