עמוד הבית של רז לין

Advanced Programming

General Information       Notes       Exercises       Grades


General Information:

Course Name: 88-388: Advanced Programming.
2 hours of lecutre, 1 hour of recitation (Semester A or Semester B).
Lecturer:
Dr. Uri Schild.
TA: Raz Lin.
Teaching Hours and Locations:
Semester A:
88-388-04 Tue.  09:00-10:00, 212/212.
88-388-05 Tue.  08:00-09:00, 212/414.
Semester B:
88-388-07 Wed.  18:00-19:00, 202/331.
Schedule and General Information

Textbooks, Tutorials and Forums:

Java: Prolog:


Recitation Notes:

Note: The notes are in pdf format. In order to view them you need to acquire Adobe Acrobat Reader which is a freeware.
You can download it either from
Adobe or from Tucows - Internet Zahav or Tucows - Netvision.

Tip: Viewing the pdf online might cause some problems in viewing the details on the pages. It's better to download the pdf files to your local hard-disk.

Java:

Download JDK 1.3

During the semester I will publish additional remarks about the lessons. Please note that the remarks are not edited, but they provide additional information. The remarks are published for your convenient.

Notes: Source Code: Remarks:
1. Introduction, Java API FrstProg.java
Turkey.java
NameTag.java
Remarks
2. Instantiation and References, Garbage Collection CarExample.java
myCar = null at the end of the page should begin with a lower case "m".
3. Strings StringExample.java Remarks
4. Arrays ArrayTest.java
MultiArray.java
5. Input/Output Greetings.java
Sum.java    MyTest.java    numbers.dat
Remarks
6. Exception Handling IO.java    books.txt
7. Inheritance Car.java Remarks
8. Interfaces ProductsInterface.java
9.1. AWT and SWING
9.2. Mega Example
ActivatorAWT.java
Activator.java
Mega.java
MegaSwing.java
LayoutExampleAWT.java
LayoutExampleSwing.java
GridWindow.java
FlowWindow.java
BorderWindow.java
BorderTest.java
ButtonDemo.java
Remarks
10. Applets Sample HTML file code for using JApplet Remarks
11. Threads Clock.java
TwoThreadsTest.java
12. Images and Sounds SoundApplet.java Demonstration
13. Networking in Java JabberServer.java
JabberClient.java
Remarks

Download all the notes in pdf format
Download a zip-compressed file of all the sources.



Prolog:

Download LPA Prolog.

Lesson 1 - Introduction, Examples, Program Graph.
Lesson 2 - Lists.
Lesson 3 - Accumulators.


BNF/EBNF:

BNF/EBNF - Summary.

Questions and Answers: BNF and Scoping Rules.


Exercises:

2002, Semester B, Java Ex. #1.                  Due Date: April 18, 2002. (My students should hand it by 15:00 to my mailbox)
2002, Semester B, Java Ex. #2,3.    Due Date: (2) May 29-30, (3) June 5-6.
2002, Semester B, Prolog and E/BNF .     Due dates: Prolog: (1) May 29-30, (2) June 5-6, (3) June 12-13, (4) June 19-20. BNF: June 19-20.

Past Exercises: