http://dora.case.edu/msb/131-F07
http://vorlon.case.edu/~msb11/131-F07
TA Jesse Fish will run an ENGR 131 Help Session this Thursday, 7-8:30pm, in Rockefeller 301. He will review previously taught material (e.g., for loops and some methods this week) and then answer questions. No explicit homework help is to be asked/provided.
eHandouts: Reasons #3, #47, Intro to HTML (by Savitch), Savitch's Simple HTML File, helloworld.html, Example Home Page
Handout: Hello, World!
Programs to check out: HelloWorld.java, helloworld.c (C), helloworld.cc (C++), helloworld.m (Matlab), helloworld.py (Python), WelcomeInMessageDialogBox.java
Review Questions [from Liang]: 1.8, 1.11-17
Programs to check out: TemplateProgram.java, Average1.java, Average2.java, DeclareAndPrintDemo.java, ScannerDemo.java
Review Questions [from Liang]: 2.1-6, 2.8-10, 2.12-13
eHandouts: Problem to Program: Wind Chill, Rolling a Die in Java
Programs to check out: Average3.java, Arithmetic1.java, Arithmetic2.java, MathDemo.java, WindChill.java
Review Questions [from Liang]: 2.14-16, 2.17, 2.19, 2.22, 2.26-29, 3.14-15
Power-of-if Links: Stimulus-Response Agents, iRobot's Roomba, DARPA Urban Challenge
Programs to check out: WindChill2.java, IfDemo.java, IfElseDemo.java, WindChill3.java
Review Questions [from Liang]: 3.1-5, 3.10-13
Power-of-while Links: While in Battle, While in Action
Programs to check out: NaiveRepeat.java, RepeatN.java, RollDieUntilConfirm.java, WindChillWhile.java
Power-of-for Links: For in Action, For Challenges
Programs to check out: NestedLoops.java
Review Questions [from Liang]: 4.4-5, 4.8 (convert to while only), 4.16 (lines 1-14 only), 4.17
Programs to check out: NestedLoops2.java, NestedLoops3.java, DieSums.java, CountDemo.java, CountTimeDemo.java, PrimeTester.java, Grid.java
Review Questions [from Liang]: 4.18a-c, 4.19
Programs to check out: turtlefun.py, MethodsDemo.java
Review Questions [from Liang]: 5.1, 2, 6, 7, 9
eHandout: Procedure Abstraction
Programs to check out: TestMax.java, WhileMethods.java, ForMethods.java, Weather.java, Weather2.java, Peculiar.java
Review Questions [from Liang]: 5.10, 11, 13, 15-18
Programs to check out: MaxMinAvg.java, DiceStats.java
Review Questions [from Liang]: 6.1-9
Programs to check out: ArraysDemo.java, Robots.java, TicTacToe.java
Review Questions [from Liang]: 6.12, 13, 17, 18, 25, 27, 28
eHandout: Files, or Places to Put Your Stuff
Programs to check out:
- TestFileClass2.java
- ReadFileTrial.java
- ReadFileTrial.java (to run, also download MadlibDataTrial.txt)
- ReadFile.java (to run, also download MadlibData.txt)
- WriteFile.java
- PrimeFinder2.java
- GLRatings.java (to run, also download u.data [1.9MB])
Review Questions [from Liang]: 8.25-31
Reading:
- Stepwise Refinement / Iterated Development
- Program Development Plan
- Image File I/O in Java
Programs to check out: ColorFun.java
From Fall 2006: PA#7 Best of "Programming Assignment #7"
Review Problems eHandout (print and bring to lecture)
Some extra programs to check out: SimpleIO.java, SimpleFlow.java, SimpleMethods.java
Selected String class methods, String class documentation
Review Questions [from Liang]: 8.1, skipping (7); 8.3-6
Programs to check out: Palindromes.java
Sun's documentation: What Is an Object?, What Is a Class?
Review Questions [from Liang]: 7.1-2
Programs to check out: Circle.java, CircleTest.java, Robot.java, RoboWorld.java
Review Questions [from Liang]: 7.2, 7.10, 7.11
Review Questions [from Liang]: 7.13, 7.14, 7.15, 7.22
Programs to check out: CircleTest2.java
Case study: Liang's Problem 7.4
Programs to check out: Movie.java
Case study: Complex Class Problem (Solution that we developed in lecture: Complex.java)
Case study: IntegerSet Class Problem (Solution: IntegerSet.java, IntegerSetTest.java)
Review Questions [from Liang]: 9.1,3,4; 12.3-5
Programs to check out: Parent.java, PayMovie.java, PG13Movie.java
eHandouts: GUI Components
Programs to check out: GUIComponents.java
Review Problems eHandout (print and bring to lecture)
Java Reference Sheet eHandout (print and bring to lecture)
Some extra programs to check out: ClassInstanceExample.java, GetAndSetExample.java
Review Questions [from Liang]: 12.7-9, 14.10
Programs to check out:
GUIComponents.java,
Addition.java,
Histogram.java, HistogramTest.java,
Liang's TestActionEvent.java,
Liang's Exercise14_4.java
HTML Review:
Intro to HTML (by Savitch), Savitch's Simple HTML File, helloworld.html, Example Home Page
Applets to check out:
First, see those in Useful/Fun Links section below
HelloWorldApplet.java, HelloWorldApplet.html
Loan.java, LoanApplet.java, LoanApplet.html
FinalApplet.java, FinalApplet.html
TicTacToe.java, TicTacToe.html
Ball.java, BallControl.java, BounceBallApp.java
Prof. Branicky's Tower of Babel
Other Languages
JavaScript Examples
JavaScript BMI Calculator
JavaScript eHandout
FinalApplet2.java, FinalApplet2.html
Review Problems eHandout (print and bring to lecture)
Java Reference Sheet eHandout (print and bring to lecture)
How To Submit Problem Sets
Olin 703 Access Survey
[closed]
Information Sheet
Study Materials:
Java Reference Sheet
Review Problems Handout from Lecture #15
Sample Exam from Fall 2006 and Solutions and Post-Mortem
Sample Exam Problems from Spring 2006 and Solutions
Self-Test Questions with Answers
Fall 2007 Exam, Solution/Model, Post-Mortem
Information Sheet
Study Materials:
Java Reference Sheet
Review Problems eHandout from Lecture #23
Sample Exam from Fall 2006 and Solutions and Post-Mortem
Sample Exam A from Spring 2006 and Solutions
Sample Exam B from Spring 2006 and Solutions
Self-Test Questions with Answers
Fall 2007 Exam, Solution/Model, Post-Mortem
Note: our final will be longer than each midterm and comprehensive (unlike the Sample Exams provided below)
Information Sheet
Study Materials:
All the materials for Midterm Exam #1 above
All the materials for Midterm Exam #2 above
Java Reference Sheet
Review Problems eHandout from Lecture #28
Sample Exam A from Spring 2006 and Solutions
Sample Exam B from Spring 2006 and Solutions
Self-Test Questions with Answers
Post-Mortem
Try "Reset", "Debug Mode", "Run". Alternatively, use java classname in the Interactions Pane.
Note: You can debug single methods (other than main). Use classname.methodname(methodargs)