CS32 (Winter 2019) Discussion

This course is no longer active and this site will no longer be updated since March 16, 2019. Slides are availble upon request.

Course Info

TA & LA Info (Dis 2B)

  • TA: Junheng Hao, email: haojh.ucla [AT] gmail [DOT] com (for CS32 only)

  • TA office hours: Thursday 8:30am-9:30am & 11:30am-1:30pm @BH3256S

  • LA: Ramya Satish, email: ramyasatish1997 [AT] ucla [DOT] edu

  • LA office hours: Thursday 8:30am-9:30am & 4:30pm-5:30pm @BH3256S

Discussion Info (Dis 2B, instructed by Junheng)

  • Time: Friday 12pm-1:50pm (except week 1 & 3)

  • Location: Rolfe Hall 3134

Announcement

  • [Jan. 9] There are no discussion sessions on the first and third week (Jan. 11 and Jan. 25). Prof. Smallberg will hold lectures instead. Check the course syllabus.

  • [Jan. 10] Project 1 is released and due on Jan. 15 (Tuesday).

  • [Jan. 17] Homework 1 is released and due on Jan. 22 (Tuesday).

  • [Jan. 18] Slides Week 1 is updated about class composition examples with sample code.

  • [Jan. 23] Project 2 is released and due on Jan. 29 (Tuesday).

  • [Jan. 30] Homework 2 is released and due on Feb. 5 (Tuesday).

  • [Jan. 30] Homework 3 is released and due on Feb. 12 (Tuesday).

  • [Feb. 14] For all students in Lecture 2 and Lecture 3, Prof. Smallberg will have a make-up lecture in Moore 100 at 1:00-1:50pm, Feb. 15. Therefore, Week 6’s discussion 2B will be still in Rolfe 3134 but time changes to 12:00-12:50pm.

  • [Feb. 14] Project 3 is released. Part 1 is due on Thursday, February 21 and part 2 is due on Thursday, February 28. Check project FAQ here.

  • [Feb. 28] Homework 4 is released and due on Mar. 5 (Tuesday).

  • [Mar. 7] Homework 5 and Project 4 are released and due on Mar. 14 (Thursday).

  • [Mar. 13] This week’s office hours change to 8:30-10:00am and 12:00-1:30pm.

  • [Mar. 15] Check final exam schedule and announcements at here!

Discussion Materials

Date Content Slides & Links
Jan. 11 No discussion today. Please attend lectures. N/A
Jan. 18 Class construction, destructor, copy constructor, assignment operator [Slides] [Worksheet 1] [Worksheet 1 Solution] [Code]
Jan. 25 No discussion today. Please attend lectures and check out midterm practice problems. [Midterm-1 Practice 1] [Soultion 1] [Midterm-1 Practice 2] [Soultion 2]
Feb. 1 Linked list, stack, queue [Slides] [Worksheet 2] [Worksheet 2 Solution]
Feb. 8 Inheritance, Polymorphism, Recursion [Slides] [Worksheet 3] [Worksheet 3 Solution]
Feb. 15 Template, STL [Slides] [Worksheet 4] [Worksheet 4 Solution]
Feb. 21* Midterm review, Project 3 FAQ (host by UPE) [Midterm-2 Practice 1] [Soultion 1] [Midterm-2 Practice 2] [Soultion 2]
Feb. 22 STL (cont’d), Algorithm Efficiency [Slides] (Still use worksheet 4)
Mar. 1 Sorting, Tree [Slides] [Worksheet 5] [Worksheet 5 Solution]
Mar. 8 Binary search tree and others, Hash Tables, Heaps [Slides] [Worksheet 6] [Worksheet 6 Solution]
Mar. 10* Final exam review, Final exam FAQ (host by UPE) [Final Practice 1] [Soultion 1] [Final Practice 2] [Soultion 2]
Mar. 15 Priority queue, Heap, Final exam review [Slides]

Additional Resources

  • Supplemental material from other Winter19-CS32 TAs

[Dis 1B: Jack Gong], [Dis 1C: Trevor Hackett], [Dis 1E: Qianru Li], [Dis 2A: Angelina Poole], [Dis 2C: Arghya Mukherjee], [Dis 3C: Youfu Li].

  • LA Workshops

[Debug], [Technical Interview + Code Tracing], [Inheritance, Recursion & Usable Code], [Data Structures and Big O]