FIT1002 Computer Programming 2010Module 2 Algorithmswww.monash.edu.auFIT1002 Computer ProgrammingSemester 1, 2010Module 2 Part 1 – Algorithms and DataCOMMONWEALTH OF AUSTRALIACopyright Regulations 1969WARNINGThis material has been reproduced and communicated to you by or on behalfof 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 thesubject 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, DePasqualeand Chase for Java Foundations: Introduction to Programming and Data Structures, Addison-Wesley, 20072Assumed Knowledge•Before the beginning of this lecture, students should:–be familiar with the terms compiler, program, and machine code;–have reviewed some simple Java programs from the Module 1 materials and Lewis et. al. Chapter 1•Before the beginning of this lecture, students should have read over:> Chapter 2, sections 2.1 and 2.2 of Lewis et. al.3Algorithms: Objectives•Understand the role programming plays in the problem-solving process•Understand the concept of an algorithm, and the relationship between algorithms and programs•Be able to write basic algorithms for everyday tasks•To understand the purpose of variables •To understand the difference between variables and constants
has intentionally blurred sections.
Sign up to view the full version.
FIT1002 Computer Programming 2010Module 2 Algorithms4The Problem Solving Process55The Problem Solving Process is notlinear!debugging & testing6algorithm|±algərɪð(ə)m|nouna process or set of rules to be followed in calculations or other problem-solving operations, esp. by a computer.The term is named after Muhammad ibn Musa al-Khwarizmiof Khowarezm (now Khiva in Uzbekistan), Circa 780-850 C.E.Algoritmi is latinised al-KhwarizmiAlgorithm