Schedule - CS 312 - Fall 2015

Reading assignments with a cited chapter are from the required textbook, Building Java Programs 3nd edition by Stuart Reges and Marty Stepp.

Complete the readings before class, do the self check exercises and practice it problems after class.

Burnt Orange Sections: Lecture MWF 10 - 11 am and 11 am - 12 noon
Bevo Sections: Lecture Monday 1 - 2 pm

Monday Tue Wednesday Thursday Friday
    8/26 
BURNT ORANGE:  Topic1 Course Intro
Slides: PPT, PDF, PDF for printing

1.. Read sections 1.1 - 1.3
2. Complete the items on the startup page.

8/27 8/28
BURNT ORANGE:  Topic2: Basic Java
Slides: PPT, PDF, PDF for printing

1. Reread sections 1.1 - 1.3 in the book.
2. Suggested Self-Check Problems: Chapter 1 numbers 2, 3, 4, and 5.
3. Suggested Practice It exercises: 1.2 binary 1, 1.1 Stewie, 1.8 Stewie 2.

No BURNT ORANGE  discussion sections. (unique class ids 50550 - 50580) BEVO discussion sections (unique class ids 50585 and 50590) meet normally.

8/31
BURNT ORANGE:  Topic 3: Static Methods
Slides: PPT, PDF, PDF for printing

BEVO: Static Methods ( PPT, PDF, PDF for printing) and Variables (PPT, PDF, PDF for printing)
 

1. Read sections 1.4 - 1.5
2. Suggested Self-Check Problems: Chapter 1 numbers 6, 7, 8, 9, 11, 13,16, 17, 18, 19, 23, 25

3. Practice-It! exercises: 1.9 Egg1.13 Star Figures, 1.16 Shining
4. Video: methods, complex figure

Quiz 1 in Section

9/1 9/2
BURNT ORANGE:  Topic4: Expressions and Variables
Slides: PPT, PDF, PDF for printing

1. Read sections 2.1 - 2.2
2. Suggested Self-Check Problems: Chapter 2 numbers 1, 3, 4, 5, 7, 8, 9

3. Practice It! exercises: 2.2: expressions 1, 2.3 expressions 2
4. Video: expressions

9/3 9/4
BURNT ORANGE:  Topic4 continued, start Topic 5 if time permits

1. Video: variables/assignment
2. Practice It! exercises: 2.4: expressions 3

Quiz 1 in Section

 

9/7
Labor Day - No Class

No Discussion Sections Today

 

9/8 9/9
(BURNT ORANGE & BEVO) Topic5: for loops, nested loops
Slides: PPT, PDF, PDF for printing

1. Read section 2.3
2. Suggested Self-Check Problems: Chapter 2 numbers 12, 13, 15, 16, 20, 21

3. Suggested Practice it exercises: 2.2 loop Squares, 2.3 fibonacci, 2.9 waveNumbers40, 2.15 print design
4. Videos for loop, nested loops

 

9/10

Program 1 due by 11 pm

9/11
BURNT ORANGE:  Topic6: loops, figures, constants
Slides: PPT, PDF, PDF for printing

1. Read sections 2.4 and 2.5
2. Suggested Self-Check Problems: Chapter 2 numbers 27 and 28.

3. Suggested Practice It exercises: 2.5 Star Triangle, 2.6 number Triangle, 2.8 spaces And Numbers, 2.10 numbers Output 60
4. Video: complex figure

Quiz 2 in Section

9/14
BURNT ORANGE:  Topic7: parameters
Slides: PPT, PDF, PDF for printing

BEVO: Graphics (PPT, PDF, PDF for printing) and Parameters (PPT, PDF, PDF for printing)

1. Read sections 3.1
2. Suggested Self-Check Problems: Chapter 3 numbers 1, 2, 3, 5, 7, 8, 10.
3. Suggested Practice It exercises: 3.1 print Numbers, 3.2 print Powers of Two, 3.3 print Powers of N,
4. Video: parameter mystery

Quiz 2 in Section

9/15 9/16
BURNT ORANGE:  Topic8: Graphics
Slides: PPT, PDF, PDF for printing

1. Read all of chapter 3G.
2. Suggested Self-Check Problems: Chapter 3G numbers 1, 2, 3, 4.

3. Video: basic drawing
4. Suggested Practice It exercises: 3G.1: MickeyBox,  3G.5: ShowDesign

