Sunday, August 26, 2012


Q.2. (a) With the help of a diagram, briefly describe the interfacing and role of major
programmable ICs that support/help the processor to control functionality of an Intelbased
PC system.
(b) Completely describe the sequence of steps that would be followed in order to print the
contents of a file stored on the hard disk. For each step, explicitly tell which component
performs the step and which wire it controls.
(c) With the help of a state diagram depict the instruction cycle with Interrupts. Also, define
the term bus arbitration and its various types.(08)(06)(06)
Q.3. (a) In case of CSMA, what can station do if there is access conflict (there are many
contending nodes)
(b) What is key difference between Frequency Division Multiplexing and Frequency Hoping
Spread Spectrum?
(c) Define Framing. Give reasons for its need.
(d) What is the role of address field in a packet travelling through a virtual circuit network?
Q.4. (a) Differentiate between overloading and overriding giving examples.
(b) Define the classes and their relationships as given in following class diagram. Associate
at least three appropriate attributes and two methods with each class. You can use any
programming language and you do not need to write the code for the methods, only give
the class specifications.
Q.5. (a) You are given head of single linked list. Write code to count number of nodes in it
(any language).
(b) Write formula to access a particular node of two dimensional array in row-major order.
Consider the start address of a two dimensional array A[10] [10] to be 200, then compute
the address of A [3] [5] using your formula, considering each element takes 4 bytes.
(c) Write code to push and to pop elements in a stack.(08)(06)(06)
Q.6. (a) Give at least five differences between classical waterfall way of software development
and evolutionary development.
(b) Explain requirement engineering process with proper model diagram.
(c) Write a use case of your choice in expanded form for the Player Information System of
Pakistan Cricket Board (PCB)
Q.7. (a) “We can have a relation that is in 3NF but not in BCNF”, explain this point by giving an
(b) Write six basic properties of a database relation. Which one of these properties is
different from those of a mathematical relation?
(c) Create an ER diagram for each of the following descriptions associating two or three
attributes with each entity type:
(i). Each company may operate up to four departments, and each department must
belong to one company.
(ii). Each department in part (i) employs one or more employees, and each employee
works for one or more departments.
(iii). Each of the employees in part (ii) may or may not have one or more dependants,
and each dependant belongs to one employee.
(iv). Each employee in part (iii) may or may not have an employment history.
(v). Some of the employees are managers for other employees.
(d) Represent all the ER diagrams described above as a single ER diagram.
Q.8. Suppose a user vote for his favourite food from a dynamic combo box populated from database
and the user must be able to make multiple food selections per request. You can use database of
your choice. You are required to implement the following functionality.
(a) Store the favourite foods and the number of votes for each food.
(b) Display all foods and their number of votes in alphabetical order back to the user.
(c) Display the top three foods.


Post a Comment