
| Instructor: | Dr. Sergey Sadov, HH-3009 |
| Slot: | 03 and R11: MWF 10:00 a.m., Thur. 11:00 a.m. |
| Classroom: | Monday and Wednesday: SN-2036, Thursday and Friday: C-2003 |
Final marks (Unoficially)
Why did I get that mark for my program?
Exam solutions
Passing guaranteed policy. You are guaranteed the course mark of at least 50% if you write a compilable program that produces the mathematically correct answer for a non-special (generic) initial data (even for a hard-coded sample data set). All other aspects of evaluation follow from the policy set in course syllabus and weights assigned to exam questions.
List of course material with references
A level of the exam programming question will be similar to that
of the sample questions in Lab12.
Please review solutions to all asstignments and quizes.
Assignment N+1
[Corrections to handouts: 1) ignore a note about "makefiles";
2) should be no backslash in #include ]
- Gary J. Bronson, ``A First Book of ANSI C'', 3rd edition, Brooks/Cole, 2001.
- M. Barrett and C. Wagner, C and UNIX: Tools for Software Design Wiley, 1997.
- B. Kernighan, D. Ritchie, ``The C Programming Language'', Second edition, 1988 (QA 76.73 C15 K47) and Kernighan's old (read the disclaimer!) C tutorial
Online Maple tutorial from MapleSoft
Phil's C course (Contains all proper historical references; advanced in the technical sense)
Or else, you can find a Google of other useful and informative (as well as useless and misleading) references.
Day One Handout
Adding paper to your paper account.
Submitting assignments
(We didn't discuss the stuff about the make command and
makefile; ignore it).
A Unix tutorial
Assignment 1, due Wed Sept.29
Hints
Assignment 2, due Wed Oct.13
Hints
Solution
Assignment 3,
Solution and common mistakes
Assignment 4,
Solutions
Assignment 5, due Mon Nov.29
Solutions
Lab 3
(Sept 23-24)
Click here
Lab 4
(Sept 30-Oct 1)
Click here
Lab 5
(Oct 7-8)
Click here
Lab 6
(Oct 14-15)
Lab 7
(Oct 21-22): continuation of Lab6's project.
Lab 8
(Oct 28-29): Finishing the Series Summation project.
Lab 9
(Nov 4):
A sample C++ program is here.
Lab 10
(Nov 18): Sample program:
I/o from/to files whose names are given as command line arguments
Lab 11
(Nov 25-26)
Lab 12
Dec.3:
The problem (Find coordinates
of the Center of Mass of a system of point masses).
Here
is what I myself have completed in the lab by 10:50.
While this program demonstrates a sound approach,
it doesn't produce a mathematically correct answer for
a sample set of data and therefore doesn't automatically
meet the "Passing Guaranteed" criterion.
Replace the stubs by performing member functions and one gets a
passing guaranteed version of a C++ program.
Here is a functionally equivalent
passing guaranteed C program
and a
99%-worth C version.
(1% is taken out for lengthy main())
Test topics
Answers
Typical mistakes (cryptic signs)
Quiz 1 (Nov.24)
Quiz 2 (Dec.1)