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

Computer Science - I

This document outlines instructions for a computer science examination, including: - The exam duration is 1 hour and 45 minutes. - Candidates should answer on the question paper using a dark blue or black pen. - Calculators must not be used. - Candidates must answer all questions and fasten their work together at the end.

Uploaded by

Mohamed Mubarak
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)
48 views

Computer Science - I

This document outlines instructions for a computer science examination, including: - The exam duration is 1 hour and 45 minutes. - Candidates should answer on the question paper using a dark blue or black pen. - Calculators must not be used. - Candidates must answer all questions and fasten their work together at the end.

Uploaded by

Mohamed Mubarak
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/ 9

FIRST SEMESTER EXAMINATION - MARCH 2017

COMPUTER SCIENCE
PAPER - I
9 ............ (Cambridge)
Duration : 1 hour and 45 minutes

Instructions to Candidates :
• Candidates answer on the Question Paper.
• No Additional Materials are required.
• Write your admission number and name in the spaces at the
bottom of this page.
• Write in dark blue or black pen.
• You may use an HB pencil for any diagrams, graphs or rough
working.
• Do not use staples, paper clips, glue or correction fluid.
• Calculators must not be used in this paper.
• Answer all questions.
• No marks will be awarded for using brand names of software
packages or hardware.
• At the end of the examination, fasten all your work securely
together.
• The number of marks is given in brackets [ ] at the end of each
question or part question.

Candidate's name : ............................................................... Admission no : ...................


1

1. (i) What is meant by the following terms ?


(a) Byte
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
(2 marks)
(b) Memory size
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
(2 marks)

(ii) The following 8 bits registry shows how a burglar alarm works.
8 4 2 1

Zone
Infrared
Door

Floor
Window

Example

0 0 1 1 1 0 1 1

Door sensor and infrared sensor detected in Zone 11.

(a) What are indicated by the following two registries ?

(I) 1 0 1 0 0 0 1 1

---------------------------------------------------------------------------------------------------
(2 marks)

contd.....to page 2
2
Grade 9 Computer Science - I contd.....from page 1

(II) 1 1 0 1 1 0 0 1

---------------------------------------------------------------------------------------------------
(2 marks)
(b) Draw binary pattern for floor sensor and infrared sensor detected in Zone 12.

(2 marks)
[Total = 10 marks]

2. (i) Describe two ways of carrying out verification checks.


---------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------
(4 marks)

(ii) How does verification differ from validation ?


---------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------
(2 marks)
[Total = 6 marks]

contd.....to page 3
3
Grade 9 Computer Science - I contd.....from page 2
3. (i) Convert the flowing in to binary.
8 4 2 1
Hex C
Hex E4
(3 marks)

(ii) Give three uses of hexadecimal.

(a) ---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------

(b) ---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------

(c) ---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
(3 marks)
[Total = 6 marks]

4. Match the correct description for the relevant data transmission.

Parallel Data transmission allows data to flow in one direction only.


Serial Data transmission allows data to flow both directions but not at the
same time.

Simplex Data transmission allows data to flow both directions and at the same
time.
Half duplex Several bits of data simultaneously along a number of wires.

Full duplex One bit at a time over single wire.

[Total = 5 marks]

contd.....to page 4
4
Grade 9 Computer Science - I contd.....from page 3
5. (i) Carefully study the table and find the incorrect digit.

Parity Bit 2 Bit 3 Bit 4 Bit 5 Bit 6 Bit 7 Bit 81


bit
Byte 1 1 1 1 1 0 1 1 0
Byte 2 1 0 0 1 0 1 0 1
Byte 3 0 1 1 1 1 1 1 0
Byte 4 1 0 0 0 0 0 1 0
Byte 5 0 1 1 0 1 0 0 1
Byte 6 1 0 0 0 1 0 0 0
Byte 7 1 0 1 0 1 1 1 1
Byte 8 0 0 0 1 1 0 1 0
Byte 9 0 0 0 1 0 0 1 0
Parity
byte 1 1 0 1 0 0 0 1

(a) erroneous row : -----------------------------------------------------


(b) erroneous column : -----------------------------------------------------
(2 marks)
(ii) Calculate the checksum (show your workings).
(a) 1107
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
(2 marks)
(b) What are the types of test data and give one example for each ?
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
(6 marks)
[Total = 10 marks]
contd.....to page 5
5
Grade 9 Computer Science - I contd.....from page 4
6. (i) What are the types of operating system ?
---------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------
(4 marks)

(ii) What are the two types of interfaces ? Give two differences with one example for each.
---------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------

(6 marks)
[Total = 10 marks]

contd.....to page 6
6
Grade 9 Computer Science - I contd.....from page 5
7. (i) What are the differences between a compiler and an interpreter ?

Compiler Interpreter

[Total = 8 marks]

8. (i) What is an interrupt and give one example ?


----------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------
(3 marks)
(ii) What is meant by an interrupt handler ?
----------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------
(2 marks)
(iii) What is a buffer ? Give one example.
----------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------
(3 marks)
[Total = 8 marks]
contd.....to page 7
7
Grade 9 Computer Science - I contd.....from page 6

9. Draw a NAND gate and the truth table.

Truth Table
A B X

[Total = 4 marks]

contd.....to page 8
8
Grade 9 Computer Science - I contd.....from page 7
10. Draw the Logic circuit and the truth table for the following.

X = 1 if (switch A is ON AND switch B is ON) AND (switch B is ON OR switch C is OFF)

(4 marks)
A B C Working X

(4 marks)
[Total = 8 marks]
END
Ref : CH

You might also like