Difference between revisions of "CSC103 Take-Home Final Exam Spring 2012"
Line 18: | Line 18: | ||
=What to submit= | =What to submit= | ||
− | * You will need to | + | * You will need to handout your answers on paper on the due date. |
− | * Use whatever word processor you like to | + | * Use whatever word processor you like to write your answers. When copying/pasting the assembly language or processing code to your document, please use a non-proportional font, such as ''courrier'' for the code: it makes it look nicer, and it is easier to read that way. |
− | =Boolean Logic= | + | =Problem 1: Boolean Logic= |
* What is the truth table of the boolean function ''f'' below, which is a function of three boolean variable ''a'', ''b'', and ''c''? | * What is the truth table of the boolean function ''f'' below, which is a function of three boolean variable ''a'', ''b'', and ''c''? | ||
Line 32: | Line 32: | ||
<br /> | <br /> | ||
− | =Programming in Processing= | + | =Problem 2: Programming in Processing= |
[[Image:CSC103ProcessingFinal2012.png|right|150px]] | [[Image:CSC103ProcessingFinal2012.png|right|150px]] | ||
==Initial Program== | ==Initial Program== | ||
Line 90: | Line 90: | ||
<br /> | <br /> | ||
− | =Assembly Language Program= | + | =Problem 3: Assembly Language Program= |
* Write a assembly language program that contains 1 variable, '''var1''', and one loop, and that computes the sum of all the integers between 10 and 1 and stores this sum in '''var1'''. | * Write a assembly language program that contains 1 variable, '''var1''', and one loop, and that computes the sum of all the integers between 10 and 1 and stores this sum in '''var1'''. | ||
Line 103: | Line 103: | ||
:You must use a loop! | :You must use a loop! | ||
− | =Essay Question | + | =Problem 4: Essay Question= |
− | * Pick a particular technological process, and a measure associated with it (computer speed, amount of data generated, size of a device, ability to process some quantity of information) and explain in a 1-page paper how it has evolved '''during your life time'''. Make sure you find several data points spanning your 20 | + | * Pick a particular technological process, and a measure associated with it (computer speed, amount of data generated, size of a device, ability to process some quantity of information) and explain in a 1-page paper how it has evolved '''during your life time'''. Make sure you find several data points spanning your 20-year time scale and indicate if these points represent an exponential growth, and if not what kind of growth that is. |
* Please type your answer so that it fits one page of text, single spaced. You may include graphs to support your explanations. | * Please type your answer so that it fits one page of text, single spaced. You may include graphs to support your explanations. | ||
</onlydft> | </onlydft> |