Explain how programmers create algorithms for specified tasks.

      

Explain how programmers create algorithms for specified tasks.

  

Answers


Kavungya
•Top down design
Is a systematic approach in which a problem is broken into a series of high level tasks. Programmers apply the same strategy repeatedly breaking each task into more successful more detailed subtasks. They continue until they have a sequence of steps that are close to the types of commands allowed by programming language that they will use for coding.

•Object oriented analysis
Programmers first identifies all the categories of inputs (classes) that are part of the problem the program is trying to solve which are further defined by information(data) and actions(methods or behaviors) associated with class. For example data for employee includes NAME, ADDRESS, and NUMBER while methods GO TOWORK, LEAVE WORK or COLLECT PAY. Each different type of classes is called objects. Each object from the same pieces of class is described by the same pieces of data usually unique.
Kavungya answered the question on October 3, 2019 at 09:12


Next: Name the branch of Biology that deals with the study of animals.
Previous: During a class practical form four students came across a plant whose flower floral parts were in multiples of fours and fives. To which sub-division...

View More Computer Programming Questions and Answers | Return to Questions Index


Exams With Marking Schemes

Related Questions