Assignments


Programming is a skill best learned by doing, and the programming assignments in CS106B form the central skill development part of your experience in the course. We have a great set of assignments planned that we hope you will find fun, challenging, illuminating, and rewarding. There are 10 assignments, one each week (see the course schedule for tentative assignment dates). Students self-report spending between 10 and 20 hours on each assignment. If you find yourself heading towards the upper end of that range for an assignment, please reach out to course staff for tips. Our workload is challenging because we want to foster the most growth possible for you in our 10 weeks together, but we do want the total hours to stay within reason for a 5-unit course and are happy to work with you towards that goal. In CS106B, we write programs in the C++ language and use the Qt Creator IDE for editing, compiling, and debugging. Please visit the Qt Installation Guide for install instructions.

Common questions about assignments


What is the policy on late assignments?

Students are granted a penalty-free grace period for submission on each assignment, the length of which depends on the specific assignment. Read our course late policy for the details.

What is the assignment collaboration policy?

The first few assignments of the quarter must be done individually. Starting with Assignment 3, you will be allowed to work with a partner. For more information about working in pairs, see our "About Partners" page. For more about our Honor Code policies, see our Honor Code page.

How can we get help on our assignments?

Your main starting points for help are the online forum and the nightly virtual drop-in "LaIR" help hours with the section leaders (undergraduate TAs). The online forum alows 24-hr access to discussion with your peers, and quick (though not 24-hr, we do sleep!) answers from course staff. The instructors will also hold weekly office hours where you are welcome to discuss assignments or other topics.

How are assignments evaluated?

Programs will be evaluated on "functionality" (is the program's behavior correct?) and "style" (is the code well written and elegant?). We apply a bucket grading scale for a wholistic qualitative evaluation rather than fixate on individual points. To learn from the grading feedback, focus your attention on the qualitative comments and the discussion with your SL in IGs.

  • + A submission that is "perfect" or exceeds our standard expectation for the assignment. To receive this grade, a program reflects additional work beyond the requirements or gets the job done in a particularly elegant way. (letter grade A+)
  • βœ“+ A submission that satisfies all the requirements for the assignment, showing solid functionality as well as good style. It reflects a job well done. (range A/A-)
  • βœ“ A submission that mostly meets the requirements, with some small issues or oversights. (range B+/B)
  • βœ“β€“ A submission that is a good attempt at meeting the requirements, but falls short in some ways. (range B-/C+)
  • – A submission that exhibits serious problems, but nonetheless shows some effort and accomplishment. (range C/C-)
  • –– A submission that shows low effort or does not represent passing work.

From past experience, we expect most grades to be βœ“+ and βœ“.

How do we receive feedback from our grader?

You can view your submission on Paperless with comments and annotations from your grader along with the bucket scores for functionality and style. For some assignments, you will also meet with your section leader to discuss the grading feedback in a short IG ("interactive grading") conference.