Comp 110 Syllabus

COMP 110: Intro to Programming

Bulletin Description

Introduction to computer use. Approaches to problem solving; algorithms and their design; fundamental programming skills. Students can receive credit for only one of COMP 110 or 116.

General Course Info

Term: Fall 2017
Department: COMP
Course Number: 110
Section Times: 

001: MW, Fred Brooks 007, 11:15 AM - 12:30 PM
002: TR, Genome Sciences G100, 12:30 PM – 1:45 PM
003: TR, Genome Sciences G100, 3:30 PM – 4:45 PM

Instructor Info

Name: Kris Jordan
Office: SN 254
SnapChat: cpuhat
Office Hours:

Enrolling in COMP110

To enroll in COMP110 you must be enrolled on ConnectCarolina on the first meeting of class. If you are not enrolled and trying to add late you must attend the first lecture and fill out a form distributed during the class time. We cannot accept late adds who do not show up on the first day of classes.

Teaching Assistants (see course web page)

Within the first weeks of the course beginning, you will be assigned a dedicated TA support staff made up of two members of the COMP110 team. In addition to your personal TA team, our incredible staff will hold copious amounts of open office hours during the week. These hours will be posted on the course website.

Textbooks and Resources

The course web page is the primary resource for this course. There is no textbook for COMP110. We will distribute occasional readings, reference material, and tutorials via the website and announcements.

Course Description, Target Audience and Prerequisites

This course is an introduction to computer programming for students with no previous programming experience. There are two primary goals: i) learn fundamental computer programming skills, and ii) improve your problem solving and logical thinking skills. The course is designed to use the TypeScript/JavaScript programming languages.

If you have already taken a college-level (or AP) Computer Science course, you may want to skip this class and take COMP 401. Please refer to the following link for more information:

Comp 116 is another introductory computer programming course, but with emphasis on scientific computing. Two versions are offered, one using the Python programming language and the other MATLAB. Both 116 and 110 satisfy the prerequisite to continue with further programming courses (e.g. Comp 401).

Goals and Key Learning Objectives

This course is intended to teach basic computer programming skills, using the programming language TypeScript, to students with no prior programming experience. This course aims to teach students general programming language concepts and semantics, problem definition, problem solving, and logical thinking, through algorithm development and writing programs.

Course Requirements and Policies

You should attend the lectures on both meetings of the week and check the course web pages for announcements and updates. You should complete assigned readings, programming assignments, and worksheets on time.

