PPSC Lecturer Computer Science | BS-17 — GUESS PAPER 2026 (Set 1 of 2) · Predicted Questions
Question 1 Computer Science
Once the short-term scheduler has picked a process, which operating-system module actually hands the CPU over to it?
- A. Scheduler
- B. Dispatcher ✓ Predicted answer
- C. Interrupt
- D. None of these
Why this answer?
The dispatcher gives the CPU to the process chosen by the short-term scheduler.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q1 — verified answer: Dispatcher.
Question 2 Computer Science
Processes sitting in main memory, waiting for their turn on the CPU, are held on which list?
- A. Ready queue ✓ Predicted answer
- B. Execution queue
- C. Process queue
- D. Job queue
Why this answer?
Processes in main memory ready to run wait on the ready queue.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q2 — verified answer: Ready queue.
Question 3 Computer Science
What name is given to the whole span from a process being submitted until it finishes?
- A. Waiting time
- B. Turnaround time ✓ Predicted answer
- C. Response time
- D. Throughput
Why this answer?
Turnaround time runs from submission to completion.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q3 — verified answer: Turnaround time.
Question 4 Computer Science
Under which scheduling method does the process that asked for the CPU earliest get it first?
- A. Shortest job scheduling
- B. Priority scheduling
- C. First-come first-served scheduling ✓ Predicted answer
- D. None of these
Why this answer?
FCFS gives the CPU to the earliest requester.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q4 — verified answer: First-come first-served scheduling.
Question 5 Computer Science
In priority scheduling, which process is given the CPU?
- A. CPU is allocated to the process with highest priority ✓ Predicted answer
- B. CPU is allocated to the process with lowest priority
- C. Equal priority processes cannot be scheduled
- D. None of these
Why this answer?
Priority scheduling gives the CPU to the highest-priority process.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q5 — verified answer: CPU is allocated to the process with highest priority.
Question 6 Computer Science
When a new process joins the ready queue under priority scheduling, its priority is weighed against the priority of which process?
- A. Parent process
- B. Init process
- C. All processes
- D. Currently running process ✓ Predicted answer
Why this answer?
A new arrival is compared with the currently running process for preemption.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q6 — verified answer: Currently running process.
Question 7 Computer Science
The idea of a fixed time quantum belongs to which scheduling algorithm?
- A. Shortest job scheduling algorithm
- B. Round robin scheduling algorithm ✓ Predicted answer
- C. Priority scheduling algorithm
- D. Multilevel queue scheduling algorithm
Why this answer?
Round robin gives each process a fixed time quantum.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q7 — verified answer: Round robin scheduling algorithm.
Question 8 Computer Science
Which of these is true of a process in a multilevel feedback scheduling system?
- A. Processes are not classified into groups
- B. None of the mentioned
- C. A process can move to a different classified ready queue ✓ Predicted answer
- D. Classification of ready queue is permanent
Why this answer?
In multilevel feedback scheduling a process can move between queues.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q8 — verified answer: A process can move to a different classified ready queue.
Question 9 Computer Science
Which of these is NOT scheduled by the kernel?
- A. User level thread ✓ Predicted answer
- B. Process
- C. Kernel level thread
- D. None of these
Why this answer?
User-level threads are scheduled by the thread library, not the kernel.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q9 — verified answer: User level thread.
Question 10 Computer Science
A process refers to pages A, B, C, D, E in the order A, B, C, D, A, B, E, A, B, C, D, E. With three empty frames and FIFO replacement, how many page transfers (page faults) occur?
- A. 7
- B. 8
- C. 10
- D. 9 ✓ Predicted answer
Why this answer?
FIFO with 3 frames faults on A, B, C, D, A, B, E, C, D, nine faults in all.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q10 — verified answer: 9.
Question 11 Computer Science
A page holding a heavily used variable, initialised very early and used constantly, is removed anyway. Which replacement policy does that describe?
- A. LFU
- B. FIFO ✓ Predicted answer
- C. LRU
- D. None of these
Why this answer?
FIFO removes the oldest page regardless of use, so this early, busy page is removed.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q11 — verified answer: FIFO.
Question 12 Computer Science
When processes run on a paged system, what do the users know about the paging?
- A. Informed
- B. Aware
- C. Unaware ✓ Predicted answer
- D. None of these
Why this answer?
Paging is transparent, users do not know their processes run on a paged system.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q12 — verified answer: Unaware.
Question 13 Computer Science
What is page replacement mainly trying to achieve?
- A. To allocate multiple pages to processes
- B. Replace pages faster
- C. Increase the page fault rate
- D. Decrease the page fault rate ✓ Predicted answer
Why this answer?
Page replacement algorithms exist to decrease the page fault rate.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q13 — verified answer: Decrease the page fault rate.
Question 14 Computer Science
In FIFO replacement, what information is kept about each page?
- A. Time it was brought Into memory ✓ Predicted answer
- B. Size of the page in memory
- C. Page after and before It
- D. All of these
Why this answer?
FIFO records the time each page was brought into memory.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q14 — verified answer: Time it was brought Into memory.
Question 15 Computer Science
According to the optimal page-replacement rule, which page should be replaced?
- A. Replace the page that has been used for a long time
- B. Replace the page that will not be used for a long time ✓ Predicted answer
- C. Replace the page that has not been used for a long lime
- D. None of these
Why this answer?
Optimal replacement removes the page that will not be used for the longest time.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q15 — verified answer: Replace the page that will not be used for a long time.
Question 16 Computer Science
Why is the optimal page-replacement algorithm hard to put into practice?
- A. It Is extremely expensive
- B. It requires a lot of Information
- C. It requires future knowledge of the reference string ✓ Predicted answer
- D. It Is too complex
Why this answer?
Optimal replacement needs future knowledge of the reference string, which is unavailable.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q16 — verified answer: It requires future knowledge of the reference string.
Question 17 Computer Science
In LRU replacement, what information is kept about each page?
- A. The time of that page s last use ✓ Predicted answer
- B. Page after and before It
- C. Time it was brought into memory
- D. All of these
Why this answer?
LRU associates each page with the time of its last use.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q17 — verified answer: The time of that page s last use.
Question 18 Computer Science
With three page frames and the reference string 7, 0, 1, 2, 0, 3, 0, 4, 2, 3, 0, 3, 2, 1, 2, 0, 1, 7, 0, 1, how many page faults does LRU produce?
- A. 10
- B. 15
- C. 11
- D. 12 ✓ Predicted answer
Why this answer?
LRU with 3 frames faults 12 times on this reference string.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q18 — the reference string 7, 0, 1, 2, 0, 3, 0, 4, 2, 3, 0, 3, 2, 1, 2, 0, 1, 7, 0, 1 gives 12 LRU faults with 3 frames.
Question 19 Computer Science
The CPU takes its next instruction from memory using the value held in which register?
- A. Program status word
- B. Program counter ✓ Predicted answer
- C. Status register
- D. Instruction register
Why this answer?
The CPU fetches the next instruction at the address in the program counter.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q19 — verified answer: Program counter.
Question 20 Computer Science
What is a memory buffer used to smooth out a speed difference between two units called?
- A. Disk buffer
- B. Slack pointer
- C. Cache ✓ Predicted answer
- D. Accumulator
Why this answer?
A cache holds data to bridge a speed difference between units.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q20 — verified answer: Cache.
Question 21 Computer Science
Which kind of address is produced by the CPU itself?
- A. Logical address ✓ Predicted answer
- B. Physical address
- C. Absolute address
- D. None of these
Why this answer?
The CPU generates the logical (virtual) address.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q21 — verified answer: Logical address.
Question 22 Computer Science
Which hardware unit carries out the run-time translation from virtual to physical addresses?
- A. PCI
- B. Memory management unit ✓ Predicted answer
- C. CPU
- D. None of these
Why this answer?
The memory management unit maps virtual addresses to physical ones at run time.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q22 — verified answer: Memory management unit.
Question 23 Computer Science
Which memory-management technique moves data between secondary storage and main memory as needed?
- A. Mapping
- B. Fragmentation
- C. Paging ✓ Predicted answer
- D. None of these
Why this answer?
Paging moves data between secondary storage and main memory.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q23 — verified answer: Paging.
Question 24 Computer Science
The interrupt-request line belongs to which group of bus lines?
- A. Control line ✓ Predicted answer
- B. Address line
- C. Data line
- D. None of these
Why this answer?
The interrupt-request line is part of the control lines.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q24 — verified answer: Control line.
Question 25 Computer Science
After an interrupt, the processor must remember where to resume. Where does it put that return address?
- A. System heap
- B. Processor register
- C. Processor slack
- D. Memory ✓ Predicted answer
Why this answer?
The return address is saved on the stack, which is in memory, the only offered place.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q25 — verified answer: Memory.
Question 26 Computer Science
Once the processor has received an interrupt, what signal does it send back to the device?
- A. Return signal
- B. Service signal
- C. Permission signal
- D. Interrupt-acknowledge ✓ Predicted answer
Why this answer?
After an interrupt the processor sends an interrupt-acknowledge signal to the device.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q26 — verified answer: Interrupt-acknowledge.
Question 27 Computer Science
A relational database is made up of a collection of what?
- A. Keys
- B. Tables ✓ Predicted answer
- C. Fields
- D. Records
Why this answer?
A relational database is a collection of tables.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q27 — verified answer: Tables.
Question 28 Computer Science
In a table, which element stands for a relationship among a set of values?
- A. Column
- B. Key
- C. Row ✓ Predicted answer
- D. Entry
Why this answer?
A row (tuple) represents a relationship among a set of values.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q28 — verified answer: Row.
Question 29 Computer Science
What is the proper term for a row of a table?
- A. Field
- B. Instance
- C. Attribute
- D. Tuple ✓ Predicted answer
Why this answer?
A tuple is the term for a row of a table.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q29 — verified answer: Tuple.
Question 30 Computer Science
In a table, an attribute is which part?
- A. Column ✓ Predicted answer
- B. Tuple
- C. Key
- D. Record
Why this answer?
An attribute is a column of a table.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q30 — verified answer: Column.
Question 31 Computer Science
For any attribute of a relation, the set of values it is allowed to take is called its what?
- A. Schema
- B. Domain ✓ Predicted answer
- C. Relation
- D. Set
Why this answer?
The permitted values of an attribute form its domain.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q31 — verified answer: Domain.
Question 32 Computer Science
Which kind of dependency generates tuples?
- A. Functional dependency
- B. Equality-generating dependencies
- C. Multi-valued dependencies ✓ Predicted answer
- D. Non-functlonal dependency
Why this answer?
Multi-valued dependencies are tuple-generating dependencies.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q32 — verified answer: Multi-valued dependencies.
Question 33 Computer Science
Removing repeating attributes into separate tables is the main task of which normal form?
- A. Second Normal Form
- B. Third Normal Form
- C. Fourth Normal Form
- D. First Normal Form ✓ Predicted answer
Why this answer?
First normal form removes repeating groups and attributes into separate tables.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q33 — verified answer: First Normal Form.
Question 34 Computer Science
Which normal form is built on multivalued dependencies?
- A. Fourth ✓ Predicted answer
- B. First
- C. Second
- D. Third
Why this answer?
Fourth normal form is based on multi-valued dependencies.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q34 — verified answer: Fourth.
Question 35 Computer Science
In which normal form does a relation hold data about a single individual entity, free of non-trivial multivalued dependencies?
- A. 3NF
- B. 4NF ✓ Predicted answer
- C. 5NF
- D. 2NF
Why this answer?
A relation in 4NF holds data about an individual entity with no non-trivial multi-valued dependencies.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q35 — verified answer: 4NF.
Question 36 Computer Science
In which case does each related entity set keep its own schema, with one more schema added for the relationship set itself?
- A. A many-to-many relationship set ✓ Predicted answer
- B. A multi-valued attribute of an entity set
- C. A one-to-many relationship set
- D. Both A and B
Why this answer?
A many-to-many relationship set gets its own schema plus the entity schemas.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q36 — verified answer: A many-to-many relationship set.
Question 37 Computer Science
In which case is a separate schema made from the attribute together with the primary key of the entity set?
- A. A many-to-many relationship set
- B. A multi-valued attribute of an entity set ✓ Predicted answer
- C. A one-to-many relationship set
- D. Both A and B
Why this answer?
A multi-valued attribute gets a separate schema of the attribute and the entity primary key.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q37 — verified answer: A multi-valued attribute of an entity set.
Question 38 Computer Science
What does second normal form rule out?
- A. No functional dependencies (FDs) exist
- B. No mufti-valued dependencies (MVDs) exist.
- C. No partial FDs exist. ✓ Predicted answer
- D. No partial MVDs exist.
Why this answer?
In 2NF no partial functional dependencies exist.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q38 — verified answer: No partial FDs exist..
Question 39 Computer Science
What can reveal a poor E-R design?
- A. Database Design Process
- B. E-R Design Process
- C. Relational scheme
- D. Functional dependencies ✓ Predicted answer
Why this answer?
Functional dependencies reveal poor E-R design.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q39 — verified answer: Functional dependencies.
Question 40 Computer Science
For programs of about how many lines of code is the Build and Fix model suitable?
- A. 100-200 ✓ Predicted answer
- B. 200-400
- C. 400-1000
- D. Above 1000
Why this answer?
Build and Fix suits small programs of about 100-200 lines of code.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q40 — verified answer: 100-200.
Question 41 Computer Science
How are attributes in a large database best represented?
- A. Dot representation
- B. Relational ✓ Predicted answer
- C. Concatenation
- D. All of these
Why this answer?
Attributes in a large database are best represented relationally, as tables.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q41 — verified answer: Relational.
Question 42 Computer Science
Which technique do designers use to tune a system for time-critical operations?
- A. Optimization
- B. Realization
- C. Denormalization ✓ Predicted answer
- D. Redundant optimization
Why this answer?
Denormalization tunes database performance for time-critical operations.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q42 — verified answer: Denormalization.
Question 43 Computer Science
What does RAD stand for in software engineering?
- A. Rapid Application Document
- B. Rational Application Document
- C. Relative Application Development
- D. Rapid Application Development ✓ Predicted answer
Why this answer?
RAD stands for Rapid Application Development.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q43 — verified answer: Rapid Application Development.
Question 44 Computer Science
Which model copes worst with changes once development is under way?
- A. Waterfall Model ✓ Predicted answer
- B. Build & Fix Model
- C. Prototyping Model
- D. RAD Model
Why this answer?
The waterfall model is rigid and not suitable for accommodating change.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q44 — verified answer: Waterfall Model.
Question 45 Computer Science
The prototyping model moves from quick design to prototype refinement and then to an engineered product. Which activity below is not a named phase of it?
- A. Quick Design
- B. Coding ✓ Predicted answer
- C. Prototype Refinement
- D. Engineer Product
Why this answer?
Coding is not a named phase of the prototyping model.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q45 — verified answer: Coding.
Question 46 Computer Science
How many phases does the RAD model have?
- A. 2 Phase
- B. 3 phase
- C. 5 phases ✓ Predicted answer
- D. 6 phases
Why this answer?
RAD has 5 phases: business, data and process modelling, application generation, testing and turnover.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q46 — verified answer: 5 phases.
Question 47 Computer Science
What is the main drawback of the RAD model?
- A. Highly specialized & skilled developers / designers are required. ✓ Predicted answer
- B. Increases re-usablllty of components
- C. Encourages customer/cllent feedback
- D. Both A & C
Why this answer?
Needing highly specialised developers is a real drawback of RAD.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q47 — verified answer: Highly specialized & skilled developers / designers are required..
Question 48 Computer Science
What does SDLC stand for?
- A. System Development Life cycle
- B. Software Design Life Cycle
- C. System Design Life Cycle
- D. Software Development Life Cycle ✓ Predicted answer
Why this answer?
SDLC stands for Software Development Life Cycle.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q48 — verified answer: Software Development Life Cycle.
Question 49 Computer Science
If the user is to be involved in every phase of the SDLC, which model should be chosen?
- A. Waterfall Model
- B. Prototyping Model
- C. RAD Model ✓ Predicted answer
- D. Both B & C
Why this answer?
In RAD the user is involved in all phases of the SDLC.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q49 — verified answer: RAD Model.
Question 50 Computer Science
When can two devices be said to be in a network?
- A. A process In one device Is able to exchange Information with a process in another device ✓ Predicted answer
- B. A process Is running on both devices
- C. Plus of the processes running of different devices are same
- D. None of these
Why this answer?
Two devices are in a network if a process on one can exchange information with a process on the other.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q50 — verified answer: A process In one device Is able to exchange Information with a process in another device.
Question 51 Computer Science
In a computer network, what can a node do?
- A. The computer that originates the data
- B. The computer that routes the data
- C. The computer that terminates the data
- D. All of these ✓ Predicted answer
Why this answer?
Nodes do all of these, so all three are true.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q51 — verified answer: All of these.
Question 52 Computer Science
In which kind of network is the communication channel shared by every machine on the network?
- A. Multi-cast network
- B. Broadcast network ✓ Predicted answer
- C. Unl-cast network
- D. None of these
Why this answer?
In a broadcast network the channel is shared by all machines.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q52 — verified answer: Broadcast network.
Question 53 Computer Science
Bluetooth is an example of which type of network?
- A. Local area network
- B. Virtual private network
- C. Personal area network ✓ Predicted answer
- D. None of these
Why this answer?
Bluetooth links nearby personal devices, a personal area network.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q53 — verified answer: Personal area network.
Question 54 Computer Science
Which device forwards packets between networks by reading the routing information in the packet?
- A. Router ✓ Predicted answer
- B. Bridge
- C. Firewall
- D. All of these
Why this answer?
A router forwards packets between networks using routing information.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q54 — verified answer: Router.
Question 55 Computer Science
What do we call a list of protocols used by a system, with one protocol per layer?
- A. Protocol architecture
- B. Protocol stack ✓ Predicted answer
- C. Protocol suit
- D. None of these
Why this answer?
One protocol per layer, taken together, is the protocol stack.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q55 — verified answer: Protocol stack.
Question 56 Computer Science
When does network congestion occur?
- A. When a system terminates
- B. When connection between two nodes terminates
- C. In case of traffic overloading' ✓ Predicted answer
- D. None of these
Why this answer?
Congestion occurs when traffic overloads the network.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q56 — verified answer: In case of traffic overloading'.
Question 57 Computer Science
Which of these extends a private network across public networks?
- A. Enterprise private network
- B. Storage area network
- C. Local area network
- D. Virtual private network ✓ Predicted answer
Why this answer?
A virtual private network extends a private network across public networks.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q57 — verified answer: Virtual private network.
Question 58 Computer Science
What unit of data does the network layer deal with?
- A. Packets ✓ Predicted answer
- B. Bits
- C. Frames
- D. None of these
Why this answer?
The network layer moves packets.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q58 — verified answer: Packets.
Question 59 Computer Science
Routing, inter-networking and congestion control are network-layer jobs. Which item below is not one of them?
- A. Routing
- B. Inter-networking
- C. Congestion control
- D. Error detection ✓ Predicted answer
Why this answer?
Routing, inter-networking and congestion control are all network-layer functions; error detection belongs to the data-link layer.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q59 — the 2017 item keys that routing, inter-networking and congestion control are all network-layer functions.
Question 60 Computer Science
A 4-byte IP address is made up of what?
- A. Network address
- B. Host address
- C. Both A and B ✓ Predicted answer
- D. None of these
Why this answer?
A 4-byte IP address consists of a network address and a host address.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q60 — verified answer: Both A and B.
Question 61 Computer Science
In a virtual circuit, what does each packet carry instead of full addresses?
- A. Full source and destination address
- B. A short VC number ✓ Predicted answer
- C. Both A and B
- D. None of these
Why this answer?
Each virtual-circuit packet carries a short VC number.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q61 — verified answer: A short VC number.
Question 62 Computer Science
Which routing algorithms may be used in network-layer design?
- A. Shortest path algorithm
- B. Distance vector routing
- C. Link stale routing
- D. All of these ✓ Predicted answer
Why this answer?
All three are network-layer routing algorithms.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q62 — verified answer: All of these.
Question 63 Computer Science
Which protocol works at the network layer of the Internet?
- A. Ethernet
- B. Internet protocol ✓ Predicted answer
- C. Hypertext transfer protocol
- D. None of these
Why this answer?
The Internet protocol is the network-layer protocol of the Internet.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q63 — verified answer: Internet protocol.
Question 64 Computer Science
What is ICMP mainly used for?
- A. Addressing
- B. Forwarding
- C. Error and diagnostic functions ✓ Predicted answer
- D. None of these
Why this answer?
ICMP is used for error reporting and diagnostics.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q64 — verified answer: Error and diagnostic functions.
Question 65 Computer Science
What does a lexical analyzer take as input and produce as output?
- A. Source program tokens ✓ Predicted answer
- B. Token, source program
- C. Both A & B
- D. None of these
Why this answer?
The lexical analyzer takes the source program and produces a stream of tokens.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q65 — verified answer: Source program tokens.
Question 66 Computer Science
Parsing is another name for which phase of compilation?
- A. Semantic Analysis
- B. Code Generation
- C. Lexical Analysis
- D. Syntax Analysis ✓ Predicted answer
Why this answer?
Parsing is syntax analysis.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q66 — verified answer: Syntax Analysis.
Question 67 Computer Science
A compiler program written in a high-level language is known as what?
- A. Source Program ✓ Predicted answer
- B. Object Program
- C. Machine Language Program
- D. None of these
Why this answer?
A compiler written in a high-level language is called a source program.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q67 — verified answer: Source Program.
Question 68 Computer Science
The number of pixels stored in a graphics system's frame buffer is known as its what?
- A. Mass
- B. Resolution ✓ Predicted answer
- C. Depth
- D. None of these
Why this answer?
The number of pixels in the frame buffer is the resolution.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q68 — verified answer: Resolution.
Question 69 Computer Science
In a graphical system, where is the array of pixels in the picture stored?
- A. Processor
- B. Memory
- C. Frame buffer ✓ Predicted answer
- D. All of these
Why this answer?
The pixel array is stored in the frame buffer.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q69 — verified answer: Frame buffer.
Question 70 Computer Science
Which of these is a key characteristic of a hacker?
- A. Willing to find answers on their own ✓ Predicted answer
- B. Not willing to find answers on their own
- C. Afraid to say they don't know the answer
- D. All of these
Why this answer?
A hacker is willing to find answers on their own.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q70 — verified answer: Willing to find answers on their own.
Question 71 Computer Science
Which field is concerned with discovering previously unknown properties in data?
- A. Big Data
- B. Data wrangling
- C. Machine Learning
- D. Data mining ✓ Predicted answer
Why this answer?
Data mining discovers previously unknown properties in data.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q71 — verified answer: Data mining.
Question 72 Computer Science
Which process model is recommended in virtually all web-engineering situations?
- A. Spiral Model
- B. Incremental Model ✓ Predicted answer
- C. Waterfall Model
- D. None of these
Why this answer?
The incremental model is recommended for virtually all web engineering situations.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q72 — verified answer: Incremental Model.
Question 73 Computer Science
Which analyses belong to the analysis model of the web-engineering process framework?
- A. Content Analysis
- B. Interaction Analysis
- C. Functional Analysis
- D. All of these ✓ Predicted answer
Why this answer?
All three analyses are part of the analysis model.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q73 — verified answer: All of these.
Question 74 Computer Science
Which of these statements about web-based systems is INCORRECT?
- A. Must be secure
- B. Are subsect to assorted legal, social and ethical scrutiny
- C. Should be un-scalable ✓ Predicted answer
- D. Must be to cope uncertain, random heavy demand on services
Why this answer?
Web systems should be scalable, so 'should be un-scalable' is the incorrect statement.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q74 — verified answer: Should be un-scalable.
Question 75 Computer Science
Electronic shopping belongs to which category of web-based system?
- A. Workflow-oriented
- B. Information
- C. Interactive
- D. Transaction-oriented ✓ Predicted answer
Why this answer?
Electronic shopping is a transaction-oriented web system.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q75 — verified answer: Transaction-oriented.
Question 76 Computer Science
Discussion groups belong to which category of web-based system?
- A. Online communities ✓ Predicted answer
- B. Web portals
- C. Workflow-oriented
- D. Collaborative work
Why this answer?
Discussion groups are online communities.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q76 — verified answer: Online communities.
Question 77 Computer Science
What does W3C stand for?
- A. World Wide Web Community
- B. World Wide Web Consortium ✓ Predicted answer
- C. World Wide Web Collaboration
- D. None of these
Why this answer?
W3C stands for World Wide Web Consortium.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q77 — verified answer: World Wide Web Consortium.
Question 78 Computer Science
What risks come with using hypertext in web applications?
- A. Loss of sense of locality and direction
- B. Cognitive overload for users
- C. Both A and B ✓ Predicted answer
- D. None of these
Why this answer?
Both risks occur with hypertext.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q78 — verified answer: Both A and B.
Question 79 Computer Science
Which of these is NOT a NoSQL data store?
- A. MongoDB
- B. Cassandra
- C. SQL Server ✓ Predicted answer
- D. None of these
Why this answer?
SQL Server is a relational database, not a NoSQL store.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q79 — verified answer: SQL Server.
Question 80 Computer Science
Which of these is a type of NoSQL database?
- A. Document databases ✓ Predicted answer
- B. JSON
- C. SQL
- D. All of these
Why this answer?
Document databases are a NoSQL database type.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q80 — verified answer: Document databases.
Question 81 Computer Science
Which of the following is an operating system?
- A. Microsoft Word
- B. Microsoft Excel
- C. Microsoft Access
- D. Microsoft Windows ✓ Predicted answer
Why this answer?
Microsoft Windows is an operating system.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q81 — verified answer: Microsoft Windows.
Question 82 Computer Science
By default, on which pages of a Word document are the header and footer printed?
- A. On alternate page
- B. On every page ✓ Predicted answer
- C. On first page
- D. None of these
Why this answer?
By default the header and footer print on every page.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q82 — verified answer: On every page.
Question 83 Computer Science
Which data structure works on the Last In, First Out (LIFO) principle?
- A. Array
- B. Linked list
- C. Stack ✓ Predicted answer
- D. Queue
Why this answer?
A stack returns the most recently added item first — last in, first out.
Why predicted [C] — Syllabus anchor: syllabus anchor — Computer Science: data structures (stack, queue, linked list) recurs in every sitting of this post.
Question 84 Mathematics
Complete the number series: 15, 31, 63, 127, 255, ___
- A. 523
- B. 517
- C. 513
- D. 511 ✓ Predicted answer
Why this answer?
15, 31, 63, 127, 255 doubles and adds 1 each step, giving 511.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q83 — verified answer: 511.
Question 85 English
What does the idiom 'to face the music' mean?
- A. To bear the consequences ✓ Predicted answer
- B. To be greeted rudely
- C. To be offered warm hospitality
- D. To be on the front seat in a concert
Why this answer?
To face the music means to bear the consequences.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q85 — verified answer: To bear the consequences.
Question 86 English
Which word means the same as 'posthumous'?
- A. Rear
- B. After death ✓ Predicted answer
- C. Moisture
- D. Rich
Why this answer?
Posthumous means after death, published or occurring after death.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q86 — verified answer: After death.
Question 87 English
Which word is the opposite of 'meandering'?
- A. Curved
- B. Sliding
- C. Straight ✓ Predicted answer
- D. Sloping
Why this answer?
Meandering means winding, its opposite is straight.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q87 — verified answer: Straight.
Question 88 English
Which of these is the correctly spelt word?
- A. Dechotomy
- B. Dicotomy
- C. Dicotemy
- D. Dichotomy ✓ Predicted answer
Why this answer?
Dichotomy is the correct spelling.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q88 — verified answer: Dichotomy.
Question 89 Everyday Science
A plantain most closely resembles which fruit?
- A. Bananas ✓ Predicted answer
- B. Grapefruit
- C. Apples
- D. Jackfruit
Why this answer?
A plantain is similar to a banana.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q89 — verified answer: Bananas.
Question 90 Everyday Science
Exposure to sunlight leads to the formation of which vitamin in the body?
- A. Vitamin K
- B. Vitamin D ✓ Predicted answer
- C. Vitamin A
- D. Vitamin C
Why this answer?
Sunlight forms vitamin D in the body.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q90 — verified answer: Vitamin D.
Question 91 General Knowledge
Which American president was the first to step down from office by resigning?
- A. Theodore Roosevelt
- B. Bill Clinton
- C. Richard Nixon ✓ Predicted answer
- D. John Qulcy Adams
Why this answer?
Richard Nixon resigned in 1974, the first American president to do so.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q91 — verified answer: Richard Nixon.
Question 92 General Knowledge
Astana is the capital of Kazakhstan today. Which city was its former capital?
- A. Almaty ✓ Predicted answer
- B. Dushanbe
- C. Bishkek
- D. None of these
Why this answer?
Almaty was the capital of Kazakhstan before Astana.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q92 — verified answer: Almaty.
Question 93 General Knowledge
In geography, what is meant by 'Pangaea'?
- A. Concentration of Sulpher in hot springs
- B. A Super continent ✓ Predicted answer
- C. Hills formed by Lava outflow
- D. None of these
Why this answer?
Pangaea was the ancient supercontinent.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q93 — verified answer: A Super continent.
Question 94 General Knowledge
After the partition of Bengal in 1905, which city became the capital of East Bengal and Assam?
- A. Calcutta
- B. Chittagong
- C. Sylhett
- D. Dhaka ✓ Predicted answer
Why this answer?
After the 1905 partition of Bengal, Dhaka was the capital of East Bengal and Assam.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q94 — verified answer: Dhaka.
Question 95 General Knowledge
Under Muslim rule in India, what served as the language of the court and administration?
- A. Urdu
- B. Turkish
- C. Persian ✓ Predicted answer
- D. Arabic
Why this answer?
Persian was the official language during Muslim rule in India.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q95 — verified answer: Persian.
Question 96 General Knowledge
Of these four sports, which one has never been an Olympic sport?
- A. Badminton
- B. Wrestling
- C. Fencing
- D. Squash ✓ Predicted answer
Why this answer?
Squash is not an Olympic sport.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q96 — verified answer: Squash.
Question 97 General Knowledge
Which country's flag goes by the name Union Jack?
- A. UK ✓ Predicted answer
- B. USA
- C. New Zealand
- D. Barbados
Why this answer?
The Union Jack is the flag of the United Kingdom.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q97 — verified answer: UK.
Question 98 General Knowledge
The Boao Forum for Asia was proposed by former President Ramos of the Philippines and former Prime Minister Morihiro Hosokawa of Japan, together with whom?
- A. Former Prime Minister Shaukat Aziz of Pakistan
- B. Former Prime Minister Bob Hawke of Australia ✓ Predicted answer
- C. Former Prime Minister Mahathir Muhammad of Malaysia
- D. Former President Hu Jin Tao of China
Why this answer?
Bob Hawke of Australia proposed the Boao Forum with Ramos and Hosokawa.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q98 — verified answer: Former Prime Minister Bob Hawke of Australia.
Question 99 Urdu
ترکی تمام ہونا محاورہ ہے اس کا مفہوم کیا ہے؟
- A. بجٹ ختم کرنا
- B. کوشش ترک کر دینا
- C. بہادری ختم ہونا ✓ Predicted answer
- D. غیر ملکی سفر پر روانہ ہونا
Why this answer?
ترکی تمام ہونا means bravery coming to an end.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q99 — verified answer: بہادری ختم ہونا.
Question 100 Urdu
امیر خسرو کس شہر میں مدفون ہیں؟
- A. رائے بریلی
- B. عمرکوٹ
- C. ملتان
- D. دہلی ✓ Predicted answer
Why this answer?
Amir Khusro is buried in Delhi, beside Nizamuddin Auliya.
Why predicted [B] — Verified fact, predicted to recur: PPSC-2017-LECTURER-COMPUTER-SCIENCE Q100 — verified answer: دہلی.
