CS 12 - Fall 2000

Lecture: TR 3:40 - 5:00pm Watkins 1000

Instructor:Toby Gustafson
Office:Bourns Hall A375
E-mail:gusta@cs.ucr.edu
Office Hours:TR 2:30-3:30pm
Book: C++ How To Program, 3rd Edition by Deitel and Deitel

Grading

   Labs         20%
   Programs     30%
   Midterm      20%
   Final Exam   30%

Labs

Labs begin Monday, October 2. You will be assigned a CS12 student account during your first lab.

Every week in lab you will be given an assignment. You must complete the assignment during the lab and have it graded by your TA. Though lab assignments will be posted in advance to give you a chance to prepare, you should not show up with a completed assignment. The TAs will not do any grading of lab assignments until at least one hour after the beginning of the lab.

Attendance will be taken at the beginning of lab. You must arrive no more than 20 minutes late. (In other words, since labs start at 10 minutes after the hour, you must arrive no later than 30 minutes after the hour.) If you arrive later, you will lose 25% of the points for that lab.

No late lab assignments will be accepted.

Links to Lab Assignments:
lab1
lab2
lab3
lab4
lab5
lab6
lab7 - Review midterm
lab8 - Thanksgiving week; no lab
lab9
lab10

Programming Assignments

You will be given programming assignments throughout the quarter, usually at at the rate of 1 assignment per week. Programming assignments must be submitted for grading electronically. No e-mailed assignments will be accepted. Assignments must be submitted by 11:30PM on the due date. No late programming assignments will be accepted.

Assignments can be submitted only from Computer Science login accounts (i.e. the student account you are given during your first lab). If you have another personal computer account, you can not use it for submitting assignments.

Note: Before submitting an assignment, delete all of the files and folders generated by Visual C++. Only your program (.cpp) files should be submitted. Failure to do this will result in the loss of some points.

You may submit an assignment more than once, but only the last one will be graded. It is also a good idea to submit your assignment early. There have been incidents in the past where the computer servers have become overloaded due to too many students trying to submit assignments at once. Also, the clocks on the different computers in the department are not always in sync. The time on the computer you are using may be different than the time on the server containing the electronic submission program. This can lead to an unpleasant surprise (namely the program telling you it is too late to submit the assignment) when you try to submit your assignment. As stated above, no late assignments will be accepted, so please plan accordingly and do not wait until the last minute to try and submit an assignment.

To submit an assignment electronically, click here to go to the secure web page used for submitting assignments, click on the WWWTurnin link, and follow the directions.

Programs will be graded based on correctness as well as commenting, style, and readability. Do not leave the commenting of your program to the end. These points should be considered the easy points to get, so be sure to leave time to comment and be sure to comment well. Partial credit is normally given so turn in what you have completed. Programs that do not compile will be given up to half credit only.

You must include the following information at the beginning of each program:

Links to Programming Assignments:
as1
as2
as3
as4
as5
as6
as7

Midterm and Final Exam

The midterm will be on Tuesday, November 7. The final exam will be on Thursday, Dec 14 from 3-6PM (Watkins 1000).

The exams are open book; you may bring your book, notes, printouts, etc. You may not bring a personal computer, however.

The following are links to last year's midterm:
page1
page2
page3
page4

The following are links to last year's final:
page1
page2
page3
page4
page5
page6
page7
page8

Cheating Policy

Cheating on exams, programming assignments, or on lab assignments will not be tolerated. Sharing source code is considered cheating. You may discuss general algorithms with another student, but you can not allow another student to view your source code. Any incidents of cheating will result in immediate dismissal from the class with an "F" grade.

Other Information

Grading Disputes

If you have a problem with the grading of an assignment, you need to bring your assignment to me within one week of the date it was returned. Regrading will not be discussed after that. The same rule applies to the midterm.

Programming Guidelines

As mentioned above, your assignments will be graded on commenting and style as well as correctness. Kelsey Lick, another instructor in the Computer Science department has produced some very good programming guidelines. Click here to view them. Make sure you understand these guidelines, as they will be used by the graders. For example, the guidelines mention that you should use meaningful identifiers when naming variables. If you submit a program, then, whose variables all have names such as i, t, s, etc., you will not receive full credit.

Submitting Assignments

If you would like more detailed instructions on how to use the electronic submission program, click here.

Syllabus

Following is a list of the topics to be discussed this quarter, along with the appropriate chapters from the textbook.

TopicChapter(s)
RecursionCh 3
TemplatesCh 3
PointersCh 5
Characters and StringsCh 5, 16
StructuresCh 6, 16
ClassesCh 6-10
Asserts and Exception HandlingCh 13
Input/OutputCh 11