9/17

Program 2 due by 11 pm

9/18
BURNT ORANGE:  Topic9: More Graphics
Slides: PPT, PDF, PDF for printing

1. Read all of chapter 3G.
2. Video: parameterized drawing
3. 4. Suggested Practice It exercises: 3G.7: Squares , 3G.12: Triangle

Quiz 3 in Section

9/21
BURNT ORANGE:  Topic10: return values, Math methods
Slides: PPT, PDF, PDF for printing

BEVO: Conditional Execution (PPT, PDF, PDF for printing) and Scanner with return values (PPT, PDF, PDF for printing)

1. Read sections 3.1, 3.2, and 3.3
2. Suggested Practice It exercises: 3.8: parameterMysteryTouch , 3.13: mathExpressions

Quiz 3 in Section

9/22 9/23
BURNT ORANGE:  Topic11: Scanner, conditional execution, if-else
Slides: PPT, PDF, PDF for printing

1. Read sections 3.3, 4.1
2. Suggested Self-Check Problems: Chapter 3 numbers 12, 14, 15, 16, 17, Chapter 4, number 2.

3. Suggested Practice It exercises: 3.4: printSquare , 3.8: quadratic , 3.11: distance
4. Video: Scanner

9/24

Program 3 due by 11 pm

9/25
BURNT ORANGE:  Topic12: more if/else, cumulative algorithms, printf
Slides: PPT, PDF, PDF for printing\

1. Read sections 4.1 - 4.5
2. Suggested Self-Check Problems: Chapter 4 numbers 1, 2, 4, 5, 6, 8, 9, 10, 12, 16, 17, 19, 20, 22, 25

