Computer Science CSS Paper 2012

Federal Public Service Commission
Competitive Examination for Recruitment to Posts in BS-17
Under the Federal Government, 2012
Computer Science

TIME ALLOWED: (PART-I) 30 MINUTES, MAXIMUM MARKS: 20
(PART-II) 2 HOURS & 30 MINUTES MAXIMUM MARKS: 80

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

Part – II
SECTION-A

Q.2. (a) 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. (08)
(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. (06)
(c) With the help of a state diagram depict the instruction cycle with interrupts. Also, define the term bus arbitration and its various types. (06)

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

SECTION-B

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

Q.5. (a) You are given head of single linked list. Write code to count number of nodes in it (any language). (08)
(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. (06)
(c) Write code to push and to pop elements in a stack. (06)

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

SECTION-C

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

(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. (06)

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. (08)
(b) Display all foods and their number of votes for each food. (06)
(c) Display the top three foods. (06)


1,114 Views

99 thoughts on “Computer Science CSS Paper 2012

  • October 9, 2022 at 3:22 am
    Permalink

    133492 977447Id need to speak to you here. Which is not some thing I do! I quite like reading a post which will make individuals believe. Also, a lot of thanks permitting me to comment! 758096

  • November 6, 2022 at 1:30 am
    Permalink

    614525 900490This is a good blog. Keep up all the work. I too adore to weblog. This really is fantastic everybody sharing opinions 418909

  • October 21, 2023 at 7:54 pm
    Permalink

    Its like you read my mind! You seem to understand so much approximately this, like you wrote the e-book in it or something. I feel that you could do with some % to drive the message house a bit, however other than that, this is fantastic blog. An excellent read. I’ll definitely be back.

  • October 23, 2023 at 2:24 pm
    Permalink

    Ищете надежного подрядчика для устройства стяжки пола в Москве? Обращайтесь к нам на сайт styazhka-pola24.ru! Мы предлагаем услуги по залитию стяжки пола любой сложности и площади, а также гарантируем быстрое и качественное выполнение работ.

  • October 27, 2023 at 6:52 am
    Permalink

    Ищете надежного подрядчика для механизированной штукатурки стен в Москве? Обратитесь к нам на сайт mehanizirovannaya-shtukaturka-moscow.ru! Мы предлагаем услуги по оштукатуриванию стен механизированным способом любой сложности и площади, а также гарантируем высокое качество работ.

  • November 1, 2023 at 11:04 am
    Permalink

    Hey There. I found your blog using msn. This is an extremely well written article. I will be sure to bookmark it and come back to read more of your useful information. Thanks for the post. I will definitely comeback.

  • November 6, 2023 at 5:16 pm
    Permalink

    Сайт mehanizirovannaya-shtukaturka-moscow.ru является надежным партнером для тех, кто ищет качественную машинную штукатурку. Доверьтесь профессиональному мастерству.

  • November 11, 2023 at 6:15 pm
    Permalink

    What’s up, yup this piece of writing is really nice and I have learned lot of things from it concerning blogging. thanks.

  • November 14, 2023 at 7:49 pm
    Permalink

    My coder is trying to persuade me to move to .net from PHP. I have always disliked the idea because of the expenses. But he’s tryiong none the less. I’ve been using Movable-type on several websites for about a year and am nervous about switching to another platform. I have heard very good things about blogengine.net. Is there a way I can transfer all my wordpress content into it? Any kind of help would be really appreciated!

  • November 16, 2023 at 8:01 pm
    Permalink

    Fascinating blog! Is your theme custom made or did you download it from somewhere? A design like yours with a few simple adjustements would really make my blog jump out. Please let me know where you got your design. Kudos

  • November 26, 2023 at 3:16 am
    Permalink

    I must thank you for the efforts you have put in writing this website. I am hoping to see the same high-grade blog posts from you in the future as well. In fact, your creative writing abilities has motivated me to get my own blog now ;)

  • November 27, 2023 at 1:22 pm
    Permalink

    I simply could not leave your web site prior to suggesting that I really enjoyed the standard information a person supply on your visitors? Is going to be back frequently in order to inspect new posts

  • November 27, 2023 at 6:50 pm
    Permalink

    When I originally commented I seem to have clicked the -Notify me when new comments are added- checkbox and now each time a comment is added I get four emails with the same comment. Is there a way you can remove me from that service? Thank you!

  • November 30, 2023 at 9:13 pm
    Permalink

    Hi there great blog! Does running a blog similar to this take a lot of work? I have no knowledge of computer programming but I was hoping to start my own blog soon. Anyway, if you have any suggestions or tips for new blog owners please share. I know this is off topic nevertheless I just had to ask. Cheers!

  • December 3, 2023 at 9:36 pm
    Permalink

    Pretty part of content. I simply stumbled upon your website and in accession capital to claim that I acquire in fact enjoyed account your blog posts. Any way I’ll be subscribing on your augment or even I fulfillment you get right of entry to persistently fast.

  • December 7, 2023 at 11:39 am
    Permalink

    hi!,I really like your writing so much! percentage we keep in touch more approximately your post on AOL? I need an expert in this area to unravel my problem. May be that is you! Looking forward to peer you.

  • December 16, 2023 at 10:37 am
    Permalink

    Yesterday, while I was at work, my sister stole my iPad and tested to see if it can survive a forty foot drop, just so she can be a youtube sensation. My iPad is now broken and she has 83 views. I know this is completely off topic but I had to share it with someone!

  • January 8, 2024 at 8:24 am
    Permalink

    Встречайте Lucky Jet – ваш новый способ достичь успеха! Регистрируйтесь через luckyjet 1 win для доступа к этому увлекательному приключению.

  • January 11, 2024 at 12:35 pm
    Permalink

    With havin so much content and articles do you ever run into any problems of plagorism or copyright violation? My website has a lot of completely unique content I’ve either created myself or outsourced but it looks like a lot of it is popping it up all over the web without my authorization. Do you know any methods to help reduce content from being ripped off? I’d certainly appreciate it.

  • January 13, 2024 at 1:10 am
    Permalink

    I must thank you for the efforts you have put in writing this website. I am hoping to see the same high-grade blog posts from you in the future as well. In fact, your creative writing abilities has motivated me to get my very own website now ;)

  • January 14, 2024 at 5:54 am
    Permalink

    Howdy, i read your blog occasionally and i own a similar one and i was just wondering if you get a lot of spam comments? If so how do you reduce it, any plugin or anything you can suggest? I get so much lately it’s driving me mad so any assistance is very much appreciated.

  • January 23, 2024 at 5:19 pm
    Permalink

    Article writing is also a fun, if you be acquainted with then you can write or else it is difficult to write.

  • January 26, 2024 at 1:00 am
    Permalink

    Hi there to all, it’s really a good for me to visit this website, it contains helpful Information.

  • February 19, 2024 at 9:56 am
    Permalink

    Nice post. I was checking continuously this blog and I am impressed! Very useful information particularly the last part :) I care for such info a lot. I was seeking this particular info for a long time. Thank you and good luck.

  • February 26, 2024 at 8:21 am
    Permalink

    I think this is one of the most significant information for me. And i’m glad reading your article. But wanna remark on few general things, The site style is perfect, the articles is really nice : D. Good job, cheers

  • March 3, 2024 at 8:17 am
    Permalink

    First off I want to say terrific blog! I had a quick question in which I’d like to ask if you don’t mind. I was curious to know how you center yourself and clear your thoughts before writing. I have had trouble clearing my mind in getting my thoughts out. I do enjoy writing but it just seems like the first 10 to 15 minutes are wasted just trying to figure out how to begin. Any ideas or tips? Kudos!

  • March 3, 2024 at 8:28 am
    Permalink

    Good day! This is kind of off topic but I need some advice from an established blog. Is it hard to set up your own blog? I’m not very techincal but I can figure things out pretty fast. I’m thinking about creating my own but I’m not sure where to start. Do you have any tips or suggestions? Appreciate it

  • March 16, 2024 at 11:52 am
    Permalink

    Thanks for ones marvelous posting! I actually enjoyed reading it, you could be a great author. I will ensure that I bookmark your blog and definitely will come back from now on. I want to encourage you to definitely continue your great job, have a nice afternoon!

  • March 16, 2024 at 12:47 pm
    Permalink

    After looking over a number of the blog articles on your web site, I really like your way of blogging. I bookmarked it to my bookmark site list and will be checking back soon. Please check out my web site as well and let me know what you think.

  • March 16, 2024 at 1:13 pm
    Permalink

    This is the right site for anyone who wishes to find out about this topic. You realize so much its almost hard to argue with you (not that I personally would want toHaHa). You definitely put a new spin on a topic that has been written about for years. Great stuff, just excellent!

  • March 16, 2024 at 1:26 pm
    Permalink

    Pretty section of content. I just stumbled upon your weblog and in accession capital to assert that I acquire in fact enjoyed account your blog posts. Any way I’ll be subscribing to your augment and even I achievement you access consistently rapidly.

  • March 16, 2024 at 1:40 pm
    Permalink

    Hello there, just became aware of your blog through Google, and found that it is really informative. I’m gonna watch out for brussels. I will appreciate if you continue this in future. Lots of people will be benefited from your writing. Cheers!

  • March 16, 2024 at 3:10 pm
    Permalink

    Hello there! Do you use Twitter? I’d like to follow you if that would be ok. I’m undoubtedly enjoying your blog and look forward to new updates.

  • March 16, 2024 at 4:08 pm
    Permalink

    Your style is very unique compared to other people I have read stuff from. Thank you for posting when you have the opportunity, Guess I will just bookmark this web site.

  • March 16, 2024 at 4:22 pm
    Permalink

    I think what you postedwrotebelieve what you postedtypedthink what you postedwrotethink what you postedtypedWhat you postedwrotesaid was very logicala lot of sense. But, what about this?think about this, what if you were to write a killer headlinetitle?content?wrote a catchier title? I ain’t saying your content isn’t good.ain’t saying your content isn’t gooddon’t want to tell you how to run your blog, but what if you added a titleheadlinetitle that grabbed people’s attention?maybe get a person’s attention?want more? I mean %BLOG_TITLE% is a little plain. You could peek at Yahoo’s home page and see how they createwrite post headlines to get viewers to click. You might add a video or a related pic or two to get readers interested about what you’ve written. Just my opinion, it might bring your postsblog a little livelier.

  • March 16, 2024 at 4:52 pm
    Permalink

    Good day! I know this is kinda off topic but I was wondering if you knew where I could find a captcha plugin for my comment form? I’m using the same blog platform as yours and I’m having difficulty finding one? Thanks a lot!

  • March 16, 2024 at 5:20 pm
    Permalink

    Howdy! I could have sworn I’ve been to this web site before but after going through a few of the posts I realized it’s new to me. Anyhow, I’m definitely happy I discovered it and I’ll be bookmarking it and checking back frequently!

  • March 16, 2024 at 5:34 pm
    Permalink

    I know this site offers quality based posts and other data, is there any other site which offers these stuff in quality?

  • March 16, 2024 at 5:48 pm
    Permalink

    I’ve been exploring for a little bit for any high-quality articles or blog posts in this kind of area . Exploring in Yahoo I finally stumbled upon this site. Reading this info So i’m glad to exhibit that I have a very good uncanny feeling I came upon exactly what I needed. I so much no doubt will make certain to don?t forget this site and give it a look on a continuing basis.

  • March 16, 2024 at 6:44 pm
    Permalink

    My programmer is trying to persuade me to move to .net from PHP. I have always disliked the idea because of the expenses. But he’s tryiong none the less. I’ve been using Movable-type on numerous websites for about a year and am anxious about switching to another platform. I have heard great things about blogengine.net. Is there a way I can transfer all my wordpress content into it? Any kind of help would be really appreciated!

  • March 16, 2024 at 7:42 pm
    Permalink

    You should take part in a contest for one of the highest quality blogs on the net. I most certainly will recommend this site!

  • March 16, 2024 at 8:12 pm
    Permalink

    I do believe all the concepts you have introduced in your post. They are very convincing and will definitely work. Still, the posts are too quick for newbies. May just you please extend them a bit from next time? Thank you for the post.

  • March 16, 2024 at 8:26 pm
    Permalink

    I like the valuable information you supply for your articles. I will bookmark your weblog and check again here frequently. I am moderately certain I will be informed plenty of new stuff right here! Good luck for the following!

  • March 16, 2024 at 8:41 pm
    Permalink

    Thanks for your marvelous posting! I truly enjoyed reading it, you will be a great author. I will ensure that I bookmark your blog and will come back from now on. I want to encourage you to continue your great job, have a nice weekend!

  • March 16, 2024 at 8:56 pm
    Permalink

    Heya! I know this is kind of off-topic but I had to ask. Does building a well-established blog like yours take a lot of work? I’m completely new to blogging but I do write in my diary everyday. I’d like to start a blog so I can share my own experience and views online. Please let me know if you have any ideas or tips for new aspiring bloggers. Appreciate it!

  • March 16, 2024 at 9:53 pm
    Permalink

    Hi to every body, it’s my first visit of this website; this website consists of awesome and really good data designed for readers.

  • March 16, 2024 at 10:22 pm
    Permalink

    Hi there! This is kind of off topic but I need some help from an established blog. Is it very hard to set up your own blog? I’m not very techincal but I can figure things out pretty fast. I’m thinking about setting up my own but I’m not sure where to start. Do you have any tips or suggestions? Thank you

  • March 16, 2024 at 11:06 pm
    Permalink

    Great goods from you, man. I’ve be mindful your stuff prior to and you’re simply too wonderful. I really like what you’ve acquired here, really like what you’re stating and the best way by which you assert it. You make it entertaining and you still take care of to stay it sensible. I can not wait to read far more from you. This is actually a great website.

  • March 16, 2024 at 11:21 pm
    Permalink

    you are in point of fact a good webmaster. The site loading velocity is incredible. It kind of feels that you are doing any unique trick. Moreover, The contents are masterpiece. you have performed a fantastic activity in this topic!

  • April 10, 2024 at 7:45 am
    Permalink

    I’m now not positive where you are getting your info, however good topic. I needs to spend a while studying more or understanding more. Thank you for magnificent information I used to be in search of this information for my mission.

  • April 10, 2024 at 9:03 pm
    Permalink

    I like the valuable information you supply for your articles. I will bookmark your weblog and check again here frequently. I am quite certain I will be informed lots of new stuff right here! Good luck for the following!

Leave a Reply

Your email address will not be published. Required fields are marked *