







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!








Date: July 13, 2007 Time allowed: 3 hours
Name:
Instructions
For Office Use Only
Part Part I (35) Part II (25)
Part III (20)
Part IV (20)
Total (100)
Marks
1.1 a. What is a software development process model? (2 points)
b. Explain in detail the Rapid Application development model. (3 points)
1.2 a. What is software risk? (2 points)
1.5 Rewrite the following recursive algorithm using iterative methods using a programming language of your choice. You may introduce new variables as required. (5 points) int f(int num) Begin /* num > 0 */ if( num <= 2 ) then return 1; else return f(num - 1) + f(num - 2); end if End
1.6 Mention at least three points in which object oriented programming is advantageous than structured programming. (3 points)
1.7 Write three benefits of modular programming? (3 points)
1.8 Write the implementation of a simple sorting algorithm with a programming language of your choice to order a list having n integer values in descending order. (5 points)
2.4 In most modern operating systems, making use of threads in a single process is common. Write two basic reasons (advantages) for using threads. (2 points)
2.5 Direct Memory Access (DMA) is commonly available in general-purpose modern computer systems. What are the disadvantages of a system without a DMA? (2 points)
2.6 What are the four types of files supported by the Unix operating system? (2 points)
2.7 Paging and segmentation are two common methods of implementing virtual memory. Unlike pages, segments do not have fixed size and have independent linear address space. Give two advantages of segmentation over paging. (3 points)
2.8 What is the Master Boot Record (MBR) in a file System? What happens to the system if the MBR is destroyed, say by a virus? (3 points)
c. Produce a listing: CUSTNAME , NO_OF_ORDERS , AVG_ORDER_AMT , where the NO_OF_ORDERS is the total number of orders by the customer and the AVG_ORDER_AMT is the average order amount for that customer. (3 points)
d. List the orders that were not shipped within 30 days of ordering. (1.5 points)
e. List the OrderNo for orders that were shipped from all warehouses that the company has in ‘Addis Ababa’. ( 3 points)
3.2 What is the difference between logical data independence and physical data independence? ( points)
3.3 How do we transform n-ary relationships between entities in E-R diagram into relations? Give an example. (3 points)
3.4 Is a relation in 3NF also in BCNF? Justify your answer and give a relevant example. (4 points)
4.4 What is the addressing mechanism used in Ethernet LAN? Briefly describe. (2 points)
4.5 Mention and briefly describe at least two major reasons why IPv6 was defined to replace IPv4. ( points)
4.6 In comparing circuit switching and packet switching, write Yes or No in the last two columns. ( points)
Item Circuit Switching Packet Switching Dedicated physical path required Each packet follows the same route Packets arrive in order A switch crash is fatal Potentially wasted bandwidth Store-and-forward transmission
4.7 Mention and briefly describe two attenuation impairments in data transmission. (2 points)