PIC 10a Lecture 1: Introduction to Programming

Fall 2009

Administrivia

Venue MS 5200
Time 10-10:50am
Lectures MWF (Mondays, Wednesdays and Fridays)
Discussions TR (Tuesdays and Thursdays)

Instructor Teaching Assistant 1a Teaching Assistant 1b
Name Iftikhar Burhanuddin Tijana Kostic Hui Sun
Lecture/Discussion MWF 10-10:50am TR 9-9:50am TR 10-10:50am
Venue MS 5200 MS 5233 MS 6201
Office MS 5338 PIC Lab IPAM 1129D
Office Hours MWF 11:30-12:30 or by appt. M 1-2 R 10-11 TR 11-12
e-mail burhanud at math.ucla.edu kostict huiprobable

Course description

PIC 10a is a 5 unit course, with 3 hours of lecture and 2 hours of discussion.

This class will serve as a gentle introduction to the wonderful world of programming. Students will be exposed to basic principles of programming using C++, algorithmic and procedural problem solving, program design and development, basic data types, control structures, functions, arrays, pointers, and introduction to classes for programmer-defined data types. While the lectures will focus on the theory, the assignments will have a programming bent. The intention is to guide students to see how ideas on paper are turned into programs which solve problems in practice. No prior programming experience is assumed. This class is intended for those of you who need to know how to write your own computer programs. This class will teach you how to design and develop computer programs using sound programming techniques. This class does not assume prior programming knowledge, but if you don't have at least some familiarity with computers, consider taking PIC 1 first.

Textbook

Big C++, 2nd Edition
Cay S. Horstmann and Timothy A. Budd

PIC Lab

Venue BOELTER 2817
Time Monday-Thursday 9:00-6:00, Friday 9:00-5:00, Sunday 1:00-5:00
Website http://www.pic.ucla.edu/piclab

The PIC Lab is staffed during its open hours by undergraduate lab assistants. They are there to help with computer issues, not to debug your programs. If you need help with your assignment, you should ask the TA's or the professor. The computers in the lab are set up with the necessary software for completing and submitting your homework. You can work at your home computer, but you are responsible for using the same C++ compiler (Microsoft Visual Studio 2005) and correctly submitting your homework via Moodle.

Syllabus

The syllabus, which is subject to change, will touch on some of the following topics.

  • Chapter 1 Introduction
  • Chapter 2 Numbers and Objects
  • Chapter 3 Control Flow
  • Chapter 4 Functions
  • Chapter 5 Classes
  • Chapter 6 Vectors and Arrays
  • Chapter 7 Pointers
  • Chapter 8 Inheritance
  • Chapter 9 Streams

Assignments, Exams

There will be about 9 homework assignments, which will be assigned one at a time each week of the quarter. Each homework will be due Friday 5:00pm. The homework will be submitted electronically using your PIC account. The homeworks are automatically collected at 5:00pm on the due date. No late homework will be accepted. You must follow the directions and use the file names specified in the assignment, or else your submission will not be graded. You are encouraged to use the resources in the PIC Lab to do your homework, as well as seek the help of the the TA's and the instructor. You may discuss the homework assignment with your classmates in general terms, but do not show your code to another student. There will be an additional assignment to maintain a personal topical blog on Moodle. The blog will be due by the weekly programming assignment's deadline. You should blog about the particular week's lecture content. In addition, you can blog about interesting web content or post urls related to the course. Your blog entries will be graded based on timeliness of post and content. At the end of the quarter, the assignment with the lowest score will be dropped and the remaining assignments will count toward the grade.

There will be two in-class midterm exams, which will be held on October 19 and November 16. If you are unable to take the exam at the scheduled time, you must contact the instructor before the exam time. No make-up exams will be given, instead your other exams will be weighted more, provided the absence is due to a legitimate reason, which will require appropriate documentation.

The final exam will be held on Sunday, December 06, 2009 from 3-6pm at and the syllabus for the exam will be the entire content of the course. Failure to take the final will result in a failing grade.

The course letter grades will be determined based on the class distribution of the total points. The grade breakdown is as follows:

Assignments 40%
Midterms 15% each
Final 30%

Scores on the assignments, midterms and final will be posted on my.ucla.

Moodle

Course news, audio, slides, handouts, assignments, details on submission, etc. will be posted on the course Moodle. Students are encouraged to use the discussion forums on Moodle to ask questions about the course, etc.

Academic Honesty

Students are encouraged to collaborate with fellow students on general strategies for homework, but solutions should be written up and programming assignments should be worked on alone. Seeking help from outside the class room (such as friends, discussion forums on the Web) is not appropriate. The homework should list the fellow students with whom the solutions were discussed. Cheating and plagarism on the assignments and exams will result in disciplinary action. Please consult the documents related to Academic Integrity, Student Conduct for details.

Special Needs

OSD students contact the instructor as soon as possible to discuss any special arrangements.