Header Ads Widget

Responsive Advertisement

πŸ€”πŸ€”π™‹π™§π™€π™—π™‘π™šπ™’ π™Žπ™€π™‘π™«π™žπ™£π™œ 𝘼π™₯π™₯π™§π™€π™–π™˜π™πŸ€¨πŸ€¨

𝙃𝙀𝙬 𝙩𝙀 𝙖π™₯π™₯π™§π™€π™–π™˜π™ 𝙩𝙀 π™¨π™€π™‘π™«π™š 𝙖 π™₯π™§π™€π™—π™‘π™šπ™’?

Ans: To solve a problem  you need 6 steps:
1- Identify the Problem: what kind of a problem is this how we can solve this problem.

2- Understand the Problem: understand the problem and think how we can reach to solution.

3- Identify Alternative Ways: find out how many way available to solve the problem in better way

4- Select The best Way: select the best way to solve the problem

5- Step by Step Process: proceed towards to solve the problem step by step 

6- Evaluation: Evaluate the solution whether it's giving correct solution.


What is algorithm??
Ans: algorithm is step by step process to solve a problem.

Example: Find the sum of 2 numbers a & b:-
var a = 4
var b = 6
Now to find the sum we can store the expression in c:
So c = a+b
Now to get output of the expression we can print 
console.log(c)



Post a Comment

0 Comments