Professional Documents
Culture Documents
(CAMPUS)
Assignment no 1
Department:. Bs(IT)
Subject:. Programming Fundamental
Section:. A
Submitted to:. Miss Mehwashma
Submitted by:. Ali Hussnain
Submition Date:. 6 Nov 2020
Question no 1
What are the six step of problem solving
Answer
1. Identify the problem
2. Analyze the problem
3. Develop the problem
4. Implement A Solution
5. Evaluate the Result
6. standardize the solution
Question no 2
Answer
Algorithmatic solution to a problem are those solution that is used to solve a problem in series of step
For Example to sort an array in increasing order . A sequential order of steps is followed. So thus type of
solution is an Algorithmatic solution
Question no 3
Name three current problems in your life that could be solved through an
Answer
1. Going to work
2. Fishing in a pond
3. Withdrawing Money from Bank
Algorithm no 1
Going to work
START
Step 1 First of all wake up early in Morning then taking Bath and Get ready
END.
Algorithm no 2
Fishing in Pond
START
Step 1: Carrying equipment for Fishing , Then put it into the van
Step 3: Throwing fish catcher’s hook into the pond waiting for hunt
Step 4: After one hour I catch many fishes and return to home
END.
Algorithm no 3
START
END.
Question no 4
Answer
It is solved by statistics and methods in different steps in different parts of the world and not at the
same time without any statistics, steps and parts .therefore it can be called algorithmic
Question no 5
Answer
Heuristic are a problem solving method that is uses shortcuts to produce good solution given a limited
time frame or deadline. Heuristic are the flexible technique for quick decision, when working with
complex data. Decisions made using heuristic approach may not necessarily b4e optimal
Question no 6
Name three current problems in your life that might be solved through heuristic
Answer
1: Medical case
2: Actuarial problem
3: scientific problem
Question no 7
Answer
Heuristics is originally a Greek word that means to find. Heuristics are unconscious ways that we process
information more quickly than if we were to think about it consciously. The brain takes mental
shortcuts to save time by thinking logically about things. There are many different ways (cognitive
biases) that our brains have developed during the history of mankind to manage information in a faster
way than rational thinking. The vast majority of our daily decisions are taken up by heuristic decision
making.
Question no 8
Name three problems that might arise at home ,at school or in a business that could be solved more
efficiently with computer assistance . Do these problems required an Algorithmic or heuristic solution
why ?
Answer
Three problems that might arise at home, at school, or in a business to be solved efficiently with
computer assistance
The following three solutions can only be solved by computer assistance or may be solved
quickly with computer assistance:
START
Step 6: Take it out of the microwave and enjoy your cup of hot chocolate
END
Sharpen a pencil
START
END
START
Step 2: Stand up from the chair and put the bag on shoulder
END
START
END.
Step 2: Insert the key into ignition and turn key clock wise
Step 5: After fixing the problem again insert key into the ignition and turn it clock wise
END.