Professional Documents
Culture Documents
10th computer chapter 1
10th computer chapter 1
Q 2) Short Questions
1) Define a computer.
Computer is an electronic device that take data as input, processes it and produces results as output. It is a general
purpose machine that helps the user solve various problems.
Algorithm means method, procedure, technique or plan. Algorithm is a step-by-step problem solving method that is easy
to understand and follow. It is a set of steps that clearly defines a sequence of operations to solve a problem.
3) What is a flowchart?
5) Draw any four graphical symbols used in flowchart and explain them
Symbol Description
Oval symbol is sued indicate the start or end of a flowchart. We can
Start/ Stop
write START/STOP inside the symbol. A flowchart can have only one
Symbol
start but many ends
Input/ Parallelogram symbol is sued to show input or output operations in the
Output flowchart. It contains INPUT/READ with input variables or
Symbol OUTPUT/PRINT with output variables.
Rectangle symbol is sued for processing operations. All the calculations
Process
and variable initialization are done inside this symbol.
A diamond symbol is used to show decisions in a flowchart. It contains a
Decision condition. If condition is true, the path marked “Yes” is followed,
otherwise, we follow the path marked “No”.
Long Questions:
Q 4) Write and algorithm to calculate the area on a rectangle for given breadth and length.
Step1: Start
Step2: INPUT Numbers Length, Breadth
Step 3: Area = Length * Breadth
Step 4: OUTPUT Area
Step 5: Stop
Q 5) Write an algorithm that inputs length in inches and calculates and prints it in centimeters.
Step1: Start
Step2: INPUT Inch
Step 3: CM = Inch * 2.54
Step 4: OUTPUT CM
Step 5: Stop
Q 6) Write an algorithm that inputs marks and prints the message "PASS" or "FAIL".
Step1: Start
Step2: INPUT Marks
Step 3: IF (𝑀𝑎𝑟𝑘𝑠 ≥ 33)
THEN
ELSE
Step 4: Stop
Step1: Start
Step2: Let the number, Sum be 0
Step 3: Let the number, N be 20
Step 4: Sum = Sum + N
Step 5: N=N+5
Step 6: IF (𝑁 ≤ 60)
THEN
ELSE
Step 6: OUTPUT Sum
Step 7: Stop
PRODUCT = 1x3x5x7x9x11x13x15
Step1: Start
Step2: Let the number, Prod be 1
Step 3: Let the number, N be 1
Step 4: Prod = Prod * N
Step 5: N=N+2
Step 6: IF (𝑁 ≤ 15)
THEN
ELSE
Step 6: OUTPUT Prod
Step 7: Stop
Step1: Start
Step2: Let the number, N be 3
Step 3: Let the number, T be 10
Step 4: P= N*T
Step 5: T=T–1
Step 6: OUTPUT P
Step 6: IF (𝑁 ≥ 1)
THEN
ELSE
Step 7: Stop
(4) Calculate the area on a rectangle for given breadth and length.
(Q9) Print multiplication table of a number in reverse order.