CSC 142
From charlesreid1
Contents
Chapter 1: Intro to Java
Chapter 2: Primitive Data and Definite Loops
Chapter 3: Parameters and Objects
Chapter 4: Conditional Execution
Chapter 5: Program Logic and Indefinite Loops
Chapter 6: File Processing
Chapter 7: Arrays
Chapter 8: Classes
Outline
Midterm A
Midterm A Outline
- Chapter 1: Intro to Java
- Java basics
- Program errors
- Procedural decomposition
- Case Study: DrawFigs
- Chapter 2: Primitive Data and Definite Loops
- Basic data
- Variables
- For loop
- Managing complexity
- Case Study: Hourglass figures
- Chapter 3: Parameters and Objects
- Parameters
- Methods returning values
- Using objects
- Case Study: Projectile trajectory
- Chapter 4: Conditional Execution
- If/else statements
- Logic statements
- Object equality and operators
- Refactoring to use if/else logic
- Cumulative algorithms
- Equality with floats and roundoff error
- Text processing
- Printf
- Methods and conditional execution
- Case Study: BMI
Midterm B
Midterm B Outline
- Chapter 5: Program logic, conditional execution
- While loops
- Random numbers
- Fencepost algorithms
- Boolean type
- User input and dealing with errors
- Assertion and program logic
- Case Study: NumberGuess
- Chapter 6: File processing
- File reading basics
- Token based processing
- Reading numbers from a file
- Paths and directories
- Line based processing
- Line/token combinations
- Advanced file processing
- Removing whitespace
- Case Study: Zip code lookup
- Chapter 7: Arrays
- Array basics and initialization
- Comparing arrays
- Array traversal
- Reference semantics and memory, and null
- Advanced array techniques
- Shuffling, shifting, reversing
- Multidimensional arrays
- Rectangular multidimensional arrays
- Jagged multidimensional arrays
- Case Study: Benford's Law
- Chapter 8: Object oriented programming
- Object state and behavior
- Accessor methods
- Object initialization and constructors
- Data encapsulation
- Private fields
- Mutable/immutable
- Case Study: Stock class
Flags
CSC 142 - Intro to Programming I Computer Science 142 - Intro to Programming I, South Seattle College.
Chapter 1: Intro to Java CSC 142/Chapter 1 Chapter 2: Primitive Data and Definite Loops CSC 142/Chapter 2 Chapter 3: Parameters and Objects CSC 142/Chapter 3 Chapter 4: Conditional Execution CSC 142/Chapter 4 Chapter 5: Program Logic and Indefinite Loops CSC 142/Chapter 5 Chapter 6: File Processing CSC 142/Chapter 6 Chapter 7: Arrays CSC 142/Chapter 7 Chapter 8: Classes CSC 142/Chapter 8
Puzzles: Puzzles
Category:Teaching · Category:CSC 142 · Category:CSC Related: CSC 143 Flags · Template:CSC142Flag · e |
The short list of topics:
Intro to Java
Primitive Data and Definite Loops
Parameters and Objects
Conditional Execution
Program Logic and Conditional Execution
File Processing
Arrays
Classes