Use app×
Join Bloom Tuition
One on One Online Tuition
JEE MAIN 2025 Foundation Course
NEET 2025 Foundation Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
1.6k views
in Principles of Programming and Problem Solving by (29.6k points)
closed by

List the two approaches followed in problem solving or programming. How do they differ?

1 Answer

+1 vote
by (29.8k points)
selected by
 
Best answer

Approaches in problem solving:

(a) Top down design:

Larger programs are divided into smaller ones and solve each tasks by performing simpler activities. This concept is known as top down design in problem solving 

(b) Bottom up design: 

Here also larger programs are divided into smaller ones and the smaller ones are again subdivided until the lowest level of detail has been reached. We start solving from the lowest module onwards. This approach is called Bottom up design.

Phases in Programming 

1. Problem identification: This is the first phase in programming. The problem must be identified then only it can be solved, for this we may have to answer some questions.

During this phase we have to identify the data, its type, quantity and formula to be used as well as what activities are involved to get the desired out put is also identified for example if you are suffering from stomach ache and consult a Doctor.

To diagnose the disease the Doctor may ask you some question regarding the diet, duration of pain, previous occurrences etc, and examine some parts of your body by using stethoscope X-ray, scanning etc.

2. Deriving the steps to obtain the solution. There are two methods, Algorithm and flowchart, are used for this.

(a) Algorithm: 

The step-by-step procedure to solve a problem is known as algorithm. It comes from the name of a famous Arab mathematician Abu Jafer Mohammed Ibn Musaa Al-Khowarizmi. The last part of his name Al-Khowarizmi was corrected to algorithm.

(b) Flowchart: 

The pictorial or graphical representation of an algorithm is called flowchart.

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

...