Difference between revisions of "CSC103 Take-Home Exam 2013"
Line 3: | Line 3: | ||
<br /> | <br /> | ||
<bluebox> | <bluebox> | ||
− | This exam will be a one-week take-home exam and will be released on 10/10/13. | + | This exam will be a one-week take-home exam and will be released on 10/10/13. It is given under the '''rules of the Smith College Honor Code''', and the work your turn in must reflect your individual work on this exam. You cannot discuss any of the details of this exam with anybody except me, your instructor (D. Thiebaut). If you have a question, please post it to Piazza, and make it private to your instructor only. I will answer it and make it public if I think everybody would benefit from the question and its answer. Piazza wil/should send an update, or an email right away when something is posted, depending on how you set your profile. Questions will NOT be answered in person outside the last class time. The reason for this is to make sure everybody gets the same information from questions. Piazza is therefore the only system for you to ask questions. |
+ | |||
+ | The exam is due on 10/17/13, at 9:00 a.m. | ||
</bluebox> | </bluebox> | ||
<br /> | <br /> | ||
<center> <font size="+2">Page under construction!</font> <br \>[[File:UnderConstruction.jpg|300px]] </center> | <center> <font size="+2">Page under construction!</font> <br \>[[File:UnderConstruction.jpg|300px]] </center> | ||
− | + | ||
− | |||
<br /> | <br /> | ||
<br /> | <br /> | ||
Line 82: | Line 83: | ||
<center>[[Image:CSC103LogicCircuitFinalExam2013.png|200px]]</center> | <center>[[Image:CSC103LogicCircuitFinalExam2013.png|200px]]</center> | ||
<br /> | <br /> | ||
− | =Problem 3= | + | =Problem 3: A Book Cover for our Class= |
<br /> | <br /> | ||
− | + | Assume we want to create a booklet cover or our class notes. We create a Processing sketch that draws some interesting colorful shapes on the screen, along with a title; we take a screen capture, and voilà! We have our cover! | |
+ | |||
+ | Your assignment is to write the sketch! | ||
+ | |||
+ | To get an idea of what your sketch should do, watch this short YouTube video. | ||
<br /> | <br /> | ||
<center><videoflash>54NB0U-9DX4</videoflash></center> | <center><videoflash>54NB0U-9DX4</videoflash></center> | ||
<br /> | <br /> | ||
− | You will notice that when the video starts the applet already contains some shapes and text. Then everything disappears except the text. | + | You will notice that when the video starts the applet already contains some shapes and text that were generated before the movie capture started. Then I bring the mouse inside the applet, click the mouse button, and everything disappears (except the text). Actually the text disappeared, but it was brought back right away, so it looks like it wasn't erased, but actually it was! |
− | Then I move the mouse around, | + | Then I move the mouse around, which creates some squares when the mouse is inside the right half of the applet, and some circles when it is in the left half. At some point I click the mouse button again, which erases everything a second time. |
− | Note also that the circles are more red on top of the applet, and more yellow at the bottom of the applet. They are also smaller when close to the left border than when they are close to the middle of the applet. | + | Note also that the circles are more red on top of the applet, and more yellow at the bottom of the applet. Their variation is gradual. They are also smaller when close to the left border than when they are close to the middle of the applet. |
The rectangles have a simpler behavior. They change color, going from green in the middle of the applet to yellow when near the right vertical border. | The rectangles have a simpler behavior. They change color, going from green in the middle of the applet to yellow when near the right vertical border. | ||
+ | <br /> | ||
==Your Assignment== | ==Your Assignment== | ||
+ | <br /> | ||
Your assignment is to recreate this sketch as closely as possible. You may pick different colors for the text, the squares, and the circles, but their behavior should be (as much as you can) close to the behavior shown in the movie. | Your assignment is to recreate this sketch as closely as possible. You may pick different colors for the text, the squares, and the circles, but their behavior should be (as much as you can) close to the behavior shown in the movie. | ||
+ | <br /> | ||
+ | =Submission= | ||
+ | <br /> | ||
+ | Submit everything on paper. You may type or neatly hand-write your answers, including the Processing sketch. | ||
</onlydft> | </onlydft> | ||
<br /> | <br /> | ||
[[Category:CSC103]][[Category:Exam]] | [[Category:CSC103]][[Category:Exam]] |
Revision as of 15:30, 8 October 2013
--D. Thiebaut (talk) 10:06, 25 September 2013 (EDT)
This exam will be a one-week take-home exam and will be released on 10/10/13. It is given under the rules of the Smith College Honor Code, and the work your turn in must reflect your individual work on this exam. You cannot discuss any of the details of this exam with anybody except me, your instructor (D. Thiebaut). If you have a question, please post it to Piazza, and make it private to your instructor only. I will answer it and make it public if I think everybody would benefit from the question and its answer. Piazza wil/should send an update, or an email right away when something is posted, depending on how you set your profile. Questions will NOT be answered in person outside the last class time. The reason for this is to make sure everybody gets the same information from questions. Piazza is therefore the only system for you to ask questions.
The exam is due on 10/17/13, at 9:00 a.m.