CS 14 - Programming Fluency Exercises
These exercises are worth a small number of programming
points each, and are intended to benefit you in a number of
ways:
- Programming is a skill, and can only be learned
through practice. These are valuable practice.
- The ideas covered in these exercises are often
tiny necessary parts of one or more of the assignments
or labs for this course.
- By walking through very simple functions strung
together like this, it will help you learn to break
down your problems more logically. This will help
you gain programming fluency and learn better
design in the process.
These exercises do not contribute to your course style grade,
however if your submissions do not adhere to the course
coding standards you will be asked to resubmit.
A maximum of 25 points will be given out for these
exercises per person. Points for exercises are supposed
to be a small motivation, but not allow you to pass by
doing CS 10 and 12 material.
Directions
Read through the list of available exercises. Choose which
you want to do. Think about each function before beginning.
Write the functions, testing each function as you go.
Part of your grade will be dependant on your "main" function
demonstrating your testing of your functions. Use of
assert statements is highly recommended, as is the
use of print (cout) statements. If your program does not
compile, your functions can be made to segfault, or
your code is hard to read, we will simply ask you to
resubmit.
If extra credit options are available, turn these in
as a seperate file so we can see all of your work.
The List