Programming assignments take about 4-10 hours per week; start early and ask questions. Bring your laptop to every lecture session. Please respect your fellow students by maintaining proper etiquette in class; this includes:

  • Not arriving late habitually or leaving in the midst of class;
  • Not talking, sleeping, reading other material etc. in class;
  • Keeping cellphones, etc. off during class (no yakin, tweetin, snappin-- unless they're positive anecdotes about the course, of course);
  • PLEASE DO NOT using your laptop to surf the web, watch Netflix, iMessage, use Facebook, etc.

Key Dates

Midterm exam schedule (tentative):

  • Midterm 0 - Thursday, September 28th
  • Midterm 1 - Thursday, November 16th

Final exam schedule:

  • Section 1 (MW 11:15) - Tuesday, December 12th at 12:00pm
  • Section 2 (TTh 12:30pm) - Friday, December 8th, at 12:00pm
  • Section 3 (TTh 3:30pm) - Thursday, December 14th, at 4pm

The course final is given in compliance with UNC final exam regulations and according to the UNC Final Exam calendar.

Grading Criteria

You will be evaluated in this class as follows:

  • Problem Sets - 30%
  • First Midterm - 20%
  • Second Midterm - 20%
  • Cumulative Final - 15%
  • Worksheets and Quizzes - 10%
  • Participation via PollEverywhere - 5%
  • Extra Credit - Up to 2%

If you perform better on a subsequent exam than the very previous exam, the subsequent exam's score will replace the very previous exam's score. For example, the second midterm can replace the first and the final can replace the second.

Honor Code and Collaboration Policy

Make sure that you are familiar with The UNC Honor Code. You will be required to sign an Honor Code pledge to hand in with every exam as well as "sign" the code you submit for grading.

In order to do well in this course, you must come to your own understanding of the material independently. As such, collaboration is prohibited outside of the following policies.

Collaboration Policy on General Course Content

You absolutely may, and are encouraged to, discuss general course concepts (i.e. not assignment-specific) material with anyone, including other current students and tutors. This includes going over lecture slides, documentation, code examples covered in lecture, study guides, etc. The examples you use to discuss general course materials must be from lecture or your own creativity, you cannot use examples directly drawn from assignments.

Collaboration on Written Worksheets

You are allowed to discuss written assignments with your classmates on whiteboards. You can talk about approaches to problems to develop solutions. However, no notes may be taken away from these discussions, all whiteboards must be promptly erased, and solutions should be written up completely individually.

Collaboration on Problem Set Programs

No collaboration with peers inside the course, or anyone outside the course, with the exception of our course UTAs while they are working as a UTA, is allowed on problem sets. Your ability to complete each problem set individually is critical for your ability to do well in this course. Illegal collaboration is easily detected in COMP110 because we use Stanford's MOSS program (Measures of Software Similarity), as well as other automated techniques. Every year, a number of violations are caught and prosecuted in the Honor Court, so far always resulting in guilty convictions and sanctions. Avoiding any fears here is simple: work on problem sets on your own and come to office hours when you're stuck. Please note that if you know someone who is a UTA, you are only permitted to receive help from them while they are working in their official capacity. Receiving help from a UTA outside of their working hours is considered unfair advantage for academic gain and is an honor code violation.

Permitted Resources on Problem Sets

  • Materials on the website and any linked resources.
  • Instruction received from UTAs.
  • Official TypeScript documentation
  • Online documentation for specific errors you encounter.
  • Talking about general concepts or strategies in problem sets but not specific code. You can not read your code line-by-line either as concrete or pseudo-code.

The following are not permitted resources on problem sets:

  • Talking about problem set specific code with peers in the course or anyone outside the course with the exception of UTAs.
  • Looking at someone else's screen while working on a problem set or letting someone else look at yours.
  • Copying code found on any website or community such as StackOverflow, Github, or CourseHero.
  • Sharing or reusing code with any peer currently in the course or anyone who has previously taken the course.

When in doubt, ask Kris.

Tutors and Informal Help from COMP Friends

Tutors and COMP friends are not allowed to help you with problem sets or written worksheets. They may help you with general course material questions and for additional help in preparing for exams, however we encourage you to rely on UTA assistance foremost.

Code Review Test

Kris reserves the right to, at any time, ask you to submit to an "code review" test with him or a head TA. We may ask you to meet to explain any line of code or decision made in your program that we deem suspicious or confusing. Thus, you should be able to comfortably explain why you (and you alone) wrote any single line of code in a problem set. Should you be unable to do so, your grade will be a zero for assignment in question and you may be taken to honor court depending on the severity of the infraction.

Early and Late Submission Policy

Starting and finishing programming assignments as early as possible is the key to success in COMP110. As such, we want to reward and encourage you for submitting your work early. Falling behind in COMP110 is perilous because the concepts build on one another as the semester progresses.

  • More than 48 hours before deadline: 5% extra credit
  • 24 to 48 hours before deadline: (hours before - 24) / 24 * 5% extra credit
  • 0 to 24 hours before deadline: no extra credit nor penalty
  • 0 to 1 week after deadline: (hours late - 168) / 168 * 50% penalty
  • More than 1 week after deadline: 50% penalty
  • More than 2 weeks after deadline: No credit for the assignment.

Late Point Forgiveness Insurance Policy

As "insurance" against sickness, computer crashes, conflicts with other coursework, etc., every student in the course is forgiven 100 points worth of late penalties at the end of the semester. Note that "late penalty" means points deducted for credit that you earned and these points will only be added back if the assignment was completed in full. Like insurance, there is no reward for not needing to use these points and you should try to avoid using them outside of unpredictable, emergency situations like a computer crashing or being hospitalized.

Grading Scale Breakdown

A: 93-100
A-: 90-92
B+: 87-89
B: 83-86
B-: 80-82
C+: 77-79
C: 73-76
C-: 70-72
D: 60-69
F**: 59 or below

In cases of fractional points, grades will be rounded up if greater than 0.499999999...

** In order to pass the course you must score at least a 40% on the final exam. 

Class Participation

Class attendance and participation is required to do well in this course. The instructor reserves the right to use different means to classify as class participation – you will be clearly informed during the semester, but expect to encounter PollEverywhere quite frequently.

Course Schedule

See the course calendar.


The instructor reserves to right to make changes to the syllabus, including assignment due dates and exam dates. These changes will be announced as early as possible.

Check regularly for updates and announcements!