CS1372_Fall_2006_Test_3_Ver_A_Solution

CS1372_Fall_2006_Test_3_Ver_A_Solution - Georgia Institute...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Georgia Institute of Technology College of Computing CS 1372 Computing for Engineers Test 3 Version A - Fall Semester 2006 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 3 3 3 3 3 3 3 3 3 4 4 4 4 4 4 4 4 4 5 5 5 5 5 5 5 5 5 6 6 6 6 6 6 6 6 6 7 7 7 7 7 7 7 7 7 8 8 8 8 8 8 8 8 8 9 9 9 9 9 9 9 9 9 A A A A A A A A A B B B B B B B B B C C C C C C C C C D D D D D D D D D E E E E E E E E E F F F F F F F F F G G G G G G G G G H H H H H H H H H I I I I I I I I I J J J J J J J J J K K K K K K K K K L L L L L L L L L M M M M M M M M M N N N N N N N N N O O O O O O O O O P P P P P P P P P Q Q Q Q Q Q Q Q Q R R R R R R R R R S S S S S S S S S T T T T T T T T T U U U U U U U U U V V V V V V V V V W W W W W W W W W X X X X X X X X X Y Y Y Y Y Y Y Y Y Z Z Z Z Z Z Z Z Z Print your Prism ID (WebCT username) in the spaces provided, and shade the boxes of the corresponding numbers and/or letters. I hereby signify that this examination paper contains my own work exclusively, and I have neither given nor received inappropriate help during the taking of this examination, in compliance with the letter and spirit of the Academic Honor Code of Georgia Tech. Name (print): Signature: Prob. Poss. Pts Earned Pts Lost Pts by (cover) - - 1 20 2 20 3 20 4 20 5 20 TOTAL 100 Please Note: Failure to complete this front sheet correctly will cost you 5% of your grade. Please turn off (or silence) and put away any cell phones, beepers/pagers, personal radios or music players that you have in your possession Good Luck!
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
CS1372 - Computing for Engineers Test 3 Version A November 29th, 2006 Page 2 of 8 Academic misconduct (including - but not limited to - examples on the list below) could result in a zero score on this examination, an “F” final grade in the course, and/or other disciplinary action: Failure to cooperate with or follow directions given by a proctor. Failure to stop writing when the allotted time is up (as reported by a proctor). Communication with anyone other than a proctor for ANY reason in ANY language in ANY manner. Sharing of ANYTHING (e.g. pencils, erasers, paper). Writing on paper that is not given to you by a proctor. Using cell phones, beepers, personal radios or music players, etc. during the exam. Using calculators (unless explicitly permitted) or hand-held computers during the exam. Using books or other reference material during the exam. Disruption of the exam setting. API Reference: typedef struct matrix { int rows; int cols; double **data; } matrix; typedef struct vector { int size; double *data; } vector; typedef double (*d_func_d_t)(double); typedef double (*d_func_di_t)(double, int); typedef double (*d_func_ddd_t)(double, double, double); typedef double (*d_func_dd_t)(double, double); typedef double (*d_func_ddi_t)(double, double, int); void addInPlace( vector a, vector b); vector addscaled(vector A, vector B, double scale); vector applyFunction( d_func_d_t, vector v ); vector applyFunction( d_func_dd_t, vector v, double x );
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 8

CS1372_Fall_2006_Test_3_Ver_A_Solution - Georgia Institute...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online