3. Suggested Practice It exercises: 4.2: logicExpressions1 , 4.2: repl , 4.8: smallestLargest , 4.10 print Triangle Type, 4.19: quadrant
4. Videos nested if/else, factoring if/else`

Quiz 4 in Section

9/28
BURNT ORANGE:  Topic13-1: Procedural design
Slides: PPT, PDF, PDF for printing

BEVO: Topic13: Procedural design and Strings
Slides: PPT, PDF, PDF for printing

1. Read sections 3.4 and 4.5
2. Suggested Exercises (NOT the Self-Check Exercise): Chapter 4 numbers 2, 15, and 16.
3. Video: cumulative sum

Quiz 4 in Section

9/29 9/30 Exam 1 tonight 7 - 9 pm, topics 1 - 12
Location: JES A121A

BURNT ORANGE:  Topic13-2: Strings
Slides: Are second part of Procedural Design Slides, 13-1

1. Exam 1 TONIGHT 7 - 9 pm
1. Read sections 3.3, 4.3
2. Suggested Practice It exercises: 3.18: vertical , 3.19: printReverse, 4.17: swapPairs, 4.18: wordCount

10/1 10/2
BURNT ORANGE:  Topic14: while loops, loop patterns
Slides: PPT, PDF, PDF for printing

1. Read sections 5.1, 5.2
2. Suggested Self-Check Problems: Chapter 5 numbers 1, 2, 3, 6, 11, 13, 15, 16.
3. Suggested Practice It exercises: 5.4: whileLoopMystery2 , 5.14: logicExpressions2 5.3: toBinary , 5.7: diceSum, 5.12: printAverage
4. Video: sentinel loops

Program 4 due by 11 pm

No BURNT ORANGE  discussion sections. (unique class ids 50550 - 50580) BEVO discussion sections (unique class ids 50585 and 50590) meet normally.

10/5
BURNT ORANGE:  Topic15: Random numbers
Slides: PPT, PDF, PDF for printing

BEVO: Boolean logic (PPT, PDF, PDF for printing)  and Assertions (PPT, PDF, PDF for printing)

1. Read sections 5.1, 5.6
2. Suggested Exercise (NOT the Self-Check Exercise): Chapter 5 numbers 3
3. Suggested Practice It exercise: 5.4: randomX , 5.8: randomWalk
4. Video: random numbers

No BURNT ORANGE  discussion sections. (unique class ids 50550 - 50580) BEVO discussion sections (unique class ids 50585 and 50590) meet normally.

10/6 10/7
BURNT ORANGE:  Topic16: Boolean logic
Slides: PPT, PDF, PDF for printing

1. Read sections 5.3, 5.4
2. Suggested Self-Check Problems: Chapter 5 numbers 18, 19, 22, 24, 26, 27.

3. Suggested Practice It exercises: 5.2: gcd , 5.13: consecutive,  5.17: monthApart
4. Video: type boolean

10/8

Program 5 due by 11 pm

10/9
BURNT ORANGE:  Topic17: Assertions
Slides: PPT, PDF, PDF for printing

1. Read section 5.5
2. Video: assertions

Exam 1 returned in section

10/12
BURNT ORANGE and BEVO:  Topic18: File input, tokens
Slides: PPT, PDF, PDF for printing

1. Read sections 6.1, 6.2, 5.4
2. Video: token-based processing
3. Suggested Practice It exercises: 6.1: boyGirl , 6.2: evenNumbers , 6.3: negativeSum

Exam 1 returned in section

10/13 10/14
BURNT ORANGE:  Topic19: More file input
Slides: PPT, PDF, PDF for printing

1. Read sections 6.3
2. Video: line-based processing
3. Suggested Practice It exercises: 6.6: readEntireFile , 6.9: wordWrap

10/15

Program 6 due by 11 pm

10/16
BURNT ORANGE:  Topic20: Advanced file input, file output
Slides: PPT, PDF, PDF for printing

1. Read sections 6.4 and 6.5
2. Suggested Self-Check Problems: Chapter 6 numbers 13, 14, 15 and Exercises 2 and 9.

3. Suggested Practice It exercise 6.8: doubleSpace , 6.12: stripHtmlTags , 6.14: printDuplicates

Quiz 5 in Section

10/19
BURNT ORANGE and BEVO:  Topic21: arrays
Slides: PPT, PDF, PDF for printing

1. Read Section 7.1 from the textbook.
2. Suggested Self-Check Problems: Chapter 7 numbers 1, 2, 3, 5, 6, 7, 8

3. Suggested Practice It exercise: 7.1: lastIndexOf , 7.2: range , 7.4: isSorted

Quiz 5 in Section

10/22 10/21
BURNT ORANGE:  Topic22: more arrays, arrays as parameters, reference semantics
Slides: PPT, PDF, PDF for printing

1. Read sections 7.1 - 7.3
2. Suggested Self-Check Problems: Chapter 7 numbers 10, 11, 13, 14, 16

3.Suggested Practice It exercises: 7.5: mode , 7.6: stdev , 7.9: minGap
4. Videos: array mystery, array traversal

10/22

Program 7 due by 11 pm

10/23
BURNT ORANGE:  Topic23: tallying, text processing
Slides: PPT, PDF, PDF for printing

1. Read sections 4.3, 7.6
2. Suggested Self-Check Problems: Chapter 7 numbers 17, 20, and 22.

3. Suggested Practice It exercises: 7.10: percentEven , 7.11: isUnique7.13: longestSortedSequence
4. Video: array tallying

Quiz 6 in Section

10/26
BURNT ORANGE and BEVO:  Topic24: Sorting and Searching arrays
Slides: PPT, PDF, PDF for printing

1. Read section 13.3
2. Suggested Practice It exercise: 7.8 median, 7.7: kthLargest 7.18: wordLengths
3. Read the Wikipedia article on selection sort.

Quiz 6 in Section

10/27 10/28
BURNT ORANGE:  Topic25: More array algorithms
Slides: PPT, PDF, PDF for printing

1. Suggested Practice It exercises: 7.14: contains, 7.15: collapse
2. Video: array shifting

10/29

Program 8 due by 11 pm

10/30
BURNT ORANGE:  Topic26 2d arrays
Slides: PPT, PDF, PDF for printing

1. Read section 7.5
2. Suggested Self-Check Problems: Chapter 7 numbers 14 and 26.

3. Read the Wikipedia article on Conways' Game of Life
4. Look at this Game of Life Applet
5. Jon Conway describes the Game of Life.

Quiz 7 in Section

11/2
BURNT ORANGE:  Topic26 continued

BEVO: 2d arrays (PPT, PDF, PDF for printing)

1. Suggested Practice It exercises: 7.19: matrixAdd

Quiz 7 in Section

11/3 11/4 Exam 2, tonight 7 - 9 pm , topics 1 - 25
.Location: JES A121A

Catch up day - Review for exam 2 time permitting.

 

 

11/5 11/6
BURNT ORANGE:  Topic27: classes and objects, state and behavior
Slides: PPT, PDF, PDF for printing

1. Read sections 8.1 - 8.2
2. Suggested Self-Check Problems: Chapter 8 numbers 1, 2, 3, 4, 5, 6 and Exercises 1 and 2.

3. Video: Defining a class
4. Suggested Practice It exercises: 8.1 quadrantPoint, 8.3: manhattanDistancePoint, 8.4: isVertical

No BURNT ORANGE  discussion sections. (unique class ids 50550 - 50580) BEVO discussion sections (unique class ids 50585 and 50590) meet normally.

11/9
BURNT ORANGE:  Topic28: object behavior, methods
Slides: PPT, PDF, PDF for printing

BEVO: Classes and Objects (PPT, PDF, PDF for printing)

1. Read sections 8.2 - 8.3
2. Suggested Practice It exercises: 8.5: slopePoint, 8.6: isCollinearPoiint, 8.7: addTimeSpan

No BURNT ORANGE  discussion sections. (unique class ids 50550 - 50580) BEVO discussion sections (unique class ids 50585 and 50590) meet normally.

11/10 11/11
BURNT ORANGE:  Topic29: constructors, encapsulation
Slides: PPT, PDF, PDF for printing

1. Read sections 8.3 - 8.5
2. Suggested Self-Check Problems: Chapter 8 numbers 7, 8, 10, 11, 13, 14, 15, 16 and Exercises 4 and

3. Videos: constructors, encapsulation

11/12

Program 9 due by 11 pm

11/13
BURNT ORANGE:  Topic30 creating classes case study, cards and decks, Java Enums

1. Read Appendix C, Enumerations: enums, pages 1119 - 1120

Exam 2 returned in section

11/16
BURNT ORANGE:  Topic30 creating classes case study, cards and decks

BEVO: Inheritance, extends, override, super (PPT, PDF)s

Exam 2 returned in section

11/17 11/18
Assignment 11 introduction, critters
Slides: PPT, PDF
11/19

Program 10 due by 11 pm

11/20
BURNT ORANGE:  Topic31: Inheritance, extends, override, super
Slides: PPT, PDF

1. Read sections 9.1, 9.2
2. Video: inheritance
3. Suggested Practice It exercises: 9.4 inheritanceVariableSyntax, 9.1: Marketer, 9.3: HarvardLawyer

Quiz 8 in Section

11/23
BURNT ORANGE and BEVO:  Topic32: Polymorphism and interfaces
Slides: PPT, PDF

1. Read sections 9.3 - 9.6, 10.2
2. Suggested Self-Check Problems: Chapter 10 numbers 14, 15, 16, 18.

3. Suggested Practice It exercises: 9.4: MonsterTruck, 9.9: MinMaxAccount, 9.11: FilteredAccount

Quiz 8 in Section

11/24 11/25
Catch Up Day if necessary.

Program 11 due by 11 pm

11/26
No Class
11/27 Thanksgiving Break - No Class
11/30
BURNT ORANGE and BEVO:  Topic33: ArrayLists
Slides: PPT, PDF, PDF for printing

BEVO:

1. Read sections 10.1, 10.3
2. Video: ArrayList
3. Suggested Practice It exercises: 10.2: swapPairs , 10.3: removeEvenLength , 10.6: minToFront

No BURNT ORANGE  discussion sections. (unique class ids 50550 - 50580) BEVO discussion sections (unique class ids 50585 and 50590) meet normally.

12/1 12/2
BURNT ORANGE:  Topic33 continued

1. Suggested Practice It exercises: 10.7: removeDuplicates , 10.11: stutter, 10.17: interleave

12/3

Program 12 due by 11 pm

12/4
BURNT ORANGE:  Topic34, Introduction to Recursion

1. Read sections 12.1, 12.2, 12.3, 12.4, 12.5, and  13.3
2. Suggested Practice It exercise: 12.3: mystery1, 12.4:  12.4: mystery2, 12.6: mysteryXY, 12.15 mystery6, 12.1 starString, 12.3 writeSequence, 12.12 isReverse, 12.18 waysToClimb

No BURNT ORANGE  discussion sections. (unique class ids 50550 - 50580) BEVO discussion sections (unique class ids 50585 and 50590) meet normally.

12/7 Dead Day 12/8 Dead day  12/11 Final Exams Start    

All slides for viewing (PDF format)

All slides for printing - 4 slides per page (PDF format)