Page 4 - Short and Long Questions CH-1
P. 4

PAKISTAN INTERNATIONAL SCHOOL, JUBAIL
                        MAXIMIZE LITERACEY FOR THE PROGRESS OF PAKISTAN
                                                                   Sir Imran Ahmad N. Ahmad


            Q.3)  How do you satisfy a customer if a customer is unhappy with a service or product they
                  have purchased from someone?

              Answer:
              After reading the above statement, we understand that a customer has purchased any Product
              or service from a Company and now the customer is not satisfied with it. This statement
              defines the problem clearly and requires the solution. It is a general type of problem.

            Q.4)  Problem: Find the Largest of Three Unequal Numbers.

              Answer:
              Input three unequal numbers.
         Pakistan International School, Jubail
              Required Output The largest of three numbers
              Processing Comparison of each number with the other two one by one

              Algorithm:
                      Step 1 Start.
                             Let the three numbers be A=10, B=20 and C=30.
                      Step 2 Check 1f A 1s the largest number.
                             IF A>B and A>C THEN LARGEST=A otherwise GOTO.
                      Step 4 Step 3 GOTO Step 7.
                      Step 4 Check if B is the largest number.
                             IF B>A and B>C THEN LARGEST=B otherwise GOTO Step 6.
                      Step 5 GOTO Step 7.
                      Step 6 LARGEST=C.
                      Step 7 Output LARGEST.
                      Step 8 Stop.

            Q.5)  Problem: Find Acceleration of a Moving Object for Given Mass and the Force Applied.
              Answer:
              Planning the Solution.
              Input Mass and Force.
              Required Output Acceleration of moving object Processing Divide the force by the mass.

              Algorithm:
                       tep 1 Start.
                             Let the mass (M) be 50 and the force (F) be 12.


          Page2









     Pakistan international School Jubail                                                           2022-2023 Class X
   1   2   3   4   5   6   7   8   9