Chapter 1: Overview of Computers and Programming
Be able to name the steps of the software development method.
Specify problem requirements//Analyze the problem//Design an
algorithm to solve the problem//Implement the algorithm//Test and
verify the completed program
Maintain and update the program
Chapter 2: Overview of C
Understand the role of preprocessor directives.
Begin with "#"//Tell the preprocessor to modify the program before
Understand the role of the main function.
All C programs must define a main function//It is the place where
Be able to give variables sensible names.
Must consist only of letters, numbers, and underscores//Must not
begin with digits
Understand the difference between = and = =.
The = operator does the assignment, right to left
== (equal? return 1, not equal? return 0), left to right
Understand what it means to perform a cast.
rounded_x = (int) (x + 0.5);
Understand what a function is, and be able to identify its
elements, including the return statement.
A function is a set of statements that perform a task.
A function performs the task, hiding from you the details of how it
performs the task
comment, preprocessor directive, constant, function header,
variable, punctuation, library function
Be able to construct valid numeric expressions involving +, -, /,
*, and %.
% operator can be applied to ints <Undefined when the divisor is 0>
Understand operator precedence.
Chapter 3: Top-Down Design with Functions
Understand the role of a function prototype.
Function prototypes tell compiler what functions are defined
Understand the concepts of formal parameter, actual argument,
and local variable.
Actual argument values go to formal parameter to use in function
Only visible from within that function, once function is done, variables
go away(space is deallocated)
Be able to cite the advantages of using functions.
Break a large, complex solution into logical units, procedural
Understand how to use key C math library functions.
Argument is double//double pow(base, exponent)//ceil(round up),