SYSC 2003 Midterm: Exam-SYSC2003-2010March
Document Summary
Interpretation of the exam text is a nart of the evaluation. Do not ask questions unleis vou believe there is an error. Anything you need: make an assumption and write it clearly. Tip: in all programming exercises, you can earn part marks by writing the skeleton of the program even if you can"t write all the logic. Question i [14 marks] arrays, subroutines, c progtamming, recoup exercise for. ", bn], then a. b = al. b 1 +a2. b2+ . +an. bn). , v 2 l s i z e ) ; / / e l e m e n t s a r e 8 - b i t l o n g. / / execuee ( v 1 , y 2 , r e s u l e , s f z e ) , " the dot product of t,he two vectors. [-iv: [4 marks] the function unsisned char dor3;::"::,:,$:i:"t, char &arrav2, in!