MIT OpenCourseWare
  • OCW home
  • Course List
  • about OCW
  • Help
  • Feedback
  • Support MIT OCW

Lecture Notes

Any number of development tools can be used to compile and run the .java files in this section. Java® plug-in software is required to run some of the Java® files in this section. File decompression software, such as Winzip® or StuffIt®, is required to open the .zip files in this section.

This section contains the course's lecture slides, along with accompanying Java® code and other files used to interactively solve problems during Active Learning sessions. Students are expected to bring their laptop and wireless ethernet card to all lectures, especially the ones designated as Active Learning sessions.

LEC # SUPPORTING FILES SOLUTIONS
Lecture 1 (PDF) Lecture01Supp.zip (The ZIP file contains: Welcome.java, Welcome1.java.)
Lecture 2 (PDF) Lecture02Supp.zip (The ZIP file contains: Kilometer.java, NauticalMile.java.)
Lecture 3 (PDF) Lecture03Supp.zip (The ZIP file contains: Control.java, ControlExercise.java, DataType2.java,
DataTypes.java, Iteration.java, Iteration2.java.) 
Lecture 4 (PDF) Lecture04Supp.zip (The ZIP file contains: Counter.java, Factorial.java, Factorial2.java, IntOverflow.java, NaNTest.java, Rounding.java, TypePromotion.java.)
Lecture 5 (PDF) Lecture05Supp.zip (The ZIP file contains: BigDecTest.java, BigIntTest.java, Empty.java, SimplePoint1.java, SimplePoint2.java.)
Lecture 6 (PDF) Lecture06Supp.zip (The ZIP file contains: BigDecTest.java, Rectangle.java, Rectangle1.java,
SimplePoint.java, SimplePoint1.java, SimplePoint2.java.)
Lecture 7 (PDF) Lecture07Supp.zip (The ZIP file contains: CallByValue.java, CallObjExample.java, GlassExample.java, Overload.java, Power1.java, StringExample.java.) 
Lecture 8 (PDF) Lecture08Supp.zip (The ZIP file contains: ArrayTest.java, Line.java, VectorExample.java.) 
Lecture 9 (PDF) Lecture09Supp.zip (The ZIP file contains: Static.zip, Street.java.)
Lecture 10 (PDF) Lecture10Supp.zip (The ZIP file contains: Exponentiation2.java, Fibonacci.java, GCD.java,
MaxRecurse2.java, Power.java, README.txt, Recursion.zip.)
Lecture 11 (PDF) Lecture11Supp.zip (The ZIP file contains: PkgClass.java, PkgTest.java, TopLevelClass.java.) 
Lecture 12 (PDF) Lecture12Supp.zip (The ZIP file contains: Circle.java, GeometricShape.java, Line.java, PlantTest.java, Student2.java, TestPoly.java.)
Lecture 13 (PDF) Lecture13Supp.zip (The ZIP file contains: CellPhone.java, Computer.java, Electronic.java, Laptop.java, Vehicle.java, VehicleTest.java.)
Lecture 14 (PDF) Lecture14Supp.zip (The ZIP file contains: FavoriteColor.java, ImageView1.java, ImageView2.java,
Today.java, Today0.java, Today1.java, Today2.java.) 
Lecture 15 (PDF) Lecture15Supp.zip (The ZIP file contains: AddButton.java, BorderL.java, Flow.java, Grid.java, Hello.java, Today1a.java, TwoSize.java.)
Lecture 16 (PDF) Lecture16Supp.zip (The ZIP file contains: AnonComboBoxApp.java, Button1.java, Clock.java,
ClockTest.java, ComboBoxApp.java, Mousing.java.) 
Lecture16Solns.zip (The ZIP file contains: Clock1.java, Clock2.java, ClockTest1.java, ClockTest2.java.)
Lecture 17 (PDF) Lecture17Supp.zip (The ZIP file contains: Ellipse.java, NgonApp.java, NgonView.java, Null.java,
Signature.java, Strokes.java.)
Lecture17Solns.zip (The ZIP file contains: NgonApp1.java, NgonView1.java.)
Lecture 18 (PDF) Lecture18Supp.zip (The ZIP file contains: Cardioid.java, CardioidGraph.java, GraphPanel.java.) 
Lecture 19 (PDF) Lecture19Supp.zip (The ZIP file contains: Bracket.java, Evaluator.java, FuncB.java, MathFunction.java, MathFunction1.java, MathFunction2.java, Newton.java, Pathological.java, Pathological2.java, RootFinder.java, RootFinder1.java, Roots.java.)
Lecture 20 (PDF) Lecture20Supp.zip (The ZIP file contains: FindPi.java, Integration.java, MathFunction.java.)
Lecture 21 (PDF) Lecture21Supp.zip (The ZIP file contains: DiagonalMatrix.java, Matrix.java, MatrixMain.java,
Simpson.java.)
Lecture 22 (PDF) Lecture22Supp.zip (The ZIP file contains: GaussMain.java, GElim.java, Heat2a.java, Matrix.java.)  Lecture22Solns.zip (The ZIP file contains: Heat2a.java.) 
Lecture 23 (PDF) Lecture23Supp.zip (The ZIP file contains: ArrayQueue.java, ArrayStack.java, ColorUtil.java,
Queue.java, QueueViz.java, RingQueue.java,
RingQueueViz.java, Stack.java, UndoViz.java.) 
Lecture23Solns.zip (The ZIP file contains: ArrayQueue1.java, ArrayStack1.java,
RingQueue1.java, UndoViz1.java.)
Lecture 24 (PDF) Lecture24Supp.zip (The ZIP file contains: ArrayStack.java, Calculator.java, CalculatorApp.java, CalculatorController.java, CalculatorModel.java, Stack.java.) 
Lecture 25 (PDF) Lecture25Supp.zip (The ZIP file contains: BadArgument.java, Birthday.txt, BirthdayApp.java,
BirthdayModel.java, BirthdayView.java.)
Lecture25Solns.zip (The ZIP file contains: BirthdayApp.java, BirthdayModel.java,
BirthdayView.java.)
Lecture 26 (PDF) Lecture26Supp.zip (The ZIP file contains: List.java, ListIterator.java, ListIteratorView.java, ListUtil.java, Screen.java, SLinkedList.java, LinkedListApp.java, LinkedListView.java.)  Lecture26Solns.zip (The ZIP file contains: List.java, SListIterator.java, ListIteratorView.java, ListUtil.java,Screen.java,
SLinkedList.java, inkedListApp.java,
SLinkedListView.java.)
Lecture 27 (PDF) Lecture27Supp.zip (The ZIP file contains: BinaryTree.java, TreeEditor.jar, TreeTraversal.jar.) 
Lecture 28 (PDF) Lecture28Supp.zip (The ZIP file contains: BinarySearchTree.java, BinarySearchTreeApp.java, BinarySearchTreeView.java, Comparator.java, MapIterator.java, MapIteratorView.java, SortedMap.java, StringComparator.java.)
Lecture 29 (PDF) Lecture29Supp.zip (The ZIP file contains: DataFormatException.java, JFileViewer.java, JTextViewer.java, PolygonCanvas.java, PolygonPlotter.java, polygons, PolygonViewer.java.)
Lecture 30 (PDF) Lecture30Supp.zip (The ZIP file contains: Logger.java, LoggerIO.java.)  Lecture30Solns.zip (The ZIP file contains: LoggerIO.java.) 
Lecture 31 (PDF) Lecture31Supp.zip - 1.3 MB (The ZIP file contains: FirstLastName.java, HashMain.java, HashMap.java,
jas.jar, Map.java, MapIterator.java, Name.java, names.txt, ResultViewer.java.)

Lecture 32 (PDF)
Lecture 33 (PDF) Lecture33Supp.zip (The ZIP file contains: CountingSort.jar, InsertionSort.jar, MedianQuickSort.jar,
QuickSort.jar, Sorting.zip, SortingSrc.zip.)
Lecture 34 (PDF) Lecture34Supp.zip (The ZIP file contains: Clock.java, JBetterFileViewer.java, JTextViewer.java,
URLCopyThread.java, URLCopyThreadMain.java.)
Lecture 35 (PDF) Lecture35Supp.zip (The ZIP file contains: SimpleClock.java, Ticker0.java.) Lecture35Solns.zip (The ZIP file contains: Ticker1.java, Ticker2.java.) 
Lecture 36 (PDF) Lecture36Supp.zip (The ZIP file contains: BufferedImageDisplay.java, BufferedImageOp.java,
EdgeDetectionOp.java, ImagePanel.java, ImageDisplay.java, SharpenOp.java.)
Lecture 37 (PDF)

 

 

Java® is a trademark or registered trademark of Sun Microsystems, Inc. in the United States and other countries.
StuffIt® is a trademark of Aladdin Systems, Inc.
WinZip® is a registered trademark of WinZip Computing, Inc.