CSS Forums

CSS Forums (http://www.cssforum.com.pk/)
-   CSS 2012 Papers (http://www.cssforum.com.pk/css-past-papers/css-papers-1971-2017/css-2012-papers/)
-   -   Computer Science Past Paper - 2012 (http://www.cssforum.com.pk/css-past-papers/css-papers-1971-2017/css-2012-papers/61245-computer-science-past-paper-2012-a.html)

MisbahMalik Saturday, March 10, 2012 10:12 PM

Computer Science Past Paper - 2012
 
[CENTER][B]Federal Public Service Commission
Competitive Examination for Recruitment to Posts in BS-17
Under the Federal Government, 2012
[U]Computer Science[/U]


TIME ALLOWED: (PART-I) 30 MINUTES, MAXIMUM MARKS: 20
(PART-II) 2 HOURS & 30 MINUTES MAXIMUM MARKS: 80[/B][/CENTER]

[B]Attempt ONLY FOUR questions from PART-II, selecting at least ONE question from EACH section. All questions carry EQUAL marks.[/B]

[CENTER][B]Part – II
SECTION-A[/B][/CENTER]

[B]Q.2. (a)[/B] With the help of a diagram, briefly describe the interfacing and role major programmable ICs that support/help the processor to control functionality of an Intel-based PC system. [B](08)[/B]
[B](b)[/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. [B](06)[/B]
[B](c)[/B] With the help of a state diagram depict the instruction cycle with interrupts. Also, define the term [B]bus arbitration[/B] and its various types. [B](06)[/B]


[B]Q.3. (a)[/B] In case of CSMA, what can station do if there is access conflict (there are many contending nodes). [B](05)[/B]
[B](b)[/B] What is the key difference between Frequency Division Multiplexing and Frequency Hoping Spread Spectrum? [B](05)[/B]
[B](c)[/B] Define Framing. Give reasons for its need. [B](05)[/B]
[B](d)[/B] What is the role of address field in a packet travelling through a virtual circuit network? [B](05)[/B]


[B][CENTER]
SECTION-B[/CENTER][/B]


[B]Q.4. (a)[/B] Differentiate between overloading and overriding giving examples. [B](06)[/B]
[B](b)[/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. [B](14)[/B]

[CENTER]
[IMG]http://misbahmalik.files.wordpress.com/2011/12/2012.jpg[/IMG][/CENTER]



[B]Q.5. (a) [/B]You are given head of single linked list. Write code to count number of nodes in it (any language). [B](08)[/B]
[B](b)[/B] Write formula to access a particular node of two dimensional array in a 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. [B](06)[/B]
[B](c)[/B] Write code to push and to pop elements in a stack. [B](06)[/B]


[B]Q.6. (a)[/B] Give at least five differences between classical waterfall way of software development and evolutionary development. [B](06)[/B]
[B](b)[/B] Explain requirement engineering process with proper model diagram. [B](06)[/B]
[B](c)[/B] Write a use case of your choice in expanded form for the Player Information System of Pakistan Cricket Board (PCB). [B](08)
[/B]


[B][CENTER]SECTION-C[/CENTER][/B]


[B]Q.7. (a)[/B] “We can have a relation that is in 3NF but not in BCNF”, explain this point by giving an example. [B](03)[/B]
[B](b)[/B] Write six basic properties of a database relation. Which one of these properties is different from those of a mathematical relation? [B](03)[/B]
[B](c)[/B] Create an ER diagram for each of the following descriptions associating two or three attributes with each entity type: [B](08)[/B]

[B](i)[/B] Each company may operate up to four departments, and each department must belong to one company.
[B](ii)[/B] Each department in part (i) employs one or more employees, and each employee works for one or more departments.
[B](iii)[/B] Each of the employees in part (ii) may or may not have one or more dependants, and each dependant belongs to one employee.
[B](iv)[/B] Each employee in part (iii) may or may not have an employment history.
[B](v)[/B] Some of the employees are managers for other employees.

[B](d)[/B] Represent all the ER diagrams described above as a single ER diagram. [B](06)[/B]


[B]Q.8.[/B] 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.
[B](a)[/B] Store the favourite foods and the number of votes for each food. [B](08)[/B]
[B](b)[/B] Display all foods and their number of votes for each food. [B](06)[/B]
[B](c)[/B] Display the top three foods. [B](06) [/B]


------------------------------------------------------

badr Sunday, March 11, 2012 02:14 AM

so how was your paper :-)

MisbahMalik Sunday, March 11, 2012 02:52 AM

[QUOTE=badr;412343]so how was your paper :-)[/QUOTE]

This time the paper included practical type questions … discouraging cramming and it’s a good sign.

My paper went fine but not very good as it should be. Section A was bit daunting, I enjoyed making ERDs and implementing class diagram.:vic

Kayani29 Sunday, March 11, 2012 12:40 PM

This paper is super easy. I am thinking again to opt Computer Science. Except from section A, the questions of section B and C are quite easy and are of practical use. One must go for Computer Science. Only 2011 paper was discouraging rest papers of all years are easy.

MisbahMalik Monday, March 12, 2012 02:12 PM

[QUOTE=badr;412574]same here :-)[/QUOTE]

You attempted question number 8? If yes, how?

[QUOTE=Kayani29;412409]This paper is super easy. I am thinking again to opt Computer Science. Except from section A, the questions of section B and C are quite easy and are of practical use. One must go for Computer Science. Only 2011 paper was discouraging rest papers of all years are easy.[/QUOTE]

Yes, CS is a highly scoring subject but only when one covered whole syllabus before hand from minor concepts to practical implementation of analysis and design concepts.

Questions like Q.no.2 can be left on choice but if attempted will give high marks as they show your grip over the subject.

usmanamjad87 Monday, March 12, 2012 02:22 PM

Paper was very easy specially for the people working as software developers or having good knowledge about databases and programming languages. I feel one can score 75+ in this paper easily.

badr Monday, March 12, 2012 05:29 PM

[QUOTE=MisbahMalik;412774]You attempted question number 8? If yes, how?[/QUOTE]
i did not attempt Q no. 8 because it was not clear to me that how to answer the question. So, i preferred solving question no. 7.

Kayani29 Monday, March 12, 2012 09:18 PM

Hi, can you please mention the books from where you guys have prepared for section A. Thanks

[QUOTE=badr;412820]i did not attempt Q no. 8 because it was not clear to me that how to answer the question. So, i preferred solving question no. 7.[/QUOTE]

Badr I believe you have to write SQL queries for these operations since section C is for databases.

MisbahMalik Monday, March 12, 2012 10:35 PM

[QUOTE=badr;412820]i did not attempt Q no. 8 because it was not clear to me that how to answer the question. So, i preferred solving question no. 7.[/QUOTE]

We were supposed to write DB connection statements and queries. Yes, the question seems to be tricky at first.

[QUOTE=Kayani29;412895]Hi, can you please mention the books from where you guys have prepared for section A. Thanks[/QUOTE]

For CA: Computer Organization and Architecture by William Stallings.

For OS: Operating Systems by William Stallings.

For Computer Networks: I followed my bachelors notes of data communications & computer networks.

Kayani29 Monday, March 12, 2012 11:13 PM

[QUOTE=MisbahMalik;412926]We were supposed to write DB connection statements and queries. Yes, the question seems to be tricky at first.



For CA: Computer Organization and Architecture by William Stallings.

For OS: Operating Systems by William Stallings.

For Computer Networks: I followed my bachelors notes of data communications & computer networks.[/QUOTE]

Thanks for mentioning the books, please also mention about Software Engineering portion?


06:39 PM (GMT +5)

vBulletin, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.