Introduction to Computer Science I

V22.0101


Professor: Edmond Schonberg


Reaching Edmond Schonberg

ATTENDANCE IN CLASS IS MANDATORY.

Section 001 (M/W 11:00-12:15) final exam MON DEC 15 10:00-11:50

Special Information for the Honors Section of 101

Should you take this course?
This is the honors section of the first course in the computer science major. We will learn the fundamentals of Programming using Java, and we will study the language from the beginning, but the class will move more quickly than the regular sections, and we will cover some topics not covered by the other sections. Prior knowledge of Java is not required. If you already know Java well, you should not be taking this course: speak to me about what to take instead.

Prerequisites

You must have some experience in programming in C, C++, Pascal or equivalent, and you must have good academic credentials. If you have already taken the AP exam in CS, and passed it with a grade of 4 or 5, you can place out of this course altogether. Speak to me if you have any questions.

If you do not do the homework programs, you cannot pass the course. If home work is late, 1 point (25%) is deducted. After one week of lateness, home work will not be accepted.

Students can get help via email to the e-tutor assigned o this section: Asya (Esther) Iserovich. The etutors are there to give help as well as to grade homework assignments. Also, ITS consultants will be available most times 11-6 Mon-Fri at the 14 Wash. Pl site.

Course Materials (click text link for text description and downloads)

Introductory Information

Sending homeworks by email

Send your java files (not the class files!) to ai342@nyu.edu as well as to schonberg@cs.nyu.edu

Homeworks

You should only submit your homework once, except for resubmitting it once to improve your grade.

Assignments.


Assignment I
Assignment II
Assignment III
Assignment IV
Assignment V
Assignment VI
Assignment VII

Example programs

HelloThere.java
gcd0.java
gcd.java
Pascal.java
arrayTest.java
Point.java
Edge.java
Face.java
display.java
display.html
Number.java (long integer arithmetic)
testNumber.java (test program for the above)
Exceptions.java
ArgumentError.java (a user-defined exception)
fifteen.java
polygons.java (convex and non-convex)
testP.java (test program for the above)
Cycloid.java (function plot with polygons)
testCycloid.java (test program for the above)
TimerTest.java
Printer.java
Race.java
MovingSquares.java
algorithmic solution to Fifteen puzzle (from Joseph Sofaer)