Expected prerequisites
The official prerequisites are CSCI 181, Introductory Programming for Numeric Applications, or CSCI 182, Introductory Programming for Media Applications. However, just about any first-semester programming course will do. Background using object-oriented programming is not expected.
Examples of expected experience
-
You must know how to use
conditional (
if
) and iterative (while
) constructs. -
You must know how to declare and initialize variables
of common atomic types, such as
int
anddouble
. - You should understand variable scoping rules as they exist in C and Java.
- You must know how to initialize, access, and modify arrays.
-
You should know how use structured types, such as
the
class
of Java or C++ or thestruct
of C. - You must know how to write simple functions or methods.
- You must know the common terminology of function call and invocation. In particular, you must know the meaning of the terms argument and parameter.
Examples of stuff you can do
- Write a function that prints the even integers from 0 to 100.
- Write a function that receives an array and returns the sum of all elements of the array.
- Write a function that receives an array and returns the sum of all even elements of the array.
- Write a function that counts the number of vowels in a string.