(a)Explain that: In how many ways DMA process may be initiated and be terminated? The sequence of events as DMA is requested by an I/O devices. What happens when DMAC receives DMA request from another channel while it is serving one? [5]
(b)Why Interrupts are employed in computer? Briefly describe basic types of Interrupts. [5]
(c)Differentiate between pre-emptive and non pre-emptive scheduling. Briefly describe round robin and shortest scheduling policies with examples for each. A bunch of jobs is arriving in the Ready Queue as shown below using SRT and RR(Q=5). Calculate the average turn around time. Draw the Gantt chart and describe which policy provides better results? JOB A.T E.R.T 1 0 10 2 1 06 3 2 12 4 3 11 5 4 5 [10]
(20)
Q. 3
(a)Consider a slotted ring of length 10 km with a data rate of 10 Mbps and 500 repeaters, each of which introduces a 1-bit delay. Each slot contains room for one source-address byte, one destination-address byte, two data bytes and five control bits for a total length of 37 bits. How many slots are on the ring? [9]
(b)Compare the capacity allocation schemes for IEEE 802.5 token ring and FDDI. What are the relative pros and cons? [5]
(c)Compare the individual fields of the IPv4 header with the IPv6 header. Account for the functionality provided by each IPv4 field by showing how the same functionality is provided in IPv6. [6]
(20)
Section B
Q. 4
(a)Calculate the software cost for building, reusing, buying and contracting a software system by considering the following decision tree diagram. What decision would you like to take for this kind of software system? [12]
(b)Software requirement analysis is unquestionably the communication intensive step in the software process. Why does the communication path frequently break down? [8]
(20)
Q. 5
(a)What is polymorphism? How can we achieve polymorphism in Java and what are its prerequisites? [8]
(b)Write exception hierarchy in Java. Enlist the methods of Arithmetic exception, I/O Exception, Array Index Out of Bounds Exception Classes. [12]
(20)
Q. 6
(a)Describe the use of Print Stack Trace Method. Consider STACK with memory size 8. Initially it is empty. Find out the output of the following algorithm: Set X :=4 and y :=6 Call PUSH(STACK, X+Y) Call PUSH(STACK, 5) Call PUSH(STACK, X+4) Call PUSH(STACK, Y-3) Call PUSH(STACK, Y-X) Repeat while TOP !=NULL. Call POP(STACK, ITEM). Write: ITEM. [loop ends] Exit [9]
(b)Elucidate the concept of Hashing. Explain in brief the various methods used to avoid collision in Hashing. [4]
(c)Insert Key Records: 76, 93, 40, 47, 10, 55 (in this sequence) into the Hash Table of length m = 7 with the Hash Function H(K) = K mod m. Perform linear and quadratic probing. [7]
(20)
Section C
Q. 7
Write Short notes on the following:
(a)Block Structure of PL/SQL [5]
(b)Database Security [5]
(c)Cybertalk: A new way to communicate [5]
(d)The promise of virtual reality [5]
(20)
Q. 8
(a)What is normalization process? Explain the steps to normalize a relation with suitable examples. [9]
(b)Explain the DIFFERENCE between Client Side Technologies and the Server Side Technologies with some examples. [6]
(c)Define the following briefly: VBscript Servlet CGI UDDI SOAP [5]
The 2011 CSS Computer Science paper set by the FPSC. Question wording only; questions marked “Not yet checked” have not been compared with the official paper yet.
Disclaimer Prep Right is independent and not affiliated with FPSC.