23 January 2019   PDF version

Welcome to CS 120, on web page and application development. Topics include HTML, Web browser and server communication using HTTP and HTTPS, browser state tracking, basic web server configuration settings, client-side JavaScript, back-end database connectivity, and application development using common tools and languages. Students are required to develop and complete several web-based applications.

Monday, Wednesday 2–3:50 PM

Contact Info

Prof. Christopher League, Ph.D.
Email: — please include “CS120” in the subject. I have several email addresses, but all messages end up in the same place, so please use only one.
Office hours:
Monday, Wednesday 4–4:50 PM and by appointment
Office phone:
+1 718 488 1137 (but email is better)
Office location:
Pratt 122 (2nd aisle, 2nd desk on left)


We will use several web resources:

We will also use a designated virtual machine image to complete assignments, so that we have a consistent work environment. More details about configuring and operating it will be available in Check-in 1 and Project 1.

There is no required textbook, but if you’d like a book to supplement or for reference, here are some great suggestions:


Your grade will be computed based on the materials you submit. There are a total of 1,000 points available, broken down as follows:

  • There will be 7 programming projects during the semester. Assignments are worth 100 points each, for a total of 700 points.
  • There will be 12 ‘check-in’ opportunities, roughly one per week. These vary from week to week, but may involve responding to a survey, taking a brief online quiz, participating in a discussion, or making some progress on an assignment. Check-ins are worth 30 points each but I will drop the lowest 2 scores so only 10 will count, for a total of 300 points.

On the 1,000-point scale, you can expect the following letter grades:

>= 930: A >= 770: C+
>= 900: A– >= 730: C
>= 870: B+ >= 680: C–
>= 830: B >= 600: D
>= 800: B– else: F

In the end, I may choose to adjust the scale slightly to compensate for assignments or questions that turned out to be trickier than I intended. Such adjustments would never lower your grade from what is designated in the above table; if you achieve 930 points, you are guaranteed an A.


It is important to complete tasks on time, so you don’t fall behind. Missed check-ins will receive a zero, and cannot be made up (but remember, the lowest two are dropped). Late assignments are accepted up until finals week, but will be penalized as follows.

We define a lateness factor \(f\) as a real number in the range \(\{0\dots1\}\) that will be multiplied by your earned score to determine a late score. The formula is:

\[ f = \min\left(1.0, \frac{18 - \log_2{\left(\frac{h}{24}\right)}}{20}\right) \]

where the variable \(h\) represents the number of hours the submission is late. The table below shows some sample values of the late factor for increasingly late submission times.

weeks late days late hours late \((h)\) late factor \((\,f\,)\)
0.01 0.1 2.4 1.000
0.04 0.3 7.2 0.987
0.07 0.5 12.0 0.950
0.14 1.0 24.0 0.900
0.29 2.0 48.0 0.850
0.43 3.0 72.0 0.821
1.00 7.0 168.0 0.760
2.00 14.0 336.0 0.710
4.00 28.0 672.0 0.660
8.00 56.0 1344.0 0.610

The idea is that is that the penalty is somewhat steep initially (from an A to a B+ after just one day) but shallows out over time. It will still be worthwhile to submit a missing assignment, even weeks late.


There will be no extra credit. Students usually ask for extra credit late in the semester after they have already squandered their original opportunities. Be sure to start your work early, so that we can detect and solve any problems before they can impact your grade.

Plagiarism is the use or presentation of ideas, words, or work that is not one’s own and that is not common knowledge, without granting credit to the originator. Plagiarism is a practice that is not only unacceptable, but which is to be condemned in the strongest terms possible on the basis of moral, educational and legal grounds. Under University policy, plagiarism may be punishable by a range of penalties from a failing grade in the assignment or course to dismissal from the School of Business, Public Administration and Information Sciences. All students are required to read the handbook on avoiding plagiarism.

Cheating includes, but is not limited to the following: falsification of statements or data; listing sources that have not been used; having another individual write your paper or do your assignments; writing a paper or creating work for another student to use without proper attribution; purchase of paper or research work for one’s submission as their own work; using written, verbal, or electronic or other sources of aid during an examination (except when expressly permitted by the instructor, depending on the nature of the examination) or knowingly providing such assistance to aid other students.

In a course with programming assignments, it is usually okay to work with and learn from other students to some extent, but what you submit in the end needs to be your own. The most reliable way to do that would be to set aside whatever code you created together, and then recreate it from scratch on your own.

Showing up on time to class is extremely important. If you must be absent or more than 5 minutes late, please try to notify me in advance. I will be keeping track of whether you are in class, and when you arrive. A few missed classes will not count against you, but habitual absence will significantly hurt your grade. Additionally, there will be no make-up quizzes. I do not distinguish between “excused” and “unexcused” absence. Unless you miss an exam due to a severe medical emergency, I don’t need to see a doctor’s note. If you do miss an exam, the make-up exam may be somewhat different from the one given in class.

In accordance with Section 504 of the Rehabilitation Act of 1973 and the Americans with Disabilities Act of 1990, including changes made by the Americans with Disabilities Amendments Act of 2008, the Long Island University does not discriminate against qualified individuals with disabilities. If you are a student with a documented disability/​impairment (psychological, neurological, chronic medical, learning disability, sensory, physical) and require reasonable accommodations, please register with Student Support Services and provide me with an accommodation letter. Visit Sloan Building 1st floor, call 718 488 1044, or visit Student Support Services.

LIU Safe Zone Logo

I participate in the LIU Safe Zone program. Representatives of the program serve as contacts for individuals on campus with questions or concerns related to sexual orientation and gender identity, whether of self or of a friend or family member. The goal of the program is to promote a safe and free campus for all students. Safe Zone areas can be identified by a sticker with the LIU Safe Zone logo.

The Family Educational Rights and Privacy Act (FERPA) gives students control over the disclosure of their educational records. During this course you may have the opportunity to create accounts or register with certain public online services. In these cases, you need not make any personally identifying information public. You may use a pseudonym or online handle, as long as you identify yourself to the instructor.