Robotics C++ Physics II AP Physics B Electronics Java Astronomy Other Courses Summer Session  

Key Concepts

 

 

 

 

 Structured Programming

 

Elimination of go to statements

Research of Jacopini and Bohm - rules of structured programming

 

Control Structures

 

Sequential: Line-by-line execution

Selection: if, if else

Iteration: while, for

 

Pseudocode

 

"Rough draft" outline of an answer outline of an answer

Written in plain English.

 

Nested Statements

 

A statement inside another

Use braces - avoid a difficult problem to fix - code that works but gives wrong answer

Stepwise Refinement

The process of repeatedly subdividing tasks into subtasks until each subtask is easily accomplished. 

See below for a closely related concept.

Top Down Implementation

A method for coding by which the programmer starts with a top-level task and implements subtasks.

Each subtask is then subdivided into smaller subtasks.

This process is repeated until each remaining subtask is easily coded.