CSC103 Homework Assignment 2

From dftwiki3
Jump to: navigation, search

This assignment is due Wednesday, Sept 24th. The written part is due in class, at 9:00 a.m.. The wiki part is due at midnight Wednesday evening.

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? (Hints, if you have three input variables, your table will have more than 4 rows!)

Question 2

The following three logic circuits are candidates for a majority voter. They were generated by our logic design tool [1]

Which circuit or circuits are majority voters?

  • 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.

Write or type you answers on paper and turn it in during the lecture, on Wednesday Sept 24th.

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!

Note: if you do not mind having your name on your Wiki pages, please do so, as it makes it more personal. However, I understand fully if you prefer not to have your name on a document that is available on the World Wide Web, and I will respect your decision. This will have no influence on the grade.

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 your wiki look nice, readable, and make sure it is error free. That goes for the name of the different computer parts, and for spelling mistakes!


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. Juste make sure your page is ready by midnight, on Wednesday Sept 24th. Alex, our TA will print all the pages after the due date, and I will grade them.

Resources


  • The page of our TA, Alex
  • Our other TA, Diana Jaunzekare, has hours in McConnel 104 (CS lounge) on
    • Sundays 7-10pm
    • Mondays 7-9pm
    • Tuesdays 7-9pm