Introduction to Computers and Programming

V22.0002, Section 002 - Fall 2001

Nicholas Pappas

Class: Mon/Wed 3:30 pm - 4:45 pm, CIWW 109

Office Hours: Wed 5:00-6:00 pm, CIWW 419 
(also by appointment)

  Email: pappas@cs.nyu.edu  office phone (212) 998-3301


Course Syllabus


Assignments

Assignment Due Date
1. Assignment 1 Wed., Sep. 26 3:30 PM Solution
2. Assignment 2 (Revised) Wed., Oct. 10 3:30 PM Solution
3. Assignment 3 Mon., Oct. 22 3:30 PM Solution
4. Assignment 4 Wed., Nov. 7 3:30 PM Solution
5. Assignment 5 Mon., Nov. 19 3:30 PM Solution
6. Assignment 6 Wed., Dec. 10 3:30 PM Solution

 How to Print Output
[NOTE: output only! source code must be printed from within Visual C++]

Midterm 1 Select Problem Solutions

Question 1 Calculate Interest
Question 2 Draw X of (odd-numbered) Dimension
Question 3 What is the output? executing code

Midterm 2 Solution

Fall 2001 Second Midterm Solution

Book Exercises

Solutions to select C problems in Deitel, Chapters 2-6 and 10
 
 

Programs Reviewed In Class

Nesting Example Wed. Sep. 26
Switch Mon. Oct. 1
Simple while loop Wed. Oct. 3
Students while loop Wed. Oct. 3
Increment/Decrement Operators Wed. Oct. 10
For Loops Examples Mon. Oct. 15
CharacterExamples Wed. Oct. 17
Craps Example
(Textbook Exercise 5.51)
Wed. Nov. 7
Arrays and Functions Wed. Nov. 28
Structure Example Mon. Dec. 3
typedef Structure Example Mon. Dec. 3
Array of Structures Example Mon. Dec. 3

Sample Exams
Sample First Midterm Sample First Midterm Solutions
Sample Second Midterm with Solutions
Sample Second Midterm Solution to Problem 1 (move.c)
Another Sample Second Midterm with Solutions
SAMPLE FINAL QUESTIONS with Solutions
ACTUAL PAST FINAL with 1 solution Solutions (zipped)
ANOTHER ACTUAL FINAL with select solutions

NOTE: CLASS MEETS IN ROOM 109 STARTING MONDAY 9/10!
Class notes (Microsoft Powerpoint necessary for viewing)
Notes I: Class 1
Notes II: Class 2
Notes III: Class 3
Notes: Class 4
Notes: Class 5
Notes: Class 6
Notes: Class 7
Notes: Class 8
Notes: Class 9
Notes: Class 10
Notes: Class 11
Notes: Class 12
Notes: Class 13
Notes: Class 14
Notes: Class 15
Notes: Class 16
Notes: Class 17
Notes: Class 18

 

Important Dates

First Midterm:   Wednesday, October 24 3:30-4:45 pm
Second Midterm:   Wednesday, November 14 3:30-4:45 pm
Final Exam:  Tuesday December 18
2:00-3:50 pm
  Room: 
Tisch UC50
make sure you know where it is!
  Alternate: tba (must pre-register!)

Updated: December 13, 2001