PIC 10A Lecture 4UCLA Mathematics

Course Description:

PIC 10A is a five-credit course, with three hours of lecture and two hours of discussion every week. Recommended for students with no prior programming experience. Students with credit for PIC 10C will receive only two units of credit for this course. Topics covered include 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. No prior programming experience assumed.

"Big C++" by Cay Horstmann & Timothy Budd

Professor: Jukka Virtanen

Office: MS 5234
Office hours: M: 1-1.50PM at my office, WF: 1-1.50PM at PIC lab.
Email: virtanen@math.ucla.edu

TIME: 2.00PM-2.50PM

TA Office: TBD
TA Office hours: TR 3-4 PM, R 1-2 PM, in the PIC Lab.
TA email: thomastu@ucla.edu

TA Office: TBD
TA Office hours: M: 11 - 1 and W: 11 - 12
TA email: pcheng17@math.ucla.edu

Section Time Location TA
4A TR: 2:00pm-2:50pm MS 5148 TU, THOMAS
4B TR: 1:00pm-1:50pm MS 6201 CHENG, PETER
4C TR: 2:00pm-2:50pm MS 5118 CHENG, PETER


Your total grade will be calculated in two ways. At the end of the semester, the method that gives the higher numerical score will be used to determine your letter grade.

Scheme 1

Homework: 30%, Midterm I Exam: 20%, Midterm II Exam: 20% Final Exam: 30%

Scheme 2

Homework: 30%, Better Midterm Exam: 20%, Final Exam: 50%

Your overall average guarantees that you will receive at least the grade shown:
A [93,100] A- [90,93) B+ [87,90) B [83,87) B- [80,83)
C+ [77,80) C [73,77) C- [70,73) D+ [67,70) D- [61,63) D [63,67) F [0,61)

Grades will be curved. The curve can only help you. An A+ may be awarded for exceptional work throughout the quarter.

Midterm Exams:

There will be two midterm exams. The midterm exams are scheduled for 11/03/2017 and 11/22/2017. The exams will be given during our regular lecture time, but we may move to a larger classroom for the exam. The midterm exams will not be cummulative. If you are unable to take the exam at the scheduled time, you must contact the lecturer before the exam time and may be asked to provide documentation for your absence. No make-up exams will be given, instead your final exam will be weighted more.

Final Exam

The final exam is scheduled for Thursday, December 14, 2017, 8:00 AM - 11:00 AM. The final will cover all of the material we covered in the course and counts for 30% of your course grade. Not taking the final exam will result in an automatic failing grade. In extreme situations an incomplete grade can be given for missing the final, but the case must be reasonable and documented.


There will be 10 weekly homework assignments during the semester. Each homework will be due Friday 5:00pm. The homework will be submitted on CCLE. The homeworks are automatically collected at 5:00pm on the due date. No late homeworks will be accepted, for any reason. You must follow the directions and use the file names specified in the assignment, or else your submission will not be graded. Homeworks may not be submitted by e-mail. You are encouraged to use the resources in the PIC Lab to do your homework, as well as the TA's and professor. You may discuss the homework assignment with your classmates in general terms, but do not show your code to another student. At the end of the semester, your lowest homework score will be dropped. You are solely responsible for:


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 that the lab has and correctly submitting your homework on CCLE. If you use a different compiler or work on a Mac, you should check that your code works in the lab before submitting it.

Reading Assignments

There will be recommended reading assigned on every lecture day. Complete the reading assignment before the next lecture. These assignments will be posted on the Reading Assignments webpage for this course.

Academic Honesty

You are encouraged to discuss aspects of the course with other students. You may also discuss the homework assignments in general terms with others. By general terms, I mean discuss ideas and plans of attack for solving the problems, not code. You must write your own independent solution. This will allow you to truly understand what you are doing. If you need more specific help, you may consult the TA or the professor only. You may not copy or cite in your homework solution anything written by someone else, unless it is found in your assigned reading, in my lectures, in my examples, or in a presentation by your TA in discussion section. Homework solutions will be monitored for plagiarism. Cheating of any kind is not tolerated. Please do not endanger your entire academic career by cheating.


It is recommended that CAE students contact your professor as soon as possible to discuss and make any special arrangements. Accomodations such as quiet rooms and extended time for examinations are possible.

Valid XHTML 1.0 Strict