CSE 10+13/14: Introduction to Computing
Resources:
- Syllabus for CSE 10, for fall 2002 (as Word document, suitable for printing)
- Blackboard
site for Introduction to Computing, fall 2002.
Find information about your grades and a bulletin boards for the course here.
The chief TA for this course, Faisal Khan, will maintain this site.
Note: Hand in your homework in the Drop Box accessible via
the Tools button on the Blackboard site.
Please hand in your assignments in the Blackboard Drop Box. The TA will
grade and upload them here, too.
- Email addresses and office hours of apprentice teachers
and teaching assistant (grader), for fall 2002.
- Homework policy of Computer Science division.
Here's another explanation of this policy.
Make sure you read and understand it!
- BlueJ Java programming environment. Designed
for beginners, especially recommended for learning object-oriented programming
concepts. Available on The Universal Computer CDROM and on the Lehigh
LANs (just run "bluej").
- Dick Chase's Javaedit. A Java programming
environment with a small footprint. Also available on The Universal Computer
CDROM and on the Lehigh LANs (just run "javaedit").
- Java 1.4 documentation:
You find information about all the classes and methods of JDK here.
It's also on the campus LAN at Y:\lib\JDK14\docs\api\index.html.
If you want your a copy on your own PC, you can download the JDK documentation, courtesy
of Sun's JavaSoft.
- Java source code for The
Universal Computer, for off campus use. Run this setup program to
install all the current code associated with the textbooks and multimedia
into drive H:, as well as the ucomp package (i.e., ucomp.Input, ucomp.GUInput
and ucomp.Assertion, assuming you have already installed the JDK).
- Input, Assertion and GUInput class files. After
unzipping this file, you can either 1) copy the three .class files in <jdk13>\jre\classes\ucomp
(where <jdk13> is thefolder where you have the JDK installed, such as
C:\jdk1.3). In this case, you need to the statement "import ucomp.Input" at
the top of your programs. Or 2) copy the .class files you need
into the same folder as the source code for your programs (for example, if
your program is in folder H:\ucomp\Interactive, then copy Input.class and
Assertion.class into folder H:\ucomp\Interactive). In this case, you
must not have this statement in your program. Note: Assertion.class
won't work with JDK 1.4 and Input.class and GUInput.class both require Assertion.class,
so use JDK 1.3.
- WinZip. An file archiving tool, widely
for compressing and uncompressing files, for faster trasfer via the web or
disks.
- ws_ftple. A file transfer
tool, free to students for educational use.
- ASCII code table. (Note that this isn't
a complete table.)
- Google search engine. one of the better
search engines on the web
- Web site for the old textbook: The Universal Machine.
Links to solutions to chapter review exercises,
web links by chapters, etc.
- Knobby's World. Also on LANs and CDROMs.
- LOOKOUT FAQ. What to do if LOOKOUT cannot
find the "lrd" or "redir" command, how to copy and paste, etc.
- LOOKOUT for C++--, a programming environment
for C++ programming. It's about 8 megabytes download, about 20 megabytes
installed. Version 1.3 comes on the new CD-ROM (the CD-ROM with the book is
an older version) and is installed on the Lehigh LANs (just run "lookout").
To use LOOKOUT on the Lehigh LANs, run this
setup program.
- LOOKOUT library for Borland C++. This
is a zip file containing lookout.lib, compiled to link with Borland C++, plus
the header files, plus most of the source code associated with the book, using
the .cpp extension (instead of .cc), which Borland C++ prefers. If you want
to use Borland C++ instead of LOOKOUT (really?), but need to use the LOOKUT
library described in The Universal Machine, then download this file,
then unzip it.
- Jarrett Raim's notes on the C++ strings. (Powerpoint.)
Here's a
summary document fo the string class and here
are some lecture notes.
- Here is reverse.cpp, a sample C++ program using
strings, similar to reverse.java. Unlike Java,
C++ strings are mutable, so you don't need StringBuffer.
- Barnes and Kolling's PowerPoint notes for chapter
4 (Grouping objects in collections and arrays) and chapter
5 (More sophisticated behavior using the JDK)
Assignments: Exercises for chapter
1. Due Tuesday, 9/3.
Exercises for chapter 2 (both lab and homework assignment).
Homework part due Tuesday, 9/10.
Consent form explaining experiment and
assignment #3. Takes place in lab, Sept 9-13, so please attend. Instructions for multimedia.
Instructions for textbook.
Exercises for The Universal Computer chapter
3 and Objects First With Java chapter 2. Due Sunday, 9/29.
Lab work for The
Universal Computer chapter A. For labs the week of 9/23-9/27.
Exercises for The Universal Computer chapters
A and 4. Due Friday, 10/18.
Exercises for The Universal Computer
chapters B and 5. Due Tuesday, 11/5, 1:10PM, hard copy in class, electronic
copy via Blackboard drop box.
Exercises for The Universal Computer chapters
6, 7 and C and Objects First With Java chapter 4. Due Tuesday, 11/19,
1:10PM, hard copy in class, electronic copy via Blackboard drop box.
If necessary, hand late homework in Faisal Khan's mailbox in PL304.
Exercises for The Universal Computer chapters
8 and 9 and Objects First With Java chapter 5. Due Thursday, 12/5,
1:10PM, hard copy in class, electronic copy via Blackboard drop box.
If necessary, hand late homework or extra credit mentioned in the assignment
in Faisal Khan's mailbox in PL304. I have extended the due date for this assignment
to Monday, 12/9, 4PM (in Faisal's mailbox in PL304). Here are some
answers to questions students have asked. Here is a stub
version of the War program; many of the constructors and methods need to
be fleshed out, and some method signatures have not been supplied.
Lab quizzes: All lab quizzes here.
Note: Quizzes should be taken at the end of multimedia labs.
Sample exams: