Bbt2215:Advanced Networking Concepts Question Paper

Bbt2215:Advanced Networking Concepts 

Course:Bachelor Of Information Technology

Institution: Meru University Of Science And Technology question papers

Exam Year:2010




a. Describe the following terms: (6 Marks) i. System call ii. Programming API iii. Communication protocol
b. What is runtime environment (RTE)? Give two examples. (3 Marks) c. Outline four functions of run time environment. (4 Marks) d. The OS manages the life cycle of a process generally there in three main steps: creating, managing and terminating the process. Explain the step by step details and interaction that take place. (6 Marks) e. In context of process execution explain what is meant by system call and context switch and provide examples. (5 Marks) f. Discuss three reasons for use of multi threading systems. (6 Marks)
QUESTION TWO – 20 MARKS
a. Define the following terms: (6 Marks) i. Device controller ii. Device interface iii. Buffered IO
b. Using a diagram explain how the DMA controller operates. (4 Marks) c. Describe the differences among short-term, medium-term and long-term scheduling. (6 Marks) d. With aid of a diagram differentiate between local and remote procedure call. (4 Marks)
2
QUESTION THREE – 20 MARKS
a. What are the four major activities of an operating system with regard to file management? (4 Marks) b. Differentiate between the two figures given below and in each of them explain what happens and advantage of fig 1 over fig 2. (6 Marks) c. Differentiate between the following: (6 Marks) i. Contiguous and linked allocation ii. File attribute and file operation mode
d. Describe the differences between symmetric and asymmetric multi-processing. What are three advantages and one disadvantage of multiprocessor systems? (4 Marks)
QUESTION FOUR – 20 MARKS
a. Differentiate between the following: (12 Marks) i. Signal and semaphors ii. Pipe file iii. Process and thread
b. Race conditions are possible in many computer systems. Consider a banking system with two functions: deposit (amount) and withdraw (amount). These two functions are passed the amount that is to be deposited or withdrawn from a bank account. Assume a shared bank account exists between a husband and wife and concurrently the husband calls the withdraw() function and the wife calls deposit(). Describe how a race condition is possible and what might be done to prevent the race condition from occurring. (4 Marks)
c. Discuss any two techniques which can be applied to address processor IO speed difference. (4 Marks) QUESTION FIVE – 20 MARKS
a. The code below is a date server, explain line: 1 and 2, 3, 6, 7, 10, 14, 16, 18, 21, 22 and 23 of the code and what each part identified represents. (8 Marks)
1. import java.net*; 2. import java.io.*; 3. public classes DateServer 4. { 5. } 6. Public static void main(String[] args) { 7. try { 8. } 9. } 10. ServerSocket sock = new ServerSocket(6013); 11. //now listen for connections 12. while (true) { 13. } 14. Socket client = sock.accept(); 15. PrintWriter pout = new 16. PrintWriter(client.getOutputStream(), true);
3
17. // write the Date to the socket 18. pout.println(new java.util.Date().toString()); 19. //close the socket and resume 20. //listening for connections 21. Clients.close(); 22. Catch (IOException ioe) { 23. System.err.println(ioe); 24. }
b. Explain each of the following terms as applied to systems programming using JAVA language: (8 Marks) i. Public ii. Protected iii. Default iv. Private
c. Explain how TCP/IP protocol stack implements OSI communication model. (4 Marks)






More Question Papers


Popular Exams


Mid Term Exams

End Term 1 Exams

End Term 3 Exams

Opener Exams

Full Set Exams



Return to Question Papers