


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



Answer ANY FIVE questions. Examiners: Ms. M. Meagher Ms. A. Brown Mr. D. Long
All questions carry equal marks.
Q1. (a) Describe using text and a diagram a typical CPU. (7 Marks) (b) Describe how an instruction is executed. (3 Marks)
(c) Explain what is meant by Assembly Language, Machine Language and how they differ from high level languages code. (3 Marks)
(d) Using the simple instructions in the appendix give low level code for the following code high level code. a=2; f=7; while (a <= f) { f = f * f; a = a + 1; }
(7 Marks)
Q2. a) What are the important characteristics of the following components of a PC? Motherboard , Hard-Disk , Ram. (7 Marks)
b) Write a short on note on IDE , SATA (6 Marks)
c) Explain (in relation to a hard disk) what is meant by the terms: Format , Partition , defragment , check for errors. (7 Marks)
Q3. a) What are Expansion slots? (2 Marks)
b) Give a diagram of where Expansion slots are relative to other components in a computer. The diagram should show the busses in a typical computer system. Why are the busses bridged? (6 Marks)
c) What types of Expansion slots are there? Give an example of a card to match each type of slot. (4 Marks)
d) Describe how PCIe works. (8 Marks)
Q4. (a) Describe the AND , XOR and NOT gates. (4 Marks) (b) What is the order of precedence of the AND , OR and NOT gates?(3 Marks) (c) Give an equation for f and draw the circuit.
A B C | f 0 0 0 | 0 0 0 1 | 1 0 1 0 | 0 0 1 1 | 1 1 0 0 | 0 1 0 1 | 0 1 1 0 | 1 1 1 1 | 0 (7 Marks)
d) Describe a Multiplexor using a table, text and a circuit. Give examples of how this could be used. (6 Marks)
Here's the set of assembly language instructions that the designer might create for the simple microprocessor in our example:
1 LOADA mem - Load register A from memory address 2 LOADB mem - Load register B from memory address 3 CONB con - Load a constant value into register B 4 SAVEB mem - Save register B to memory address 5 SAVEC mem - Save register C to memory address 6 ADD - Add A and B and store the result in C 7 SUB - Subtract A and B and store the result in C 8 MUL - Multiply A and B and store the result in C 9 DIV - Divide A and B and store the result in C 10 COM - Compare A and B and store the result in test 11 JUMP addr - Jump to an address 12 JEQ addr - Jump, if equal, to address 13 JNEQ addr - Jump, if not equal, to address 14 JG addr - Jump, if greater than, to address 15 JGE addr - Jump, if greater than or equal, to address 16 JL addr - Jump, if less than, to address 17 JLE addr - Jump, if less than or equal, to address 18 STOP - Stop execution 19 / add more if you like but describe them /