CSS Forums

CSS Forums (http://www.cssforum.com.pk/)
-   Lectureship Past Papers (http://www.cssforum.com.pk/punjab-public-service-commission/ppsc-lecturer-jobs/lectureship-past-papers/)
-   -   LECTURER COMPUTER SCIENCE MCQs (http://www.cssforum.com.pk/punjab-public-service-commission/ppsc-lecturer-jobs/lectureship-past-papers/116194-lecturer-computer-science-mcqs.html)

Amaan Sheikh Friday, July 07, 2017 08:39 PM

LECTURER COMPUTER SCIENCE MCQs
 
[B][U][I][SIZE="4"]Hello firends Here I'm sharing some of the MCQs. If you have any of the past papers or questions please comment below.[/SIZE][/I][/U][/B]
[SIZE="3"][LEFT]1. Which of the following best describes “virtual memory?”
(a) A portion of the hard disk considered as RAM
(b) Extended memory on the secondary storage that is used whenever physical memory is full
(c) The abstraction of separating logical memory--memory as seen by the process--from physical
memory--memory as seen by the processor
(d) It is the page file in Windows folder
(e) None of these

2. The ‘cmp’ instruction modifies the:
(a) Instruction register (b) Flags register (c) Segment register (d) None of these
3. Consider the following page reference string: 1, 2, 3, 4, 2, 1, 5, 6, 2, 1, 2, 3, 7, 6, 3, 2, 1 Assuming there
are 4 page frames available and that all frames are initially empty, what is the total number of page
faults that would occur for the page reference string above if the least-recently-used (LRU) replacement
policy is used?
(a) 6 (b) 9 (c) 10 (d) 11 (e) None of these
4. The Banker’s algorithm is used to ____________.
(a) Rectify deadlock (b) Detect deadlock (c) Prevent deadlock
(d) Avoid deadlock (e) None of these
5. The necessary conditions needed before deadlock can occur are ______.
(a) No Mutual Exclusion, Hold and wait, Preemption, Circular Wait
(b) Mutual Exclusion, No Hold and wait, Preemption, Circular Wait
(c) Mutual Exclusion, Hold and wait, No Preemption, Circular Wait
(d) Mutual Exclusion, Hold and wait, Preemption, No Circular Wait (e) None of these
6. Difference between data link layer and transport layer error detection is that:
(a) Data link detects transmission errors while transport layer detects segmentation faults
(b) Data link detects node‐to‐node errors while transport layer detects end‐to‐end errors
(c) Data link detects end‐to‐end errors while transport layer detects node‐to‐node errors
(d) Data link detects segmentation errors while transport layer detects bit error (e) None of these
7. Phase shift keying (PSK.) method is used to modulate digital signals at 9600 bps using 16 levels. The
line signals speed (i.e. modulation rate) will be:
(a) 1200 bands (b) 2400 bands (c) 4800 bands (d) 9600 bands (e) None of these
8. Exception handling is a powerful technique that separates error-handling code from ______ code.
(a) Buggy (b) Faulty (c) Normal (d) Exceptional (e) None of these
9. When a subroutine is called, the address of the instruction following the CALL instructions stored in/on
the:
(a) Stack pointer (b) Accumulator (c) Program counter (d) Stack (e) None of these
10. Binary tree “preorder” traversal is defined recursively as follows:
(a) Traverse left subtree, visit the root, traverse right subtree
(b) Traverse right subtree, visit the root, traverse left subtree
(c) Visit the root, traverse left subtree, traverse right subtree
(d) Traverse left subtree, traverse right subtree , visit the root (e) None of the
11. What value will return to the operating system upon the successful completion of a program?
(a) -1 (b) 1 (c) 0 (d) None of these
The advantages of creating a prototype are:
(a) It allows developers to experiment with number of different design options
(b) It can serve as means of communication between developers and customers
(c) It is better than water fall model
(d) Both (a) and (b) (e) None of these
14. Choose the correct statement.
(a) Testing can show the presence of bugs but never their absence
(b) Testing can always find all the bugs
(c) Testing can always be exhaustive
(d) If we test enough then we can find all of the bugs (e) None of these
15. Which of the following operations need the participating relations to be union compatible?
(a) UNION (b) INTERSECTION (c) DIFFERENCE (d) All of these (e) None of these
16. The language used in application programs to request data from the DBMS is referred to as the:
(a) DML (b) DDL (c) VDL (d) SDL (e) None of these
17. What is the correct XHTML for a paragraph?
(a) <P></p> (b) <P></P> (c) <p></p> (d) </p><p> (e) None of these
18. Which of the following HTML form method is suitable when you need to send larger form
submissions?
(a) Get (b) Post (c) Both Get and Post (d) Ajax (e) None of these
19. (2,4) is a point on a circle that has center at the origin. Which of the following points are also on circle?
(a) (2,-4) (b) (-2,4) (c) (4,-2) (d) All of above (e) None of these
20. In Bresenham's algorithm, while generating a circle , it is easy to generate?
(a) One octant first and other by successive reflection
(b) One octant first and other by successive rotation
(c) One octant first and other by successive translation
(d) All octants (e) None of these[/LEFT][/SIZE]

Rizvikhan Thursday, July 13, 2017 01:38 PM

Please share Past Paper 2015 of Computer Science

SamZee Thursday, July 20, 2017 10:35 AM

Past Papers 2015
 
Please somebody share 2015 paper of PPSC computer science Lecturer. why there is no computer science past paper 2015 exist? If someone remembers some questions from that paper please share them as well.


07:06 PM (GMT +5)

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