14:440:127, Fall 2008
Exam 2 Version G
The entire exam is closed book, and there is no collaboration permitted.
All of your answers must
be written in blue books; you will have separate bluebooks for the “No Computer” and “Computer”
sections.
Be sure to put your name and RUID
on all bluebooks you use.
Each “Computer”
question is worth twice as much as each “No Computer” questions.
All answers must relate to
the Matlab programming language.
For the first 20 minutes, you will not
be permitted to use the computer.
After 20 minutes, we will
collect your bluebook for the first 4 (written) questions, and you will be permitted no further
changes to those answers.
For the final 4 questions, you will be permitted to use the computer by logging in to your special
“Exam Accounts.”
If you log in to your normal engineering account at any point during the exam,
you will automatically fail.
“No Computer” Question 1:
Write a
while loop
that finds the smallest 8 digit prime number.
This
preview
has intentionally blurred sections.
Sign up to view the full version.

This is the end of the preview.
Sign up
to
access the rest of the document.
- Fall '09
- blase
- matlab, Binary numeral system
-
Click to edit the document details