Difference between revisions of "CSC103 Take-Home Final Exam Fall 2012"
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
--[[User:Thiebaut|D. Thiebaut]] 11:34, 16 October 2012 (EDT) | --[[User:Thiebaut|D. Thiebaut]] 11:34, 16 October 2012 (EDT) | ||
---- | ---- | ||
+ | <onlydft> | ||
<bluebox> | <bluebox> | ||
This exam is given under the rule of the [http://www.smith.edu/sao/handbook/socialconduct/honorcodestatement.php Smith College honor code]. Your work has to be done individually. You cannot discuss ANY of this material with anybody, with the exception of your instructor. TAs are not allowed to give help about this final exam. | This exam is given under the rule of the [http://www.smith.edu/sao/handbook/socialconduct/honorcodestatement.php Smith College honor code]. Your work has to be done individually. You cannot discuss ANY of this material with anybody, with the exception of your instructor. TAs are not allowed to give help about this final exam. | ||
<br /> | <br /> | ||
Once the last lecture of the 1/2 semester is over, questions can only be addressed via email. Whenever you send your instructor a question, the question and the answer will be broadcast back to the whole class within a short time period (between 7:00 a.m. - 9:00 p.m.). | Once the last lecture of the 1/2 semester is over, questions can only be addressed via email. Whenever you send your instructor a question, the question and the answer will be broadcast back to the whole class within a short time period (between 7:00 a.m. - 9:00 p.m.). | ||
+ | <br /> | ||
+ | Submit your final exam on paper to your instructor (office in FH356) on 10/25/12, at 9:00 a.m. | ||
</bluebox> | </bluebox> | ||
− | |||
=Problem #1: Logic Gates and Boolean Algebra= | =Problem #1: Logic Gates and Boolean Algebra= | ||
Line 16: | Line 18: | ||
=Problem #2: Assembly Language= | =Problem #2: Assembly Language= | ||
* Write an assembly language program that contains a loop and at least one variable called '''sum'''. Before the loop starts the variable '''sum''' contains 0. Once the loop ends the variable '''sum''' contains the sum of all the multiples of 3 between 0 and 30. In other words, your program computes 0 + 3 + 6 + 9 + 12 + 15 + 18 + 21 + 24 + 27 + 30 and stores the result in the variable '''sum'''. | * Write an assembly language program that contains a loop and at least one variable called '''sum'''. Before the loop starts the variable '''sum''' contains 0. Once the loop ends the variable '''sum''' contains the sum of all the multiples of 3 between 0 and 30. In other words, your program computes 0 + 3 + 6 + 9 + 12 + 15 + 18 + 21 + 24 + 27 + 30 and stores the result in the variable '''sum'''. | ||
+ | |||
+ | ==Submitting the Program == | ||
+ | |||
+ | * Please submit the code of your assembly program the same way you did for previous homework assignments. | ||
+ | * Go to this URL: http://maven.smith.edu/~thiebaut/103/submitfinal.htm | ||
+ | * Enter your 2-letter Id | ||
+ | * Enter the problem number (2) | ||
+ | * Add your name in the top of the text area, prefixed with two semicolons (to make it a comment) | ||
+ | * Paste your code in the text area, and | ||
+ | * Submit it! | ||
+ | <br /><br /><br /> | ||
+ | <tanbox>You should still submit a copy of your program on paper with your final exam.</tanbox> | ||
+ | <br /><br /><br /><br /> | ||
=Problem #3: Processing Language= | =Problem #3: Processing Language= | ||
Line 74: | Line 89: | ||
<br /> | <br /> | ||
− | ==Submitting the Program | + | ==Submitting the Program == |
− | |||
− | * Please submit the code of your sketch the same way you did for | + | * Please submit the code of your sketch the same way you did for previous homework assignments. |
− | * Go to this URL: http://maven.smith.edu/~ | + | * Go to this URL: http://maven.smith.edu/~thiebaut/103/submitfinal.htm |
− | * Enter your 2-letter Id ( | + | * Enter your 2-letter Id |
+ | * Enter the Problem number (3) | ||
* Add your name in the top of the text area, prefixed with two slashes (to make it a comment) | * Add your name in the top of the text area, prefixed with two slashes (to make it a comment) | ||
* Paste your code in the text area, and | * Paste your code in the text area, and | ||
Line 87: | Line 102: | ||
<br /><br /><br /><br /> | <br /><br /><br /><br /> | ||
+ | </onlydft> | ||
− | |||
<br /> | <br /> | ||
<br /> | <br /> |