Smith university of st thomas minnesota 5 what is on

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: What is on the exam? Writing functions in C Writing functions in Matlab Doing the same things in both I.e. 1 dimensional vectors and 1 dimensional arrays A loop and some IF statements Solving problems with summations Dealing with character codes and text Explaining why one might be better than the other for a particular problem March 2005 R. Smith - University of St Thomas - Minnesota 6 Looking at the Cheat Sheet Studying: you should know how to use EVERYTHING on the Cheat Sheet. C Matlab Summations Function Formats Other Syntax March 2005 R. Smith - University of St Thomas - Minnesota 7 Sum of integers 1 through N int sumi (int n) { int i; // index for the for loop int t; // total of the sum t = 0; for (i = 1; i <= n; i++) { t = t + i; } return t; } March 2005 R. Smith - University of St Thomas - Minnesota 8 Sum of a vector K...
View Full Document

This note was uploaded on 07/14/2013 for the course CISC 130 taught by Professor Smith during the Fall '08 term at St. Thomas.

Ask a homework question - tutors are online