This is an introduction to programming course, taught in C++. We don’t assume any prior knowledge of programming.

I’m one of the TAs for this course. This website holds code samples and links to resources that I think might be useful.

The main course web page is on CCLE: https://ccle.ucla.edu/course/view/17F-COMPTNG10A-3. The professor is Omri Azecont.

My scheduled office hours will be Tuesdays from 10-11am and Thursdays from 2-3pm in the PIC lab (MS 2000). I’m also able to schedule other office hours by email.

I have two discussion sessions: session 3B meets at 11am, and session 3C meets at 12 noon. On Tuesdays, the discussion sessions will meet in the assigned classroom (MS 5148). On Thursdays, we’ll meet in the PIC lab (MS 2000).

Week 1:

- Here is a sample program that reviews some basic topics (like input and variables). For those of you in the 11:00 discussion session, this is a simpler version of the (somewhat complicated) example I gave on Tuesday Oct. 3. Those of you in the 12:00 discussion have already seen this example.
- Here is a practice exercise, consisting of a few short programs I wrote that are only
*mostly*correct. You can practice debugging and fixing the errors. Here are my solutions.

Week 2:

- Here is a sample program with more input and output, and a little bit of basic logic.

Week 3:

- Here are some hints for the roman numerals problem.

Week 4:

- Here are a few practice exercises if you want additional practice, beyond the assigned homework.

Week 7:

After the midterm, a few people asked me for some practice problems. As a start, I took 5 problems from Project Euler and wrote them up, with hints, some skeleton code to get you started, and some reasonable solution code (although you may be able to do better!) The problems are here (sorry for not organizing the web pages better):

Week 8:

Here are some more practice problems (to be expanded…):

Week 10:

Here’s a practice problem that deals with writing classes: