CMSC 120 Computer Science 1
Downloads
To
get a free download of DrJava
To
get a free Java JDK from Sun Microsystems:
Java SE
Downloads choose the top download
button
A Beginner’s Guide to DrJava: Beginner's
Guide to DrJava (pdf file -- need Acrobat reader)
Lab Final Programs
Lecture Notes
Lecture # 1 -- Introduction to Computer Science 1
Lecture # 2 – Basic Elements of Java -- Read Malik, Chapter 1 and Chapter 2
Primitive types and
Casting (example)
Lecture # 3 -- Strings and I/O --
Read Malik, Chapter 3
Interactive
Input and StringTokenizer
Formatting
Numerical Output (Taught in Lab.; text
pp. 977-980)
Conditional Statements (short introduction)
Lecture # 4 -- Conditional and
Iterative Statements
Read Malik, Chapter 4,
pp 168 - 199; Chapter 5, pp 224 - 240;
Chapter 9,
pp 530 - 542
Conditional
Statements (part 1)
Lecture # 5 -- I/O Streams, File I/O, and
StringTokenizer
Lecture # 6 -- Review (note change
in last assignment dates)
Exam 1 -- February 26
(see below)
Lecture # 7 -- Introduction to
methods and parameters
Read
Chapter 7 pp 359 -- 412
Methods
-- parameters, visibility, & scope
Lecture # 8 -- Introduction to Object-oriented
Programming
Lecture # 9 -- The Object-oriented Programming
Paradigm
Object-oriented
Programming (part 1)
Lecture # 10 – Nested loops and
exceptions
Homework Assignments
Assignment # 4 (Due
Feb. 19, Program due Feb. 26)
Exam Review Material
Review
Material for Exam 1 (February 26)
Practice writing methods
(part 1)
Review Material for Exam
2 -- (April 23)
Review Material for
Final Exam