Difference between revisions of "CSC103 Homework Assignment 2"

From dftwiki3
Jump to: navigation, search
(Logic Design Assignment)
(Logic Design Assignment)
Line 3: Line 3:
 
=Logic Design Assignment=
 
=Logic Design Assignment=
  
Look at the following three logic circuits.
+
Computers designers sometimes use a circuit called a ''majority voter''.  A majority voter is a circuit that has three input signals and one output signal, and it outputs the ''majority'' of the input signals.
  
 +
When two or more inputs are 1, the majority voter outputs 1.
 +
 +
When two or more inputs are 0, the majority voter outputs 0.
 +
 +
==Question 1==
 +
 +
What is the truth table of the majority voter?
 +
 +
==Question 2==
 +
 +
The following three logic circuits are candidates for a majority voter.
 +
 +
Which of the circuits actually has the same truth table as the one you found in Question 1?
 +
 +
* Circuit A?
 +
* Circuit B?
 +
* Circuit C?
 +
* Circuits A and B?
 +
* Circuits A and C?
 +
* Circuits B and C?
 +
* all three?
 +
 +
Explain how you figure out the answer.
  
 
<center>
 
<center>

Revision as of 14:48, 17 September 2008

PageUnderConstruction.gif

Logic Design Assignment

Computers designers sometimes use a circuit called a majority voter. A majority voter is a circuit that has three input signals and one output signal, and it outputs the majority of the input signals.

When two or more inputs are 1, the majority voter outputs 1.

When two or more inputs are 0, the majority voter outputs 0.

Question 1

What is the truth table of the majority voter?

Question 2

The following three logic circuits are candidates for a majority voter.

Which of the circuits actually has the same truth table as the one you found in Question 1?

  • Circuit A?
  • Circuit B?
  • Circuit C?
  • Circuits A and B?
  • Circuits A and C?
  • Circuits B and C?
  • all three?

Explain how you figure out the answer.

Circuit A


Circuit B


Circuit C


Wiki Assignment

Part I

  • Go to your class wiki as you did in the lab on Wednesday, Sept. 17.
  • Add these two lines at the very top of your wiki (in edit mode):
*  [[103a-xx_Demo | My demo page]]
* [[103a-xx_PC_Lab | My report]] on the PC lab
Make sure you replace xx by the two letters that define your account for this class.
  • Save your edits and verify that you have two lines at the top of your page that look like this:
My demo page
My report on the PC lab
  • Edit your page again, and cut all the text that is below the two lines you just added. Use Control-X to cut the text, so that you will have a copy of the text in your clipboard (if that doesn't make sense, you may seek help from the TAs or your instructor during the week).
  • Save the page, so that it will contain only the first two lines you just entered.
  • in View mode, click on "My demo page"
  • The editor shows up: paste what is in your clipboard in the editor window with Control-V.
  • Save the page.
  • Go back to the previous page, which is now your main page. The first line should now be blue, indicating that you have a working link to an existing page.


Congratulations, you have moved the demo page that you created in the lab to a new page, and have created a link to it!

Part II

  • On your main page, click on "My report"
  • The editor opens and presents you with a blank page.
  • Use wiki constructs (lists, headers, subheaders, links to pictures) to put together a page which will be a report of your activities on Monday.

    In particular, your wiki page should contain
    • Your name
    • The date of the lab
    • The model number of your computer (for example, a Dell 620GX)
    • A picture of your team
    • Pictures of your computer at different stages of disassembly
    • A picture of the processor (make sure you ask the helpers to point it out to you on Monday!)
    • A picture of the memory (same comment)
    • A picture of the power supply
    • A picture of the hard disk
    • A picture of the CD/DVD Rom
    • A picture of the mother board.
    • Any other pictures you feel are good pictures of parts you discovered in your computer.
    • A brief description of the steps you took to disassemble your computer. the challenges, the surprises, and the discoveries.
    • A wiki construct that wasn't in the lab, but that you found in one of the wiki resources listed at the bottom of this page.
  • The format is free form. Feel free to make it look nice, readable, and error free (that goes for spelling mistakes as well!).


That's it. This is what you have to do for this lab. Later on you will have a chance to add more information to your wiki as we learn more in the class.

You do not have to submit anything. Alex, our TA will print all the pages after the due date, and I will grade them.

Wiki Resources