PPSC Computer Sci Lecturer Past Paper
PPSC Computer Sci Lecturer Past Paper
(a) Accumulator
(b) Collector
(c) Distributor
(d) Counter
(2) In the Base + Offset addressing, Offset address is also known as:
(3) The technique for allowing a unit to check the status of another independently function unit is known as?
(a) Interrupt
(c) Polling
(d) Trape
(4) The method for storing data temporarily such that the input-output of the same job is overlapped with its own
(a) Spooling
(b) Contention
(d) Buffering
(5) The DMA that uses Busses when CPU is not using them is termed as:
(c) Channel
(6) _________ Scheduler deals with the decision as to whether to admit another new job to the system.
7) When the process is in the states of Blocked Suspended or Ready Suspended, its relevant data is
stored in:
(d) Buffer
(8) Priority, P = (Time Waiting + Run Time) / Run Time is used to calculate priority in __________ scheduling algorithm:
(10) _________ is the generic name for a set of standards issued by the International CommunicationsStandards Body CCITT,
(a) TCP/IP
(b) ISDN
(c) X.400
(d) X.25
(11) ________ layer is responsible for the transfer of a packet of data along one link in the network. It organizes data
(12) Encryption is the conversion of data in some intelligible format into an unintelligible format called _________ to
(13) Binary search requires about ______ comparisons with an initial list of 1,000,000 elements.
(a) 10
(b) 20
(c) 35
(d) 100
(14) A _________ header list is a header list where the last node contains the null pointer.
(a) Grounded
(b) Circular
(d) Rooted
(15) ________ are small applications that are accessed on an internet server, transported over the internet, automatically
(a) Applets
(c) Sockets
(a) 128
(b) 256
(c) 512
(d) 1024
(18) ________ is stored on a client and contains state information of the website visited.
(a) Cookies
(b) Servelet
(c) History
(d) Resident Page
(20) The ________ Process Model defines a series of events that will trigger transitions from state to state for each of
(a) Spiral
(b) Operational
(c) RAD
(b)Extended memory on the secondary storage thatis used whenever physical memory is full
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?
25. The necessary conditions needed before deadlock can occur are ______.
(d) Mutual Exclusion, Hold and wait, Preemption, No Circular Wait (e)None of these
26. 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 nodetonode errors while transport layer detects endtoend errors
(c)Data link detects endtoend errors while transport layer detects nodetonode errors
(d)Data link detects segmentation errors while transport layer detects bit error (e)None of these
27. Phase shift keying (PSK.) method is used to modulate digital signals at 9600 bps using 16 levels. The
(a) 1200 bands (b) 2400 bands (c) 4800 bands (d) 9600 bands (e)None of these
28. Exception handling is a powerful technique that separates error-handling code from ______ code.
29. When a subroutine is called, the address of the instruction following the CALL instructions stored in/on
the:
(d)Traverse left subtree, traverse right subtree , visit the root (e)None of these
31. The advantages of creating a prototype are:
(c) It is better than water fall model (d) Both (a) and (b) (e)None of these
(a) Testing can show the presence of bugs but never their absence
(d) If we test enough then we can find all of the bugs (e)None of these
33. Which of the following operations need the participating relations to be union compatible?
34. The language used in application programs to requestdata from the DBMS isreferred to as the:
(a)
(b)
(c) (d)
(e)None of these
36. 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
37. (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
(a) Number (b) BLOB (c) Integer (d) Binary (e) None of these
(a) Table (b) Key (c) Record (d) Primary Field (e) None of these
(41) In a database, a(n) ____ field is a field that uniquely identifies each record in a file.
(a) Main (b) Identifying (c) Master (d) Key (e) None of these
(42) If the lowest annual fee at a discount warehouse is Rs.2025 and the highest is Rs. 5550, a(n) ____
on the Annual Fee field ensures it is a value between Rs. 2025 and Rs. 5550.
(a) Data Server (b) data mart (c) data warehouse (d) data dictionary
(44) _______ is a network technology that defines how messages are routed from one end of a
network to the other, ensuring the data arrives correctly by dividing it into packets.
(a) HTML (b) XML (c) HTTP (d) TCP/IP (e) None of these
(45) When a computer sends data over the Internet, the data is divided into small pieces, or ____.
(a) Bundles (b) Packets (c) Slices (d) Baskets (e) None of these
47) The amount of data, instructions, and information that can travel over a communications channel
(a) Broadband (b) Baseband (c) Latency (d) Bandwidth (e) None of these
(48) Fiber-optic cables have all of the following advantages over cables that use wire except____.
(49) A _________ is a network that connects computers and devices in a limited geographical area,
(a) local area network (LAN) (b) metropolitan area network (MAN)
(c) wide area network (WAN) (d) variable area network (VAN) (e) None of these
(50) With ____ memory, the operating system allocates a portion of a storage medium, usually the
(a) Virtual (b) Performance (c) Device (d) Managed (e) None of these
Computer Science Mcqs for Lecturer and Subject Specialist PSC Exam
1 byte = 8 bits
Power of a super computer is measured in FLOPS (Floating Point Operations per Second)
WWW/http: (hypertext transfer protocol) was created by Tim Burner Lee in 1992
DVDs hold more information than CDs. They use smaller bumps and have two reflective layers
Recordable CDs do not have bumps. There are patches of color on disk to change the reflected laser light
In 1951 Univac – 1, the world’s first commercial computer was designed by John Mauchly and J. Presper Eckert. They built
What was the world’s first high level programming language 1957: IBM FORTRAN
A JPEG is a picture file format – what does JPEG stand for: Joint Photographic Experts Group
During World War II, IBM built the computers the Nazis used to manage their death/concentration camps
What does the sun in SUN Microsystems stand for Stanford University Network
All PCs have a BIOS what does bios stand for-Basic Input Output System
The 1st commercially produced and sold computer (1951) was UNIVAC.
The transformation from heavy computers to PCs was made possible using microprocessors.
The first home computer (1977), which was sold in millions of units was Apple II.
‘PARAM’ is a supercomputer.
What does CMOS stand for in a computer- Complementary metal Oxide semi-conductor
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 ny
the processor.
e. None of these.
a. Instruction register.
b. Flags register.
c. Segment register.
d. None of these.
1,2,3,4,2,1,5,6,2,1,2,3,7,6,3,2,1,. Assuming there are 4 page framess 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
a. 6
b. 9
c. 10
d. 11
e. None of these
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 ________.
6. Differences between data lick 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 theses
7. Phase Shift Keying (PSK) method is used to modulate digital signals at 9600bps using 16 levels. The line signals speed
a. 1200 bands
b. 2400 bands
c. 4800 bands
d. 9600 bands
e. None of these
8. Exception handling is a powerful tenchnique 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. Programs counter
d. Stack
e. None of these
e. None of these
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
e. None of theses
d. Both a and b
e. None of these
a. Testing can show the presence of bugs but never their absence
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 DBMA is reffered to as the:
a. DML
b. DDL
c. VDL
d. SDL
e. None of these
a. <P></p>
b. <P></P>
c. <p></p>
d. </p><p>
e. None of these
18. Which of the follwoing HTML form method is suitable when you need to send larger form submission?
a. Get
b. Post
d. Ajax
e. None of these
19. (2,4) is a point on a circle that has senter at the origion. Which of the follwoing points are also on circle?
a. (2,-4)
b. (-2,4)
c. (4,-2)
e. None of these
d. All octants
e. None of these.
MOUNTAINS
OCEANS
FAMOUS STRAITS
WORLD RIVERS
FAMOUS ISLANDS
FAMOUS DESERTS
GEOGRAPHICAL DISCOVERIES
WORLD COUNTRIES
IMPORTANT ABBREVIATIONS
IMPORTANT UNITS OF MEASUREMENT
NOBLE PRIZE
NATIONAL EMBLEM
FAMOUS EPITHETS
About Islam
Al-Quran MCQs
Namaz
Zakat
Fasting (Roza)
Important Angles
Ashra-e-Mubrashra
About World
World Records
About UNO
Organs of UNO
About Pakistan
Districts of Pakistan
RIVERS OF PAKISTAN
Pakistan Affairs
PAKISTAN Presidents
About Science