<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									CSS Computer Science Paper 2012 - Computer Science				            </title>
            <link>https://cssforum.net/group-i-papers-computer-science/css-computer-science-paper-2012/</link>
            <description>CSS Forum Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Sat, 15 Aug 2026 10:20:24 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>CSS Computer Science Paper 2012</title>
                        <link>https://cssforum.net/group-i-papers-computer-science/css-computer-science-paper-2012/#post-81326</link>
                        <pubDate>Sat, 15 Aug 2026 08:32:43 +0000</pubDate>
                        <description><![CDATA[FEDERAL PUBLIC SERVICE COMMISSIONCOMPETITIVE EXAMINATION FOR RECRUITMENT TO POSTSIN BPS-17 UNDER THE FEDERAL GOVERNMENT, 2012
COMPUTER SCIENCE
 

COMPUTER SCIENCE
TIME ALLOWED: THREE HO...]]></description>
                        <content:encoded><![CDATA[<div style="text-align: center"><span style="font-size: 14pt"><strong>FEDERAL PUBLIC SERVICE COMMISSION</strong></span><br /><span style="font-size: 14pt"><strong>COMPETITIVE EXAMINATION FOR RECRUITMENT TO POSTS</strong></span><br /><span style="font-size: 14pt"><strong>IN BPS-17 UNDER THE FEDERAL GOVERNMENT, 2012</strong></span></div>
<div style="text-align: center"><span style="font-size: 14pt"><strong>COMPUTER SCIENCE</strong></span></div>
<div> </div>
<div>
<h1 class="PDq2pG_selectionAnchorContainer" style="text-align: center" data-section-id="1g2inqt" data-start="134" data-end="152"><span style="font-size: 14pt">COMPUTER SCIENCE</span><span class="PDq2pG_selectionAnchor" aria-hidden="true"></span></h1>
<p data-start="154" data-end="183"><strong data-start="154" data-end="183">TIME ALLOWED: THREE HOURS</strong></p>
<p data-start="185" data-end="234"><strong data-start="185" data-end="234">PART-I (MCQs): 30 MINUTES — MAXIMUM MARKS: 20</strong></p>
<p data-start="236" data-end="289"><strong data-start="236" data-end="289">PART-II: 2 HOURS &amp; 30 MINUTES — MAXIMUM MARKS: 80</strong></p>
<h3 data-section-id="6z7jxo" data-start="291" data-end="300">NOTE:</h3>
<p data-start="302" data-end="401">(i) Candidate must write Q. No. in the Answer Book in accordance with Q. No. in the Question Paper.</p>
<p data-start="403" data-end="545">(ii) Attempt <strong data-start="416" data-end="439">ONLY FOUR questions</strong> from PART-II, selecting at least <strong data-start="473" data-end="507">ONE question from EACH section</strong>. All questions carry <strong data-start="529" data-end="544">EQUAL marks</strong>.</p>
<p data-start="547" data-end="644">(iii) Extra attempt of any question or any part of the attempted question will not be considered.</p>
<h1 style="text-align: center" data-section-id="1yvqorg" data-start="651" data-end="660">PART-II</h1>
<h1 style="text-align: center" data-section-id="1ap2z37" data-start="662" data-end="673">SECTION-A</h1>
<h2 data-section-id="1xwc5eu" data-start="675" data-end="682">Q.2.</h2>
<p data-start="684" data-end="882"><strong data-start="684" data-end="691">(a)</strong> 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 Intel-based PC system. <strong data-start="874" data-end="882">(08)</strong></p>
<p data-start="884" data-end="1124"><strong data-start="884" data-end="891">(b)</strong> 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. <strong data-start="1116" data-end="1124">(06)</strong></p>
<p data-start="1126" data-end="1282"><strong data-start="1126" data-end="1133">(c)</strong> With the help of a state diagram depict the instruction cycle with Interrupts. Also, define the term bus arbitration and its various types. <strong data-start="1274" data-end="1282">(06)</strong></p>
<h2 data-section-id="1xwc5dz" data-start="1289" data-end="1296">Q.3.</h2>
<p data-start="1298" data-end="1414"><strong data-start="1298" data-end="1305">(a)</strong> In case of CSMA, what can station do if there is access conflict (there are many contending nodes)? <strong data-start="1406" data-end="1414">(05)</strong></p>
<p data-start="1416" data-end="1534"><strong data-start="1416" data-end="1423">(b)</strong> What is key difference between Frequency Division Multiplexing and Frequency Hopping Spread Spectrum? <strong data-start="1526" data-end="1534">(05)</strong></p>
<p data-start="1536" data-end="1595"><strong data-start="1536" data-end="1543">(c)</strong> Define Framing. Give reasons for its need. <strong data-start="1587" data-end="1595">(05)</strong></p>
<p data-start="1597" data-end="1705"><strong data-start="1597" data-end="1604">(d)</strong> What is the role of address field in a packet travelling through a virtual circuit network? <strong data-start="1697" data-end="1705">(05)</strong></p>
<h1 style="text-align: center" data-section-id="1ap2z34" data-start="1712" data-end="1723">SECTION-B</h1>
<h2 data-section-id="1xwc5k0" data-start="1725" data-end="1732">Q.4.</h2>
<p data-start="1734" data-end="1817"><strong data-start="1734" data-end="1741">(a)</strong> Differentiate between overloading and overriding, giving examples. <strong data-start="1809" data-end="1817">(06)</strong></p>
<p data-start="1819" data-end="2128"><strong data-start="1819" data-end="1826">(b)</strong> Define the classes and their relationships as given in the 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. <strong data-start="2120" data-end="2128">(14)</strong></p>
<p data-start="2130" data-end="2148"><strong data-start="2130" data-end="2148">Class Diagram:</strong></p>
<ul data-start="2150" data-end="2290">
<li data-section-id="puda5c" data-start="2150" data-end="2215"><strong data-start="2152" data-end="2162">Person</strong>
<ul data-start="2165" data-end="2215">
<li data-section-id="1j27s70" data-start="2165" data-end="2203">Employee
<ul data-start="2180" data-end="2203">
<li data-section-id="x15qhn" data-start="2180" data-end="2189">Manager</li>
<li data-section-id="x8aeq5" data-start="2194" data-end="2203">Laborer</li>
</ul>
</li>
<li data-section-id="1ppcbkx" data-start="2206" data-end="2215">Student</li>
</ul>
</li>
<li data-section-id="1qbq6et" data-start="2216" data-end="2228"><strong data-start="2218" data-end="2228">Course</strong></li>
<li data-section-id="au4cny" data-start="2229" data-end="2260"><strong data-start="2231" data-end="2260">Student enrolls in Course</strong></li>
<li data-section-id="11u2zmt" data-start="2261" data-end="2290"><strong data-start="2263" data-end="2290">Student has Roll Number</strong></li>
</ul>
<h2 data-section-id="1xwc5j5" data-start="2297" data-end="2304">Q.5.</h2>
<p data-start="2306" data-end="2432"><strong data-start="2306" data-end="2313">(a)</strong> You are given the head of a single linked list. Write code to count the number of nodes in it (any language). <strong data-start="2424" data-end="2432">(08)</strong></p>
<p data-start="2434" data-end="2530"><strong data-start="2434" data-end="2441">(b)</strong> Write formula to access a particular node of a two-dimensional array in row-major order.</p>
<p data-start="2532" data-end="2727">Consider the start address of a two-dimensional array <strong data-start="2586" data-end="2599">A</strong> to be <strong data-start="2606" data-end="2613">200</strong>, then compute the address of <strong data-start="2643" data-end="2654">A</strong> using your formula, considering each element takes <strong data-start="2706" data-end="2717">4 bytes</strong>. <strong data-start="2719" data-end="2727">(06)</strong></p>
<p data-start="2729" data-end="2796"><strong data-start="2729" data-end="2736">(c)</strong> Write code to push and to pop elements in a stack. <strong data-start="2788" data-end="2796">(06)</strong></p>
<h2 data-section-id="1xwc5ia" data-start="2803" data-end="2810">Q.6.</h2>
<p data-start="2812" data-end="2945"><strong data-start="2812" data-end="2819">(a)</strong> Give at least five differences between classical waterfall way of software development and evolutionary development. <strong data-start="2937" data-end="2945">(06)</strong></p>
<p data-start="2947" data-end="3030"><strong data-start="2947" data-end="2954">(b)</strong> Explain requirement engineering process with proper model diagram. <strong data-start="3022" data-end="3030">(06)</strong></p>
<p data-start="3032" data-end="3164"><strong data-start="3032" data-end="3039">(c)</strong> Write a use case of your choice in expanded form for the Player Information System of Pakistan Cricket Board (PCB). <strong data-start="3156" data-end="3164">(08)</strong></p>
<h1 style="text-align: center" data-section-id="1ap2z35" data-start="3171" data-end="3182">SECTION-C</h1>
<h2 data-section-id="1xwc5hf" data-start="3184" data-end="3191">Q.7.</h2>
<p data-start="3193" data-end="3307"><strong data-start="3193" data-end="3200">(a)</strong> “We can have a relation that is in 3NF but not in BCNF.” Explain this point by giving an example. <strong data-start="3299" data-end="3307">(03)</strong></p>
<p data-start="3309" data-end="3458"><strong data-start="3309" data-end="3316">(b)</strong> Write six basic properties of a database relation. Which one of these properties is different from those of a mathematical relation? <strong data-start="3450" data-end="3458">(03)</strong></p>
<p data-start="3460" data-end="3587"><strong data-start="3460" data-end="3467">(c)</strong> Create an ER diagram for each of the following descriptions, associating two or three attributes with each entity type:</p>
<p data-start="3589" data-end="3693"><strong data-start="3589" data-end="3596">(i)</strong> Each company may operate up to four departments, and each department must belong to one company.</p>
<p data-start="3695" data-end="3815"><strong data-start="3695" data-end="3703">(ii)</strong> Each department in part (i) employs one or more employees, and each employee works for one or more departments.</p>
<p data-start="3817" data-end="3949"><strong data-start="3817" data-end="3826">(iii)</strong> Each of the employees in part (ii) may or may not have one or more dependants, and each dependant belongs to one employee.</p>
<p data-start="3951" data-end="4030"><strong data-start="3951" data-end="3959">(iv)</strong> Each employee in part (iii) may or may not have an employment history.</p>
<p data-start="4032" data-end="4104"><strong data-start="4032" data-end="4039">(v)</strong> Some of the employees are managers for other employees. <strong data-start="4096" data-end="4104">(08)</strong></p>
<p data-start="4106" data-end="4192"><strong data-start="4106" data-end="4113">(d)</strong> Represent all the ER diagrams described above as a single ER diagram. <strong data-start="4184" data-end="4192">(06)</strong></p>
<h2 data-section-id="1xwc59o" data-start="4199" data-end="4206">Q.8.</h2>
<p data-start="4208" data-end="4472">Suppose a user votes for his favourite food from a dynamic combo box populated from a database and the user must be able to make multiple food selections per request. You can use a database of your choice. You are required to implement the following functionality:</p>
<p data-start="4474" data-end="4555"><strong data-start="4474" data-end="4481">(a)</strong> Store the favourite foods and the number of votes for each food. <strong data-start="4547" data-end="4555">(08)</strong></p>
<p data-start="4557" data-end="4657"><strong data-start="4557" data-end="4564">(b)</strong> Display all foods and their number of votes in alphabetical order back to the user. <strong data-start="4649" data-end="4657">(06)</strong></p>
<p data-start="4659" data-end="4704"><strong data-start="4659" data-end="4666">(c)</strong> Display the top three foods. <strong data-start="4696" data-end="4704">(06)</strong></p>
<hr />
<p data-start="4659" data-end="4704"><strong><span style="font-size: 14pt"><a href="https://hostnezt.com/cssfiles/csspastpapers/computer/Computer%20Science%202012.pdf" target="_blank" rel="noopener">DOWNLOAD NOW </a></span></strong></p>
</div>]]></content:encoded>
						                            <category domain="https://cssforum.net/group-i-papers-computer-science/">Computer Science</category>                        <dc:creator>zarnishayat</dc:creator>
                        <guid isPermaLink="true">https://cssforum.net/group-i-papers-computer-science/css-computer-science-paper-2012/#post-81326</guid>
                    </item>
							        </channel>
        </rss>
		