From charlesreid1

Line 36: Line 36:


Midterm A Outline
Midterm A Outline
* Chapter 1
* Chapter 1: Intro to Java
** Java basics
** Java basics
** Program errors
** Program errors
** Procedural decomposition
** Procedural decomposition
** Case Study: DrawFigs  
** Case Study: DrawFigs  
* Chapter 2
* Chapter 2: Primitive Data and Definite Loops
** Basic data
** Basic data
** Variables
** Variables
Line 47: Line 47:
** Managing complexity
** Managing complexity
** Case Study: Hourglass figures
** Case Study: Hourglass figures
* Chapter 3
* Chapter 3: Parameters and Objects
** Parameters
** Parameters
** Methods returning values
** Methods returning values
** Using objects
** Using objects
** Case Study: Projectile trajectory
** Case Study: Projectile trajectory
* Chapter 4
* Chapter 4: Conditional Execution
** If/else statements
** If/else statements
** Logic statements
** Logic statements

Revision as of 08:58, 13 September 2016

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

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

Flags





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