0% found this document useful (0 votes)
25 views4 pages

Computer Science

This document contains a monthly test in Computer Science for grade 8 students. It has 7 questions testing various concepts: 1) Converting decimal numbers to binary using division and binary place value tables. 2) Converting a binary number to decimal. 3) Identifying variables used in pseudocode. 4) Executing pseudocode by providing sample input. 5) Drawing a flowchart and writing pseudocode to convert currency from South Korean Won to Sri Lankan Rupees based on an exchange rate. The test has a total of 50 marks and covers topics like binary conversion, variables, and pseudocode for currency conversion algorithms.

Uploaded by

skullemperor10
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views4 pages

Computer Science

This document contains a monthly test in Computer Science for grade 8 students. It has 7 questions testing various concepts: 1) Converting decimal numbers to binary using division and binary place value tables. 2) Converting a binary number to decimal. 3) Identifying variables used in pseudocode. 4) Executing pseudocode by providing sample input. 5) Drawing a flowchart and writing pseudocode to convert currency from South Korean Won to Sri Lankan Rupees based on an exchange rate. The test has a total of 50 marks and covers topics like binary conversion, variables, and pseudocode for currency conversion algorithms.

Uploaded by

skullemperor10
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

1

Monthly Test - January 2021 Paper = /48


Handwriting = /02
Subject : Computer Science
Total = /50
Class : 8 ….......
Duration : 1 period Date : .......................................
Candidate's name : ................................................................. Admission no : .........................
Instructions:
1. Use the given space to write the answers.
2. Ink all your answers and diagrams.

1. Convert the following decimal number to binary using the division method.
55

[Total = 6 marks]

2. Convert the following decimal number to binary using the binary place value table.

121

[Total = 9 marks]

Grade 8 Computer Science January 2021 Page 1


2

3. Convert the following binary number to decimal.

1001012

[Total = 6 marks]

4. List all the variables used in the following Pseudocode.

Begin

Input Item_code, Unitprice, Quantity

Cost ← Unitprice * Quantity

Output ‘Description’, Item _code, ‘Unit Price’, Unitprice

Output ‘Quantity’, Quantity, ‘Cost’, Cost

End

[Total = 4 marks]

Grade 8 Computer Science January 2021 Page 2


3

5. Go through the following Pseudocode. If Q = 5, find T. Show the working.

Begin Working
Input Q
R ← Q+25
S ← R /10
T ← R+S
Output T
End
[Total = 5 marks]

6. Some variables used in this Pseudocode violate naming rules. Circle those variables.

Begin
Input 1st No
Input No 2
Input No3
Input No_4
ToTaL ← No1 + No2 + No3 + No 4
1AVG ← ToTaL/4
Output ToTaL
Output AVERAGE
End
[Total = 4 marks]

7. Many Sri Lankans are employed in South Korea. Their salaries are paid in Korean Won
(KRW). To find out the value of their salaries in Sri Lankan Rupees (LKR), a currency
conversion should be done.

Draw a flowchart and then write a Pseudocode for the task of converting a monetary value
given in South Korean Won (KRW) to Sri Lankan Rupees (LKR).

The current exchange rate: 1 KRW = 0.17 LKR / (17 cents)

Grade 8 Computer Science January 2021 Page 3


4

(i) Flowchart

[8 marks]

(ii) Pseudocode

[6 marks]
[Total = 14 marks]
END
Ref : UD

Grade 8 Computer Science January 2021 Page 4

You might also like