Chapter 7
Coding And Its Importance
Exercises :
1. Fill in the blanks.
a. ISA stands for……….
b. Programming is also known as …………
c. The rules and regulations of a computer programming language is known as …..
d. In machine language, computer programs are written using only……… numbers.
e. In drawing flowchart,………… is used for input/output operation.
2. Short answer questions (Answers should preferably be of 2-3 lines) :
a. How do we write programs in assembly level language?
The expression a = b + c can be a statement of which type programming languages?
b. Name the two basic ingredients if we want to write a computer program for solving a problem.
c. Why is it easier for a human being to write programs in high level language than in machine level language?
3. Long answer questions (Answers should preferably be of 5-6 lines):
a. Define the term programming. Write the importance of computer programming.
b. Explain the importance of compiler in program execution.
c. Differentiate between algorithm, flowchart and pseudocode.
4. Problem solving and algorithm design questions.
a. Draw a flowchart to find the larger number from two given numbers.
b. Write a solution strategy for finding the largest number among three given numbers. Draw a flowchart for the same.
c. Design an algorithm to find the smallest of N given numbers. Write a pseudo code for the same. Draw a flowchart to represent the solution strategy.
d. Write a solution strategy for finding the greatest common divisor of two numbers. Draw a flowchart for the same.
e. Write pseudocode for finding the summation of N given numbers. Draw a flowchart for the same.
f. Write a solution strategy for arranging three numbers in ascending order of their values. Draw a flowchart for the same.
g. Write pseudocode to announce all the even numbers from a given set of numbers. Draw a flowchart for the same.