CSCI 102 - Spring 2018 Fundamentals of Computation


Homework assignments will be assigned one per week. They should be done outside of class and most will involve programming. You should feel free to visit the instructor or CP/TAs in office hours to get help but are discouraged from discussing anything other than high-level concepts with other students (to avoid any kind of academic integrity violation.)

HW Schedule

HW Topic Due Date Submit
HW01 Binary & ASCII Representation Thurs. Jan. 18, 2018 @ 11:59PM (PST)
HW02 Basic Expressions Thurs. Jan. 25, 2018 @ 11:59PM (PST)
HW03 Sequence & I/O Thurs. Feb. 1, 2018 @ 11:59PM (PST)
HW04 Assignment, Functions, I/O Manipulators Thurs. Feb. 8, 2018 @ 11:59PM (PST)
HW05 If Statements Thurs. Feb. 15, 2018 @ 11:59PM (PST) @ 11:59PM (PST) Vocareum
HW06 While Loops Thurs. Feb. 22, 2018 @ 11:59PM (PST) @ 11:59PM (PST) Vocareum
HW07 Study for midterm None None
HW08 For Loops Thurs. March 8, 2018 @ 11:59PM (PST) @ 11:59PM (PST) Vocareum
HW09 Nested Loops Thus. March 22, 2018 @ 11:59PM (PST) @ 11:59PM (PST) Vocareum
HW10 Arrays Mon. April 2, 2018 @ 11:59PM (PST) @ 11:59PM (PST) Vocareum
HW11 Functions Mon. April 16, 2018 @ 11:59PM (PST) @ 11:59PM (PST) Vocareum
HW12 Movie Rater Thurs. April 26, 2018 @ 11:59PM (PST) @ 11:59PM (PST) Vocareum

Homework Policies

Submission Instructions

You must submit your assignment online before the deadline. For the first few homeworks that are submitted via our own website, be sure to click the Submit button and be sure a green check mark appears. This means the system has recorded your correct answer.

For Vocareum-based assignments be sure to click Submit and examine the submission report that will eventually appear. It will provide feedback regarding whether your submission compiled and passed a small (but not exhaustive) set of tests.

Grade Disputes

We will work hard to post HW scores and feedback within 1 week of the homework's due date. Exams will typically be graded within at most a few days of the exam date.

Any disputes with posted grades must be raised within 7 days of the score posting. (If your schedule does not permit a detailed request within 7 days, you should register a short note that you plan to dispute, and then submit the dispute when you are ready.) Notice that any regrade request will result in us trying to give the fairest possible grade to you, which could be higher or lower than the one you received originally.

To raise an issue with your exam score, you should come to the office hours of the professor teaching your section. If you cannot make posted office hours, schedule one by e-mail. The TAs will not be allowed to grant regrades on exams.

Grading Environment

Once we start using the course virtual machine, we will grade your assignments using compile at the command line in the virtual machine. You are free to use other compilers or IDEs to develop your code, but in the end, it has to work with the compile script on the virtual machine. You probably want to test that it does before submitting.

Academic Integrity

The official language on academic integrity is on the syllabus. Here is a little more clarification.

Practically speaking, it is important to be able to seek out helpful information and collaborate, yet it is clearly wrong to pass off work done (even just in part) by others as your own. Navigating these two principles can be tricky. However, notice that only you are responsible for understanding what is allowed, and what is not. Cheating can and does occur which is neither malicious nor intentional. Knowledge is power!

When in doubt whether some behavior you are considering is appropriate, feel free to consult with us (course staff) before engaging in it. As a general guideline, imagine that your professor is looking over your shoulder, but can't read your mind. Would it look to him like you're legitimately seeking to understand things, or trying to get a better grade than your own work warrants? That should guide your behavior. Here is a list of some particularly common things, with an explanation:

We run MOSS on all homework submissions to catch inappropriate collaboration and plagiarism. If we catch you cheating, you will be reported to SJACS, no exceptions. Follow the above guidelines to make sure this doesn't happen to you.

Again, most importantly, you should never send your code or test cases to anyone other than course staff, for any reason. As soon as you send it, you have no control over it; it could get shared with a lot of students. When code or test cases are shared, both students are culpable! Remember: friends that pressure you for unreasonable help are not really friends. There are plenty of course staff and instructors who are here to help!