9th Class Computer Chapter No. 1
9th Class Computer Chapter No. 1
9th Class Computer Chapter No. 1
PROBLEM SOLVING
Q. Define problem.
Ans. A problem is a situation or matter that requires proper attention to be resolved.
Q. What is problem statement?
Ans. A problem statement is a brief description of the problem to be solved. It describes the
problem and identifies its causes and solutions. The problem statement must be prepared
before finding the solution of the problem.
Q. What is problem solving?
Ans. Problem solving is a process of identifying a problem and finding its best solution.
Problem solving •is a thinking process. It is a skill that can be developed by following a well-
organized approach.
Q. Write the names of steps that are involved in problem solving.
Ans. The steps involved in problem solving are defining the problem, analysing the problem,
planning the solution, candid solutions and selecting the best solution.
Q. Why is it important to define a problem?
Ans. A problem cannot be solved if it is not defined correctly. The clearly defined problem
helps the user to find the solution.
Q. List three strategies to define a problem.
Ans. Three strategies to define a problem include gain back knowledge, use gusses and draw
a picture.
Q. Why is it important to gain background knowledge of a problem?
Ans. It is important to understand the situation and circumstances .in whiCh the problem is
occurring. It allows the user to understand the given state. It also helps to know what the
solution will look like and how to measure the solution.
Q. What is problem analysis? Why is it important?
Ans. Problem analysis is a process of understanding the given problem. It is very important
to understand a problem before trying to solve it. A clear understanding of a problem helps
the user to solve it correctly and easily. It also saves money, time and resources.
Q.9. List five Ws to understand a problem.
Ans. The five Ws to understand a problem ate What, Who, Why, When and Where,
Q. What happens in the phase of planning the solution a problem?
Ans. The solution of a problem is planned after defining and analysing the problem. The
problem is assessed to find the right strategy to solve the problem. This phase specifies the
actions required to solve the problem. It also specifies the resources required for the solution.
Q. List different strategies to plan the solution of a problem.
Ans. Different strategies to plan the solution of a problem include divide and conquer; guess,
check and improve; and act it out.
Q. Which strategy divides a complex problem into smaller problems and why?
Ans. The divide and conquer strategy divides a complex problem into smaller problems. The
smaller problems can be solved separately. The process of t-e problem becomes easier. It
also reduces the complexity of the solution.
Q. What is candid solution of a problem?
Ans. The word candid means something unplanned. The candid solution is typically found
using guess without detailed planning. It saves a lot of time but may not be the actual solution
of the problem.
Q. What is flowchart?
Ans. Flowchart is a graphical representation of the solution of a problem. Standard symbols
are used to represent different steps of solution. Different zee used in flowcharts to represent
different operations.
Q. Write any four flowchart symbols.
Ans. The four flowchart symbols include terminal, input/output, process cod flow line.
Q. What is the importance of flowcharts?
Ans. The flowchart is an important tool in problem solving. It can be used to plan the solution
in problem solving. The solution can be understood easily with the help of a flowchart. It also
helps the user to verify if the solution is correct or not.
Q. Write any three advantages of flowchart.
Ans. Flowchart is easy to draw. It helps to understand the easily. It clearly shows the flow
from one step to other.
Q. How is a flowchart constructed?
Ans. A flowchart is constructed by determining different requirements for the given problem.
These requirements include input, processing, decision and output.
Q. How can you show the sequence of the execution of the steps in flowchart?
Ans. The sequence of the execution of the steps in flowchart are shown using the flow lines.
The sequence is generally shown from top to bottom.
Q. Which symbol is used to show processing in flowchart?
Ans. The test data is used to check the correctness of an algorithm. It is important to test the
output of the algorithm after solving a problem. Different values of test data is given to the
algorithm as input. The output is checked to confirm that the algorithm works correctly.
Q. Why testing of a solution important?
Testing is very important to ensure the correctness of the solution. It can be used to find any
errors in the solution. It helps the user to modify and improve the solution. The testing
becomes even more critical if the solution is used commercially.
Q. Differentiate between valid and invalid test data.
A type of test data that is according to the input requirements of an algorithm is called valid
test data. A type of test data that is not according to the input requirements of an algorithm is
called invalid test data.
Q. What is boundary test data?
Ans. The smallest or the largest data values from the range of valid test data is called
boundary test data. An algorithm is tested with the boundary test data to ensure that it handles
these values correctly.
Q. What do you mean by absent data?
Ans. The absent data means that the number of values given to a solution is less than
expected.
Q. What is the process of verification?
Ans. Verification is the process to test if the solution is solving the same problem for which it
was designed. Suppose an algorithm is. prepared to find the percentage of a student and
assign the grade. The user can observe if the algorithm inputs marks and displays grade.
Q.36. What is the process of validation?
Validation is the process to test if the solution is correct or not. Suppose an algorithm is
prepared to find the percentage of a student and assign the grade. The user can check the
output of the algorithm to confirm that the grade is assigned correctly.
Q. What is trace table?
Ans. A trace table is a technique of testing the algorithm to ensure that it does not have any
logical errors. The trace table usually consists of multiple rows and columns. Each column
shows the name of the data element. Each row shows the value of data element in each step.