Answer:
Question 2
A flowchart is a pictorial representation of a sequence of instructions that are required to solve a problem.
Write the names and the symbols of the boxes for the given statements
Statement Name of the Box Symbol
To assign a number Process Box Process Box Flowchart Class 8 ICSE Computer Studies
To display the result Input / Output Box Input Output Box Flowchart Class 8 ICSE Computer Studies
To start the process Start Box Start Box Flowchart Class 8 ICSE Computer Studies
To decide whether a number is smaller than the other Decision Box Decision Box Flowchart Class 8 ICSE Computer Studies
Complete the following flowcharts
Question 1
A flowchart to check whether a triangle is possible or not.
Flowchart to check if triangle is possible. Class 8 ICSE Computer Studies.
Question 2
A flowchart to display the greater of the two numbers.
Flowchart to check greater of two numbers. Class 8 ICSE Computer Studies.
Write algorithms for the following
Question 1
To go for a class picnic
Answer
Step 1: Start
Step 2: Decide the picnic venue, date and time
Step 3: Decide the picnic activities
Step 4: Hire a vehicle to reach to the venue and comeback
Step 5: Goto to the picnic venue on the decided date
Step 6: Do the activities planned for the picnic
Step 7: Come back to school in the hired vehicle
Step 8: Stop
Question 2
To celebrate New Year
Answer
Step 1: Start
Step 2: Prepare a guest list for New Year party
Step 3: Decide the venue, food menu, games and fun activities for the party
Step 4: Invite the guests for the party
Step 5: On New Year eve, get ready and enjoy the party
Step 6: Stop
Question 3
To make tea/coffee
Answer
Step 1: Start
Step 2: Boil water in a saucepan
Step 3: Add tea to boiling water
Step 4: Add sugar to boiling water
Step 5: Add milk to boiling water
Step 6: Boil this water with all the ingredients for 2 mins
Step 7: Sieve the tea in a cup
Step 8: Stop
Question 4
To celebrate Teachers' Day
Answer
Step 1: Start
Step 2: Decide the activities for teachers' day like dance performances, plays, etc.
Step 3: Form groups of students and assign the decided activities from step 2 to each group.
Step 4: Decide the practice timings for each group.
Step 5: Each group to practice as per the timings decided in step 4.
Step 6: Invite the teachers to Teachers' Day celebrations.
Step 7: Perform the activities planned in step 2 on Teachers' Day
Step 8: Stop
Answer the following questions
Question 1
What is a flowchart? What are the features of a flowchart?
Answer
A flowchart is a pictorial representation of an algorithm. It uses boxes of different shapes to represent different types of instructions. These boxes are connected with arrow marks to indicate the flow of operations.
The features of a flowchart are:
It is an easy method of communication.
It is independent of a programming language.
It is the key to correct programming.
It helps to plan and design a new system.
It clearly indicates the task to be performed at each level.
Question 2
What is an algorithm? What are its characteristics?
Answer
An algorithm is defined as the sequence of instructions written in simple English that are required to get the desired results. It helps to develop the fundamental logic of a problem that leads to a solution.
Some characteristics of an algorithm are as follows:
Each step of an algorithm must be precisely defined.
An algorithm must contain blocks that will help to solve problems more efficiently and logically.
It should accept a set of inputs and produce a defined output.
It must be terminated after a finite number of steps.
It should be independent from a computer programming language.
It should develop a platform for writing programs.
Question 3
Define the following and draw their symbols:
Algorithm
Step 1: Start
Step 2: Accept the length of the two line segments as l1 and l2.
Step 3: If l1 and l2 are equal, then display 'Line Segments are equal'.
Step 4: If l1 and l2 are not equal, then display 'Line Segments are not equal'.
Step 5: Stop.
Algorithm
Step 1: Start
Step 2: Accept the age of the person.
Step 3: If age is greater than or equal to 18, then display 'You are eligible to vote'.
Step 4: If age is less than 18, then display 'You are not eligible to vote'.
Step 5: Stop.