ENGR 144 / CSCI 125 The following are the important topics to know for the course. Early topics – arithmetic, relational, and logic operators, ifs and loops Functions • library functions – scanf, printf, math functions, etc. • Programmer defined functions - Function prototype, function header, function definition, parameters, function call, arguments • return • data type promotion • recursion • random numbers Arrays • declaring and initializing arrays • Indexing – ex: array of 5 elements has indices 0,1,2,3,4 • Name of an array is a pointer • Strings are arrays of characters • ascii code • Summing elements of an array • Statistics – maximum, minimum value, mean, standard deviation • Histograms • Arrays and functions: o Passing arrays to functions • Sorting and searching: o Bubble sort and binary search: know how they work – don’t need to know how to write the program from scratch. o
This is the end of the preview. Sign up
access the rest of the document.