Difference between revisions of "CSC103 Take-Home Final Exam Spring 2012"

From dftwiki3
Jump to: navigation, search
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlydft>
+
 
  
 
<tanbox>
 
<tanbox>
Line 18: Line 18:
 
=What to submit=
 
=What to submit=
  
* You will need to type your answers in one single text file that you will then print out and hand out on the due date.
+
* You will need to handout your answers on paper on the due date.
* Use whatever word processor you like to work with.  When copy/pasting the assembly language or processing code, use a non-proportional font, such as ''courrier'' for the code: it makes it look nicer, and it is easier to read that way.
+
* 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.
 +
* If you cannot submit your work in person, email it to  [mailto:thiebaut@cs.smith.edu thiebaut@cs.smith.edu], and make sure the subject of your message reads "'''CSC103 Finall Exam'''".
  
=Boolean Logic=
+
<onlydft>
 +
=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 34:
 
<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 88: Line 90:
 
<center><videoflash>1g_S8ekD0nk</videoflash></center>
 
<center><videoflash>1g_S8ekD0nk</videoflash></center>
 
<br />
 
<br />
<br />
 
  
=Assembly Language Program=
+
==Submitting the Program (<font color="red">NEW SECTION</font>)==
 +
(Section added on 3/8/12: --[[User:Thiebaut|D. Thiebaut]] 09:56, 8 March 2012 (EST))
 +
 
 +
* Please submit the code of your sketch the same way you did for [[CSC103_Homework_5_2012 | Homework 5]].
 +
* Go to this URL: http://maven.smith.edu/~103b/submitfinal.htm
 +
* Enter your 2-letter Id (same as the one you used in Homework 5)
 +
* 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
 +
* Submit it!
 +
<br /><br /><br />
 +
<tanbox>You should still submit a copy of your sketch on paper with your final exam.</tanbox>
 +
<br /><br /><br /><br />
 +
 
 +
=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 96: Line 110:
 
* When your program stops, '''var1''' will contain 55.
 
* When your program stops, '''var1''' will contain 55.
 
* Your program must compute this value by summing up 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 and storing the result in '''var1'''.
 
* Your program must compute this value by summing up 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 and storing the result in '''var1'''.
* The following program is not acceptable:
+
* The following program is <font color="red">'''not acceptable'''</font>:
  
   lod-c 55
+
   lod-c 55
 
   sto    var1
 
   sto    var1
  
 
:You must use a loop!
 
:You must use a loop!
  
=Essay Question: Exponential growth or not?=
+
=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 (or so)-year time scale and indicate if  these points represent an exponential growth, and if not what kind of growth that is.
+
* 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.
 +
* Make sure you reference your sources.
  
 
</onlydft>
 
</onlydft>

Latest revision as of 08:13, 7 October 2013


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 10:20 a.m. on Wednesday March 14, 2012.

The work has to be done individually, not in a group. You cannot discuss the details of this exam with anyone except your prof. The TA is not allowed to help you out with exam material in any way. Questions will only be answered in two ways: if in person, in class only. If outside class time, only via email. If you have questions regarding the exam then you should send your question(s) via email to thiebaut@cs.smith.edu, and the question and its answer will be broadcast back to the whole class via email.

The exam is given under the rules of the Smith College Honor Code.

Make sure you reference all work/resources you use to answer the questions below.

Grading
Each problem is worth the same amount of points. You only need to answer three of the four problems. Three problems answered correctly will count as 4 points, or A. If you answer 4 problems, the 3 problems with the best grades will be added up.



What to submit

  • You will need to handout your answers on paper on the due date.
  • 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.
  • If you cannot submit your work in person, email it to thiebaut@cs.smith.edu, and make sure the subject of your message reads "CSC103 Finall Exam".

...