Slideshare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our User Agreement and Privacy Policy.

Slideshare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our Privacy Policy and User Agreement for details.

Like this presentation? Why not share!

865 views

Published on

No Downloads

Total views

865

On SlideShare

0

From Embeds

0

Number of Embeds

12

Shares

0

Downloads

32

Comments

0

Likes

1

No embeds

No notes for slide

- 1. FUNDAMENTALS OF PROGRAMMINGPROGRAMMING PREPARATION
- 2. COMPUTER WORKS? Machine CycleProgramming- process of givinginstructionProgram – instructions provided
- 3. STEPS IN SOLVING COMPUTER BASED- PROGRAM1. ANALYSE THE PROBLEM2. DESIGN A SOLUTION / PROGRAM3. CODE/ENTER THE PROGRAM4. TEST THE PROGRAM
- 4. STEPS IN SOLVING COMPUTER BASED-PROGRAMDESIGN A SOLUTION/PROGRAM 1. ALGORITHM 2. PSEUDOCODE
- 5. PROBLEM: To change the temperature inFahrenheit to Centigrade.ALGORITHM: PSEUDOCODE:1. subtract 32 1. Subtract the Value of F2. multiply the result in to 32. (1) by 5 2. Then Multiply the answer by 53. divide the result in (2) 3. Next is divide the by 9 result by 9 to get the4. write down the value of Centigrade answer.
- 6. STEPS IN SOLVING COMPUTER BASED-PROGRAMDESIGN A SOLUTION/PROGRAMAlgorithm A step-by-step set of instructions for solving a problem in a limited number of steps. The instructions for each step are exact and precise and can be carried out by a computer. A logical procedure or set of steps to be followed to arrive at a solution to a problem. gives a solution to a particular problem
- 7. EXAMPLE OF ALGORITHMPROBLEM: Find the sum of two numbersALGORITHM:1. Add the two numbers together2. Write down the answer.
- 8. EXAMPLE OF ALGORITHMPROBLEM: To change the temperature in Fahrenheit to Centigrade.ALGORITHM: C = (F - 32) * 5/91. subtract 322. multiply the result in (1) by 53. divide the result in (2) by 94. write down the answer.
- 9. STEPS IN SOLVING COMPUTER BASED-PROGRAMPseudocode an algorithm in English statements in an outline form. is one of the methods that could be used to represent an algorithm
- 10. THREE METHODS USED IN CREATING AN ALGORITHMSTEPPING, LOOPING & CHOOSINGSTEPPING This is where all the instructions needed to solve our problem are set out one after the other.
- 11. EXAMPLE OF ALGORITHMPROBLEM: Find the average of four numbersALGORITHM:1. Add the four numbers2. Divide the result by 4 to get the average.3. Write down the answer

No public clipboards found for this slide

×
### Save the most important slides with Clipping

Clipping is a handy way to collect and organize the most important slides from a presentation. You can keep your great finds in clipboards organized around topics.

Be the first to comment