{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Lec 05 Repetition

Lec 05 Repetition - FIT1002 Computer Programming 2010...

Info icon This preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
FIT1002 Computer Programming 2010 Module 5 Repetition www.monash.edu.au FIT1002 Computer Programming Semester 1, 2010 Module 5 – Repetition COMMONWEALTH OF AUSTRALIA Copyright Regulations 1969 WARNING This material has been reproduced and communicated to you by or on behalf of Monash University pursuant to Part VB of the Copyright Act 1968 (the Act). The material in this communication may be subject to copyright under the Act. Any further reproduction or communication of this material by you may be the subject of copyright protection under the Act. Do not remove this notice. The authors acknowledge that material in these modules has been adapted from slides produced by Lewis, DePasquale and Chase for Java Foundations: Introduction to Programming and Data Structures , Addison-Wesley, 2007 2 Assumed knowledge Before the beginning of this lecture, students should be familiar with: Variables and constants Assignment statements Writing expressions Evaluating boolean expressions Before the beginning of this lecture, students should have read over: Chapter 4 pages 132-143 &147-156 of Lewis et al. 3 Objectives By the end of this lecture, students should: Understand repetition (looping) control structures – Understand the difference between a for loop, a while loop and a do…while loop Be able to construct and use loops of each of these types Understand how to form and use nested control structures
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon