Flowchart: Terminator: BEGIN

Flowchart: Process: Wake up

 

Text Box: Put your alarm off
Flowchart: Process:  Brush your teeth
Brush your teeth

 

Text Box: Have your shower

 

Text Box:  Get dressed
Get dressed

 

Text Box:  Have Breakfast
Have breakfast

Text Box: Walk to train station
Text Box:  Go to work
Go to work

Text Box: Meet a guy
Flowchart: Decision:  Is he handsome
Is he handsome, nice and romantic?

Text Box: True

 

Text Box: False

 

Text Box: Go out with him
Text Box:  Look for another hot guy
Look for another hot guy

 

 

Flowchart: Decision: Is he interesting?

Text Box: Keep going out with him

 

Text Box: False

 

Text Box: True

 

Text Box: Start going home

Flowchart: Decision: Are you there?

Flowchart: Terminator:  END
End

Text Box: Yes

 

Text Box:  
No

 

Text Box:  
No

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Problem: design an algorithm to show how you go to work

English prose: how to go to work

Pseudocode: BEGIN

                         Wake up 

                         Put your alarm off

                         Brush your teeth

                        Have your shower

                         Get dressed

                         Have your breakfast

                        Walk to the train station

                         Go to work

                         Meet a guy

                               IF he is handsome

                               THEN go out with him

                               ELSE look for another hot guy

                               END IF

                                        WHILE he's interesting

                                         Keep going out with him

                                         ENDWHILE

                               REPEAT

                               Start going home             

                               UNTIL you are there

                     END

 

FORTRAN- PROGRAMMING LANGUAGE

Fortran was first developed by a team of programmers in IBM which was led by John Backus and then it was first published in 1957.The name Fortan is an acronym for FORmula TRANslation, because it was designed to allow easy translation of math formulas into code.

Fortran was used because computer programmers were required to program in machine/ assembly code, which was an extremely difficult and time consuming task, not to mention the dreadful chore of debugging the code. The objective during it's design was to create a programming language that would be : simple to learn, suitable for a wide variety of applications, machine independent, and would allow complex mathematical expressions to be stated similarly to algebraic notation.

Significant features:

Structures which it uses:

Examples of structures which it uses is loops and if blocks. Data is also allowed to be structured through the use of pointers and structures. Both these features allow for greater modularity, clarity and more compact code.

                                                                                                                   By Warsha Shivani

                                                                                                                   Year 9

                                                                                                                    Mr. Alexander

Home

Hosted by www.Geocities.ws

1