CS 31 Discussion 1A, Fall 2016

Humanities A65, Fri 10:00 — 11:50 a.m.

TA: Zengwen Yuan (zyuan [at] cs.ucla.edu)
Office Hours: 2432 Boelter Hall, Tue 11:30 a.m. — 12:30 p.m.; Thu 8:30 a.m. — 10:30 a.m.


Announcements

12/2/16
Discussion note for week 10 is available. It is an honor and privilege to be your TA this quarter. Good luck on your finals!
11/25/16
Hi folks, I would truly appreciate your feedback through the course evaluation on MyUCLA. Let me know what I did right and where I can improve! :)
11/24/16
It's Thanksgiving holiday, have a good one!
11/18/16
Discussion note for week 8 is available.
11/10/16
In observance of Veterans Day, there will be no discussion tomorrow.
11/6/16
Discussion note for week 6 is available.
10/28/16
Discussion note for week 5 is available.
10/21/16
Discussion note for week 4 is available.
10/14/16
Discussion note for week 3 is available.
10/5/16
Friday's discussion will be a lecture given by Prof. Smallberg. Go to Haines 39 at 10:00 if you are enrolled in my discussion. See details at the course announcement page.
10/2/16
I will not hold office hours on 10/4 and 10/6. Please email me if you have any question.
9/30/16
Discussion note for week 1 is available.

Discussion Notes

Week Date Note Topic
10 12/2/16 Slides Class, final review.
9 11/25/16 NA No discussion due to Thanksgiving holiday.
8 11/18/16 Slides Pointer, structure.
7 11/11/16 NA No discussion in obervance of Veterans Day.
6 11/4/16 Slides Array, C-string, style choices.
5 10/28/16 Slides IDE debugging, project 3 hints (review of function and string), introduction to array.
4 10/21/16 Slides Predefined functions, define function, call by reference, and scope. An example of using rand() and srand() for random number generation.
3 10/14/16 Slides Boolean expression, branching mechanisms, loops, and a bit more about truth tables as I promised.
2 10/7/16 NA This week's discussion was a lecture.
1 9/30/16 Slides Introduction to programming, C++ basics

Useful Links

CS 31 website: http://web.cs.ucla.edu/classes/fall16/cs31/

C++ reference: http://www.cplusplus.com/ (only supports up to C++11)