CS 112 - Introduction to CS II - Summer I, 2015


[Resources | Staff Contact Information |Course Schedule ]


Resources

Staff Contact Information

Resources

Instructor

Wayne Snyder
      Email: waysnyder@gmail.com

     Office: MCS 147
     Office Hours: M - W 7-9pm
      Cell Phone: 617 - 966 - (210 + 41) (email vastly preferred)

Teaching Fellow:

TBA



Course Schedule

Back to Top

Lecture
Date
Lecture Topic
Readings
Lecture Slides and Code Examples
Homeworks and Tests
Labs
1
T 5/19

Overview of Course & Course Policies; Motivational Lecture: Two algorithms for searching an array---algorithm, implementation, analysis, and experiments

Syllabus;

Lecture01.pdf

 

   
2
W 5/20

Introduction to Java: compilation vs interpretation, expression-oriented vs statement-oriented, and types; increment and decrement operators, control structures; break and continue;

Array type

Read Ch. 1 of Java; in Ch. 2 read about expressions; increment/decrement operators (++ and --); control structures (emphasize if, while, and for); also read about the array data type

 

Used the board and Dr. Java!

 

HW01: HTML  
R 5/21 Defining a static class; The words static, public, & private; Defining and using methods; Local variables vs fields; Scope of variables and fields; Defining objects (non-static classes); Object-Oriented design

Please read about "break," "continue," and "return" on pp.52-54, and then read the sections on "Methods" and on "Classes" and "Objects" which starts on p.64 and read through to p.69.

Then go back and read about local variables in the section starting on p. 45.

Used the board and Dr. Java! Homework Two: HTML  
3 T 5/26     Used the board and Dr. Java!    
4 W 5/27

Reference types: How are the variables for arrays and objects different than for primitive types?

Fixing a big problem with stacks and queues: Array resizing

Implementing Queues with Ring Buffers.

Read first subsection of "Reference Types" on "Copying Objects and Arrays";

Optional: Read about "Ring Buffers" on Wikipedia

Used the board and Dr. Java!    
             
             
             
             
             
           
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             

Back to Top