SUNY Geneseo Department of Computer Science


Conditionals and Logic

{Date}

CSci 141, Fall 2003
Prof. Doug Baldwin

Return to List of Lectures

Previous Lecture


Misc

Hand out Lab 3

Java clock function = System.currentTimeMillis()

Questions?

Conditionals and Logic

Sections 5.1 through 5.5

Terminology and format

Testing or fundamental logic

Boolean algebra

Correctness

Analysis of conditionals

Examples

The generic search (e.g., search array A of n elements for value x)

Is a point on a cylinder?

[Cylinder of Height 1, Radius 1]

Next

Introduction to Recursion

Read Sec. 6.1


Next Lecture