Friday, February 25, 2011

WEEKLY REFLECTION 1

WEEKLY REFLECTION 1


- Pada hari selasa iaitu 25 Januari 20011,Bermula kelas FOP (SUBJECT FUNDAMENTALS OF PROGRAMMING.


- Kehandiran saya diambil dan diberi masa selama 20 untuk berehat.


- Rakan-rakan dan saya telah memberi penerangan tentang iaitu forum,weekly reflection 1,2,3,4 dan 5 ,zip file,blog ,midterm dan final exam..


- Kemudian, Kami dibahagikan kepada enam kumpulan, satu kumpulan mempunyai 5@6 ahli.Setiap ahli berpelbagai course iaitu IT and E-business.


- Kami belajar bermula chapter 1 iaitu PROGRAMMING AND PROBLEM SOLVING.
  Ia mengenai tentang algorithm, pseudocode and flowchat is an outline of a program.. 


CHAPTER 1 PROGRAMMING AND PROBLEM SOLVING
1.2 ALGRORITHM
- Algorithm is a sequence of instruction to solve a problem.

- Some approximately equivalent word are :-
  a) Reape
  b) Method
  c) Direction
  d) Procedure
  e) Routine

-      Algorithm will be expressed in English and in the C ++ programming language.

For example for Algorithm

Algorithm that determines the area of a Rectangle
1- Get the with of the rectangle.
2- Get the height of the rectangle.
3- Calculate the area using the formula area = with * height
4- Announce the answer / Display the answer.

1.3 PSEUDOCODE

-         Pseudo code is an outline of a program, written in a form that easily be converted into real programming statements.
-         For example pseudo code :-

Pseudo code that determines the area of a Rectangle
Read the width
Read the height
Set the to the width multiplied by height
Print the area 

-         Pseudo code is not an actual programming language. It cannot be compiled  not executed, and there is no real real formatting or syntax rules.

1.4 FLOWCHAT
- Flowchart is graphic representation of the logic or steps in a program.

- Flowchart represent or program or activity move through various processes or program retunes.

- Typical flowchart may have the following kinds of symbols :-


The Software Life Cycle
1.                 Analysis and specification of the task (problem definition)
2.                 Design of the software (algorithm design)
3.                 Implementation (coding)
4.                 Testing
5.                 Maintenance and evolution of the system
6.                 Obsolescence
   












































































No comments:

Post a Comment