Posts

Showing posts with the label Problem Solving
Image
 Question: Draw a flowchart to print odd numbers from 1 to 100. flowchart to print odd numbers from 1 to 100. Question: Draw a flowchart to find the sum of even numbers up to 100. flowchart to find the sum of even numbers up to 100.
Image
 Question: Describe the various flowchart symbols. Steps for drawing flowchart. Flowchart Symbols Question: Draw a flowchart to find the largest of three unequal numbers. Flowchart
Image
  Q1.Write an algorithm to find the exponent of a given number . Ans: Planning the Solution: Input: A number and its exponent. Required Output: Exponent of given number. Processing: Multiply the number as many times as its exponent. Algorithm: Step 1: Start Let the numbers, N be 8 and its exponent,                          E be 5. Step 2: Initialize product(P) and K to 1.                          P=1, K=1 Step 3: Find the Product(P)                          P=P*N Step 4: Increment K by 1.                          K=K+1 Step 5: Check if the value of K is less than or equal to E                If K ≤ E then goto step 3 otherwise goto step 6. S...
  Q1. What is problem solving? Ans:   Problem solving is the main task of  computer science which is the job of  computer programmer.  Q2. How we can analyze the problem? Ans:    At this stage of problem solving the  programmer investigates the problem and  gathers as much information as possible to find a solution.  Planning The Solution Of The Problem  Planning the solution of the problem is a creative  stage of problem solving.  After Analyzing the problem , the following.  planning is required. Q3.  How to discuss a problem? Talk to the person. Focus on talking about a problem. Stay calm and reasonable. Expect questions Candid Solution of a Problem. All the passible solutions of a problem that  produce correct result are known as  candid solutions.  After finding the candid solutions, only one solution can be selected based on the  criteria. 1. Speed 2. Cost  3.Complexity