Lulzy+Time+(Ricardo)

1. Define the term algorithm.an algorithm is an effective method for solving a problem using a finite sequence of instructions. 2. List the key features of an algorithm. 1. Sequence (also known as Process) 2. Decision (also known as Selection) 3. Repetition (also known as Iteration or Looping)

3. Describe what is meant by a sequence. Sequence means that each step or process in the algorithm is executed in the specified order. In the example algorithm above each process must be in the correct place otherwise the algorithm will most probably fail. 4. Describe the if...then, and if...then...else constructs. if means if a certain action occurs if then is a 2nd action to perform if the first said action does initiate 5. Describe the repeat and while loop constructs.The repeat loop is used to iterate or repeat a process or sequence of processes until some condition becomes true. It has the general form:

6. List three different ways of stating algorithms. 1. Step-Form 2. Pseudocode 3. Flowchart 4. Nassi-Schneiderman

7. Explain what is meant by a variable. 8. Give some examples of variables in your everyday life. 9. What is a datatype? 10. List three datatypes that can be used in algorithms. 11. Explain what is meant by variable naming conventions. 12. Describe a strategy for designing algorithms. 13. Sketch and briefly explain the software dev. life cycle. 14. Where in the Software Design Life Cycle (SDLC) is the program design activity? 15. Explain what is meant by the terms variable and process. 16. Write a step-form algorithm to solve the problem: "Design a program which counts all the pages of a given book."