CSC 157 Assignments

Curricula
syllabus |
announcements |
assignments | discussion

Archives
student work |
review notes

Resources
research materials |
tutorials | web courses |

Contacts
home to: course | instructor |
department | La Salle home

E-Mail: redmond@lasalle.edu  


Spring 2002

Assignment 1 - Getting Started - setting up in Forte, type, compile, run. Turn in.

Assignment 2 - Some simple variables and simple input / output using the text book class.

Assignment 3 - Calculations.

Assignment 4 - Ifs.

Assignment 5 - While loops.

Assignment 6 - Validation and Nested While loops.

Assignment 7 - Testing Programs
Here is code to use during introduction during lab.
And Here is the code to use for the assignment.
The safest way to get these is with Internet Explorer - right click on the link and choose Save Target As.

Assignment 8 - Using Classes
Here is the class code to use: Revised Account Class
The safest way to get this is with Internet Explorer - right click on the link and choose Save Target As.

Assignment 9 - Writing and Using Classes

Assignment 10 - Using the debugger
Here is the class code to use: Revised Buggy ScoreBoard Class
Here is the client (main) code to use: main that uses scoreboard class to run a game - but which has bugs!
The safest way to get this is with Internet Explorer - right click on the link and choose Save Target As.

Assignment 11 - Static Methods, Constructors, Overloading
Here is the class code to use: Cookie Store Class
mostly provided.
The safest way to get this is with Internet Explorer - right click on the link and choose Save Target As.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

. Spring 2001

Assignment 1 - Getting Started - create project, compile, run. E-mail attachment.

Code to use for Assignment 1.
(code for practice use in lab)

Look under Resources for document on using Microsoft Visual Studio environment.

Assignment 2 - A Simple Program with Input, Output, Calculations.

Assignment 3 - A Program using IFs + with Input, Output, Calculations.

Assignment 4 - A Program using loops + with Input, Output, Calculations and IFs.

Assignment 5 - Testing - creating test cases.

Code to use for Assignment 5.

Assignment 6 - A Program using switch, and for, with continuing appearences of Input, Output, Calculations and IFs - make sure you validate inputs.

Assignment 7 - A Program using a pre-written (non-system) function.

Header file to include for Assignment 7.
Code to use for Assignment 7. Don't #include - but "add to project"

Assignment 8 - Writing and using function(s).

Assignment 9 - Using Microsoft Visual Studio's Debugger.
Code for in lab exercise.
You need divides.h and divides.c too. There is also code that you need for the assignment.
As promised, here is my Assignment 9 Answers.
original unbuggy code.

Assignment 10 - Arrays and Passing Arrays to Functions.

Assignment 11 - Arrays and Searching and Sorting and Efficiency.

Header file to include for Assignment 11.
Code to use for Assignment 11. Don't #include - but "add to project"

Assignment 12 - Parallel Arrays .