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

Class5 Computer Programmingbasics Notes 2 July 2021

Computer program

Uploaded by

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

Class5 Computer Programmingbasics Notes 2 July 2021

Computer program

Uploaded by

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

Chapter-2 Programming Basics

Page no -24 Activity(Redraw)

Exercises:- Page no 22

A. Tick the correct answers.


1. The direction of flow in any flowchart should be from Top to Bottom.
a. Top to Bottom b. Bottom to top c. Right to left
2. The symbol used to indicate input and output of a program is Parallelogram.
a. Rectangle b. Parallelogram c. Circle
3. Machine Language is directly understood by a Computer.
a. Machine b. High Level c. Assembly
4. High Level language is machine-independent language.
a. Low Level b. Assembly c. High Level

B. Write ‘T’ for True and ‘F’ for False statements.


1. An algorithm is a graphical representation of a flowchart. False
2. The flowchart helps in finding out errors. True
3. Decision Box is a rectangular symbol used for doing calculations. False
4. The people who write computer programs are called users. False
5. An assembly language does not need a translator. False

1
C. Fill in the blanks.
1. Flowchart was developed by Herman Goldstine and John Von Neumann.
2. The Rhombus-shaped symbol is known as Input/Output Box.
3. Natural language is sometimes called Fifth generation language.
4. A computer only understands binary digits directly.
5. Assembler converts the assembly language program into machine language.

D. Name the following flowchart symbols.

1. Start/Stop Box 2. Input/Output Box

3. Decision Box 4. Connectors

E. Define the following.


1. Machine Language :- A Machine Language , also called First-Generation Language,
is a language directly understood by a computer without any translation. It refers to 0s
and 1s that a computer can understand as instructions. This is also called Low Level
Language(LLL).
2. Assembly Language :- This is called Second-Generation Language. This is a Low
Level Language. An assembly language uses letters and symbols instead of using
numbers, that is called Mnemonic Codes. Assembly language program is a Source
Program which must be translated into a Machine Language with the help of a
Assembler.

F. Differentiate between the following.

1. Compiler :- A Compiler converts the entire HLL Program into machine language
at once and also displays errors for the whole program together.
2. Interpreter :- It converts one line of program at a time. It displays error of one line
at a time and goes to the next line only after correction of that error.

G. Answer the following Questions.


1. What do you mean by flowchart? Who discovered it ?
Ans :- A flowchart is a Diagrammatic representation of a problem-solving process,
I.e. an Algorithm. Herman Goldstine and John Von Neumann discovered it.

2
2. Write any 2 Advantages of a Flowchart.
Ans :- The Advantages of flowchart are
a) Flowchart helps in analysing the problem in a more effective way.
b) It acts as a guide during the program development phase.

3. What do you mean by a Computer Language ?


Ans :- A Computer Language is also known as Programming Language. It is a
special language understood by computers.

H. Application Based Question.


Several years ago , a programmer, who is no longer with the company, wrote a
program for company using a high-level language. Now, his colleague is working on
the same program and has discovered that the program is not working. By which
software can he detect the errors ? Help Him.
Ans :- He can refer the Flowchart drawn for the program and check the Algorithm
also.

3
4

You might also like