DAV Class 8 Computer Chapter 6 Problem Solving Question Answer Notes
DAV Class 8 Computer Chapter 6 Problem Solving Question Answer Notes Solution by Expert Computer Teacher. DAV Class 8 Computer 6th Chapter Problem Solving for Students of DAV Schools.
Lesson No 6
Problem Solving
(Q1) Fill in the blanks:-
(1) The step-by-step method of solving any problem is called as Algorithm
(2) Flowchart is a picture (graphical representation) of the problem solving process
(3) The boxes are connected by the directional arrows to show the flow of the solution.
(4) Parallelogram is used to read data (input) or to print data (output).
(5) Small circles which are used for connecting the different parts of the flowchart is to be termed as Connectors.
(6) Computer understands the only one language it is called as Machine Language.
(Q2) Match the following Geometric Shapes with the Flowchart Symbols:-
(Q3) Answer the following questions in one or two sentences each :-
(1) What is an Algorithm?
Ans:- The step-by-step instructions or method for solving any problem is to be termed as Algorithm.
(2) What is a Flowchart?
Ans:- Flowchart is the method of solving the problem in the form of presenting it in the pictorial (graphical representation) form. Flowchart is totally related with the Algorithm.
(3) What is machine language?
Ans:- As there are different languages for the human beings to understand and communicate. Similar to it computer (the machine) also understands only the language (series of bits) that is 0’s and 1 is to be termed as Machine Language. In the olden days you might have seen that the computers were only programmed into machine language.
(4) What is Assembly language?
Ans :- If incase you are writing the programs in the machine language i.e is in 0’s and 1, then surely there will be arise of problems of understanding or understanding the language. But if you resemble the program by applying the codes in English, it makes the task of understanding and writing of programming language much easier. The language which makes use of mnemonic codes (LDA for load, SUB for subtract, STA for Store etc) for writing codes is to be termed as assembly language. This assembly language is much easier to read and write.
(5) What is Assembler?
Ans:- Assembler is used for performing the task of converting the programs that is been written in the assembly language into the machine coded form which is clearly and directly understood by a computer.
(6) What is Interpreter?
Ans:- Interpreter is responsible for performing the task of grabbing the single instruction or single step of program which is written in HLL (High-Level language) and translates the program into the machine readable form (codes) and runs the program immediately.
(7) What is a Compiler?
Ans :- Compiler is the language processor that is responsible for translating the entire program into the one go machine code.
(8) Name the steps involved in every flowchart?
Ans:- In every flowchart there are steps involved, Input Data (reading Assignment), Process (Calculations & comparisons), Output (Result of processing).
(Q4) Answer the following questions in brief :-
(1) State the difference between the Compiler and Interpreter?
Ans :- The difference between the Compiler and Interpreter are:-
No. |
Compiler | Interpreter |
1) | Compiler intakes the entire program as input |
Interpreter intakes the single instruction or single set of program as input. |
2) |
Generation of Intermediate Object code | Generation of Intermediate Object Code is not done. |
3) | As the Intermediate Object Code is generated which arises for the need for more memory. |
Interpreter does not generate the Intermediate Object Code, hence needs less memory. |
4) |
In the compiling, program needs to be compiled every time. |
High level program is been converted into the low level program always. |
5) |
It displays all the errors at a time once the program is checked. | For every instructions, errors are displayed. Interpreted one at a time. |
6) | For ex :- C Compiler |
For ex :- Q BASIC |
(2) What are the elements and uses of a flowchart?
Ans:- The elements and the uses of a flowchart are as follows :-
Elements of a Flowchart
- As the steps of the solving a problem, various geometrical shaped boxes are been represented.
- To describe the flow of the problems solution, directional arrows are been made used for connecting the geometrical shaped boxes.
Uses of a Flowchart
- It is the way or technique of solving the problem.
- This technique helps in planning the sequence of a computer program
- This method/technique conveys ideas, solutions etc.
For further update follow net explanations home page