You are on page 1of 5
LOGIC GATES AND LOGIC CIRCUITS system uses the input from three sensors A, B and C. The binary values from these sensors input to a logic circuit. od “The output, X, from the logic circuit is 1 if: either Ais 1andBis1 sor AisO andCis1 sor BisQand Cis 1 "a Draw the logic circuit to represent the above system, [7 marks} b Complete the truth table for the above system. [a marks} Photocopying prohibited 3 Logic gates and! logic circuits For safety reasons, the sensors feed into three different logic circuits (numbered 1, 2 and 3) which produce the outputs X, ¥ and Z, These three outputs then form the inputs to another logic circuit ‘that has the output, Q. ‘The three logic circuits are connected to this extra logic circuit as shown below: [> [4 marks) Photocopying prohibited Cambridge IGCSE Computer Science Workbook o Operating systems and computer architecture 1 Give six functions of a typical operating system (OS). 6 marks} 2.8 Describe three different types of interrupt. [3 marks) b What is meant by the term buffer? U1 mark! “¢ The flowchart on the opposite page shows how buffers and interrupts are used when the processor sends data to a printer, Some of the items are missing from the flowchart. Using item numbers only, complete the flowchart using the following list of items: [6 marks] ‘tem number | ttem “contents of printer buffer emptied to printer current task is suspended while interrupt is serviced data to be printed out is sent to the printer buffer [processor continues with is current tasks processor continues with current tasks while printer buffer is emptied when all the data is printed, printer buffer becomes empty @]@l=fe[s|= Cambridge IGCSE Computer Science Workbook Photocopying prohibited 4 Operating systems and computer architecture Taupt sanal = sent io request rrore data to be "ante printer 3.2 Name three types of bus used in the von Neumann architecture. [3 marks} b_ Name three types of address used in the von Neumann architecture. [3 marks} Photocopying prohibited Cambridge IGCSE Computer Science Workbook @ 4 OPERATING SYSTEMS AND COMPUTER ARCHITECTURE ¢ The memory contents of a computer are shown below. aes Contents 7000 0000 DHT 1100) ‘g00 0001 1000-001 ‘oie Tit Hat 1000 001% Ono, 10000100 Too Hor 4 t THT THT Tot ‘oto corr Teo TION na 1 or location 1111 1110, of the MAR and MDR if we wish to write 110 100. be LT] ili If MAR contains 1111 1100.and MDRcontains 0011 1100, fill in the shaded cell of the memory contents diagram above, ‘Address is then copied from PC to MAR via the address bus Contents of memory location contained in MAR are then copied into MDR Instruction is decoded and then executed by sending out signals via control bus t ‘the computer components The PC contains the address of memory location of the next instruction to be fetched ‘Value of PC is then incremented by 1 so it now points to the next instruction to be fetched Cambridge IGCSE Computer Science Workbook i Show the contents of the MAR and MDR if we want to READ the contents of memory [2 marks) 1101 into memory [2 marks) [1 mack ‘The diagram on the opposite page shows a typical fetch-execute cycle; however, five of the stages have been omitted. Complete the cycle by writing the following stages in their correct position. (5 marks) Photocopying prohibited

You might also like