Difference between revisions of "CSC103 2011 Take-Home Final Exam 2"
(2 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
</center--> | </center--> | ||
− | + | <onlydft> | |
<tanbox> | <tanbox> | ||
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 '''noon''' on Friday April 22nd, 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 '''noon''' on Friday April 22nd, 2011. | ||
Line 19: | Line 19: | ||
<br /> | <br /> | ||
<br /> | <br /> | ||
− | + | ||
=Problem #1: Boolean Logic (30 points)= | =Problem #1: Boolean Logic (30 points)= | ||
Line 73: | Line 73: | ||
and displays the following output: | and displays the following output: | ||
+ | <source lang="text"> | ||
********** | ********** | ||
********* | ********* | ||
Line 83: | Line 84: | ||
** | ** | ||
* | * | ||
− | + | </source> | |
Note that there are 10 lines, and each line contains a decreasing number of stars. The first line contains 10 stars, the second 9 stars, etc. | Note that there are 10 lines, and each line contains a decreasing number of stars. The first line contains 10 stars, the second 9 stars, etc. | ||
Line 106: | Line 107: | ||
* Make sure you write your name at the top of the document. | * Make sure you write your name at the top of the document. | ||
* Submit your pdf file as an attachment of a message you will mail to 103b@cs.smith.edu, with the subject '''final exam''' | * Submit your pdf file as an attachment of a message you will mail to 103b@cs.smith.edu, with the subject '''final exam''' | ||
− | </ | + | <br /> |
<br /> | <br /> | ||
<br /> | <br /> | ||
<br /> | <br /> | ||
<br /> | <br /> | ||
− | < | + | </onlydft> |
− | |||