0% found this document useful (0 votes)
4 views

Ch-2 Programming Basic (Exercise)

Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

Ch-2 Programming Basic (Exercise)

Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Ch-2 Programming Basics

Exercises

A Choose the correct from following.


1) The direction of flow in any flowchart should be top to bottom
2) The symbol used to indicate input and output of program is parallelogram.
3) Machine language is directly understood by computer.
4) High level language is machine independent language.
B Write True or False for the following Statements
1) An algorithm is a graphical representation of flow chart. - False
2) The flowchart helps in finding out errors. - True
3) Decision box is a rectangular symbol used for doing calculation. – False
4) The people who write computer program are called users. – False
5) An assembly language does not need a translator. – False
C Fill in the blanks
1) Flow chart was developed by Herman Goldstine and John Von Neumann.
2) The Rhombus shaped symbol is used as a Decision Box.
3) Natural language is sometimes called fifth generation language.
4) Computer only understood binary digits directly.
5) Assembler convert assembly language program into machine language.
D Name the following Chart Symbols
Start/ Stop Box Input/ Output
Box

GGS Page 1
Decision Box Connectors

E. Define the following.


1) Machine Language: Machine language is directly understood by the computer
without any translation. It refers to 0s and 1s that the computer can understand as
instructions.
2) Assembly Language: Assembly language is also called second generation
language. It uses letters and symbols instead of using numbers.
F. Differentiate between the following
Compiler Interpreter
 Compiler convert the entire HLL  Interpreter convert one line of
program into machine language at program at a time, display the
once and also display errors of the errors one line at a time and goes
whole program together. to the next line only after
correction of errors.
G. Answer the following in short
1) What do you understand by algorithm?
Ans: Algorithm is a step-by-step procedure to solve any particular task, such as
mathematical or logical problem.
2) What do you mean by flowchart? Who discovered it?
Ans: A flowchart is a graphical representation of algorithm. it was developed by
Herman Goldstine and John Von Neumann.
3) What do you mean by computer language?
Ans: A computer language is a special language understood by the computer. It
consists of a set of words and code that is used to write a computer program.

GGS Page 2

You might also like