PPSC Lecturer Computer Science | BS-17 — GUESS PAPER 2026 (Set 2 of 2) · Predicted Questions
Question 1 Computer Science
The short-term scheduler has chosen a process. Name the module that actually gives it the CPU.
- 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
A process is submitted at 10:00 and completes at 10:05. What is the name of that five-minute interval?
- A. Throughput
- B. Waiting time
- C. Turnaround time ✓ Predicted answer
- D. Response time
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 3 Computer Science
Priority scheduling always hands the CPU to the process with which priority?
- A. Equal priority processes cannot be scheduled
- B. CPU is allocated to the process with highest priority ✓ Predicted answer
- C. CPU is allocated to the process with lowest priority
- 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 4 Computer Science
Which scheduling algorithm uses a fixed time quantum for each process?
- A. Multilevel queue scheduling algorithm
- B. Shortest job scheduling algorithm
- C. Round robin scheduling algorithm ✓ Predicted answer
- D. Priority 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 5 Computer Science
The kernel schedules processes and kernel-level threads. What does it leave to a user-level thread library?
- 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 6 Computer Science
Using FIFO with three frames, how many faults occur for the page reference order A, B, C, D, A, B, E, A, B, C, D, E?
- 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 7 Computer Science
Page replacement algorithms are designed to bring which rate down?
- A. Increase the page fault rate
- B. Decrease the page fault rate ✓ Predicted answer
- C. To allocate multiple pages to processes
- D. Replace pages faster
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 8 Computer Science
Which page does the optimal replacement rule choose to evict?
- A. Replace the page that has not been used for a long lime
- B. Replace the page that has been used for a long time
- C. Replace the page that will not be used for a long time ✓ Predicted answer
- 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 9 Computer Science
LRU keeps track of what for every 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 10 Computer Science
To fetch the next instruction, the CPU looks at the address stored in which register?
- A. Status register
- B. Instruction register
- C. Program status word
- D. Program counter ✓ Predicted answer
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 11 Computer Science
The CPU itself creates which sort of address before translation?
- A. Absolute address
- B. Logical address ✓ Predicted answer
- C. Physical 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 12 Computer Science
Data is fetched from secondary storage into main memory by which technique?
- 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 13 Computer Science
Where does the processor keep the address it must return to after an interrupt?
- 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 14 Computer Science
What is a relational database a collection of?
- A. Tables ✓ Predicted answer
- B. Fields
- C. Records
- D. Keys
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 15 Computer Science
A row of a table is called what?
- A. Attribute
- B. Tuple ✓ Predicted answer
- C. Field
- D. Instance
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 16 Computer Science
What do we call the set of values an attribute is allowed to hold?
- A. Set
- B. Schema
- C. Domain ✓ Predicted answer
- D. Relation
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 17 Computer Science
Which normal form is mainly about removing repeating attributes to separate tables?
- 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 18 Computer Science
A relation holding data about one individual entity, with no non-trivial multivalued dependencies, is in which form?
- A. 4NF ✓ Predicted answer
- B. 5NF
- C. 2NF
- D. 3NF
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 19 Computer Science
Second normal form forbids which kind of functional dependency?
- A. No mufti-valued dependencies (MVDs) exist.
- B. No partial FDs exist. ✓ Predicted answer
- C. No partial MVDs exist.
- D. No functional dependencies (FDs) 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 20 Computer Science
Build and Fix is meant for programming exercises of roughly how many lines?
- A. 400-1000
- B. Above 1000
- C. 100-200 ✓ Predicted answer
- D. 200-400
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 21 Computer Science
Expand the abbreviation RAD as used 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 22 Computer Science
The prototyping model has a Quick Design phase and a Prototype Refinement phase. Which of the following is NOT also one of its phases?
- A. Coding ✓ Predicted answer
- B. Prototype Refinement
- C. Engineer Product
- D. Quick Design
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 23 Computer Science
What is the biggest disadvantage of using 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 24 Computer Science
Which model keeps the user involved through every phase of the SDLC?
- 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 25 Computer Science
In a network, a node is a computer that can do which of these things?
- 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 26 Computer Science
Which network type does Bluetooth belong to?
- A. Virtual private network
- B. Personal area network ✓ Predicted answer
- C. Local area network
- 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 27 Computer Science
One protocol per layer, taken together as a list, is known as what?
- A. Protocol suit
- B. Protocol architecture
- C. Protocol stack ✓ Predicted answer
- 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 28 Computer Science
Which network lets a private network stretch 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 29 Computer Science
Which of these is NOT a job of the network layer?
- A. Error detection ✓ Predicted answer
- B. Routing
- C. Inter-networking
- D. Congestion control
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 30 Computer Science
In a virtual circuit, packets carry a short VC number rather than what?
- 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 31 Computer Science
At the network layer, the Internet runs on which protocol?
- 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 32 Computer Science
The lexical analyzer reads the source program and writes out what?
- 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 33 Computer Science
What do we call a compiler that is itself written in a high-level language?
- A. Object Program
- B. Machine Language Program
- C. Source Program ✓ Predicted answer
- 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 34 Computer Science
Where is the picture's array of pixels kept in a graphics system?
- A. Frame buffer ✓ Predicted answer
- B. Processor
- C. Memory
- 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 35 Computer Science
Finding properties in data that nobody knew before is the work of which field?
- 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 36 Computer Science
Content analysis, interaction analysis and functional analysis are all part of which model in web engineering?
- 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 37 Computer Science
You are building an online shop. Which category of web-based system is it?
- A. Interactive
- B. Transaction-oriented ✓ Predicted answer
- C. Workflow-oriented
- D. Information
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 38 Computer Science
Expand W3C.
- A. World Wide Web Collaboration
- B. World Wide Web Community
- C. World Wide Web Consortium ✓ Predicted answer
- 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 39 Computer Science
SQL Server, MongoDB and Cassandra: which one is not a NoSQL store?
- A. SQL Server ✓ Predicted answer
- B. MongoDB
- C. Cassandra
- 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 40 Computer Science
Microsoft Word, Excel, Access and Windows: which one 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 41 Computer Science
Which data structure removes items in the same order they were added — first in, first out?
- A. Graph
- B. Queue ✓ Predicted answer
- C. Stack
- D. Tree
Why this answer?
A queue serves the oldest item first, so it is first in, first out.
Why predicted [C] — Syllabus anchor: syllabus anchor — Computer Science: data structures (queue, stack, linked list) recurs in every sitting of this post.
Question 42 Computer Science
What is the time complexity of binary search on a sorted array?
- A. O(1)
- B. O(n)
- C. O(log n) ✓ Predicted answer
- D. O(n log n)
Why this answer?
Binary search halves the search space at each step, so it runs in O(log n) time.
Why predicted [C] — Syllabus anchor: syllabus anchor — Computer Science: algorithms and time complexity recurs in every sitting of this post.
Question 43 Computer Science
What does HTML stand for?
- A. HighText Machine Language
- B. HyperText Machine Language
- C. HighText Markup Language
- D. HyperText Markup Language ✓ Predicted answer
Why this answer?
HTML stands for HyperText Markup Language.
Why predicted [C] — Syllabus anchor: syllabus anchor — Computer Science: web basics and abbreviations recurs in every sitting of this post.
Question 44 Computer Science
How many bits make one byte?
- A. 8 ✓ Predicted answer
- B. 16
- C. 32
- D. 4
Why this answer?
One byte is 8 bits.
Why predicted [C] — Syllabus anchor: syllabus anchor — Computer Science: number systems and units recurs in every sitting of this post.
Question 45 Computer Science
What does CPU stand for?
- A. Central Processor Utility
- B. Central Processing Unit ✓ Predicted answer
- C. Computer Personal Unit
- D. Central Program Unit
Why this answer?
CPU stands for Central Processing Unit.
Why predicted [C] — Syllabus anchor: syllabus anchor — Computer Science: computer fundamentals and abbreviations recurs in every sitting of this post.
Question 46 Computer Science
Which memory loses its contents when the power is switched off?
- A. Hard disk
- B. Flash memory
- C. RAM ✓ Predicted answer
- D. ROM
Why this answer?
RAM is volatile memory; ROM, hard disk and flash keep their contents without power.
Why predicted [C] — Syllabus anchor: syllabus anchor — Computer Science: memory types recurs in every sitting of this post.
Question 47 Computer Science
What is the binary equivalent of decimal 10?
- A. 1100
- B. 1001
- C. 1110
- D. 1010 ✓ Predicted answer
Why this answer?
Decimal 10 is 1010 in binary (8 + 2).
Why predicted [C] — Syllabus anchor: syllabus anchor — Computer Science: number systems and units recurs in every sitting of this post.
Question 48 Computer Science
An AND gate gives output 1 only when?
- A. Both inputs are 1 ✓ Predicted answer
- B. Either input is 1
- C. Both inputs are 0
- D. Either input is 0
Why this answer?
An AND gate outputs 1 only when all its inputs are 1.
Why predicted [C] — Syllabus anchor: syllabus anchor — Computer Science: digital logic and logic gates recurs in every sitting of this post.
Question 49 Computer Science
Which key uniquely identifies each record in a table?
- A. Primary key ✓ Predicted answer
- B. Foreign key
- C. Candidate key
- D. Alternate key
Why this answer?
The primary key uniquely identifies each record of a table.
Why predicted [C] — Syllabus anchor: syllabus anchor — Computer Science: database keys recurs in every sitting of this post.
Question 50 Computer Science
What does SQL stand for?
- A. Sequential Query Language
- B. Structured Query Language ✓ Predicted answer
- C. Simple Query Language
- D. Standard Question Language
Why this answer?
SQL stands for Structured Query Language.
Why predicted [C] — Syllabus anchor: syllabus anchor — Computer Science: database basics and abbreviations recurs in every sitting of this post.
Question 51 Computer Science
Which transport-layer protocol is connection-oriented and reliable?
- A. IP
- B. HTTP
- C. TCP ✓ Predicted answer
- D. UDP
Why this answer?
TCP is connection-oriented and reliable; UDP is connectionless.
Why predicted [C] — Syllabus anchor: syllabus anchor — Computer Science: networking protocols recurs in every sitting of this post.
Question 52 Computer Science
Which port does HTTP use by default?
- A. 21
- B. 25
- C. 110
- D. 80 ✓ Predicted answer
Why this answer?
HTTP uses port 80 by default.
Why predicted [C] — Syllabus anchor: syllabus anchor — Computer Science: networking protocols and ports recurs in every sitting of this post.
Question 53 Computer Science
How many bits long is an IPv4 address?
- A. 32 ✓ Predicted answer
- B. 64
- C. 128
- D. 16
Why this answer?
An IPv4 address is 32 bits long (4 bytes).
Why predicted [C] — Syllabus anchor: syllabus anchor — Computer Science: networking and IP addressing recurs in every sitting of this post.
Question 54 Computer Science
Which of these translates the whole program at once before running it?
- A. Loader
- B. Compiler ✓ Predicted answer
- C. Interpreter
- D. Assembler
Why this answer?
A compiler translates the whole program before execution; an interpreter works line by line.
Why predicted [C] — Syllabus anchor: syllabus anchor — Computer Science: compilers and interpreters recurs in every sitting of this post.
Question 55 Computer Science
What is the average-case time complexity of quicksort?
- A. O(log n)
- B. O(n)
- C. O(n log n) ✓ Predicted answer
- D. O(n squared)
Why this answer?
Quicksort runs in O(n log n) time on average.
Why predicted [C] — Syllabus anchor: syllabus anchor — Computer Science: algorithms and time complexity recurs in every sitting of this post.
Question 56 Computer Science
In which data structure is inserting a new element in the middle easiest?
- A. Stack
- B. Queue
- C. Array
- D. Linked list ✓ Predicted answer
Why this answer?
A linked list needs only pointer changes to insert in the middle; an array must shift elements.
Why predicted [C] — Syllabus anchor: syllabus anchor — Computer Science: data structures (linked list, array) recurs in every sitting of this post.
Question 57 Computer Science
Which of these is one of the four necessary conditions for deadlock?
- A. Mutual exclusion ✓ Predicted answer
- B. Time sharing
- C. Multitasking
- D. Pipelining
Why this answer?
Mutual exclusion is one of the four necessary conditions for deadlock.
Why predicted [C] — Syllabus anchor: syllabus anchor — Computer Science: operating systems and deadlock recurs in every sitting of this post.
Question 58 Computer Science
What is a semaphore used for in operating systems?
- A. Error detection
- B. Process synchronization ✓ Predicted answer
- C. Memory allocation
- D. File compression
Why this answer?
A semaphore is used for process synchronization.
Why predicted [C] — Syllabus anchor: syllabus anchor — Computer Science: operating systems and synchronization recurs in every sitting of this post.
Question 59 Computer Science
Virtual memory lets a program do what?
- A. Run without an operating system
- B. Run faster than cache
- C. Run larger than physical memory ✓ Predicted answer
- D. Run without a CPU
Why this answer?
Virtual memory lets a program run larger than the physical memory available.
Why predicted [C] — Syllabus anchor: syllabus anchor — Computer Science: memory management and virtual memory recurs in every sitting of this post.
Question 60 Computer Science
Which memory sits between the CPU and main memory and holds data the CPU is likely to need?
- A. Hard disk
- B. ROM
- C. Virtual memory
- D. Cache memory ✓ Predicted answer
Why this answer?
Cache memory sits between the CPU and main memory and holds data the CPU is likely to need next.
Why predicted [C] — Syllabus anchor: syllabus anchor — Computer Science: memory hierarchy recurs in every sitting of this post.
Question 61 Computer Science
Which SQL command is used to create a new table?
- A. CREATE ✓ Predicted answer
- B. SELECT
- C. INSERT
- D. UPDATE
Why this answer?
CREATE is the SQL command used to create a new table.
Why predicted [C] — Syllabus anchor: syllabus anchor — Computer Science: SQL commands recurs in every sitting of this post.
Question 62 Computer Science
A foreign key in one table refers to what in another table?
- A. Its view
- B. Its primary key ✓ Predicted answer
- C. Its foreign key
- D. Its index
Why this answer?
A foreign key refers to the primary key of another table.
Why predicted [C] — Syllabus anchor: syllabus anchor — Computer Science: database keys recurs in every sitting of this post.
Question 63 Computer Science
What is the main purpose of normalization in database design?
- A. To encrypt data
- B. To speed up the CPU
- C. To reduce data redundancy ✓ Predicted answer
- D. To increase data redundancy
Why this answer?
Normalization organizes tables to reduce data redundancy.
Why predicted [C] — Syllabus anchor: syllabus anchor — Computer Science: database normalization recurs in every sitting of this post.
Question 64 Computer Science
How many layers does the OSI reference model have?
- A. 8
- B. 5
- C. 6
- D. 7 ✓ Predicted answer
Why this answer?
The OSI reference model has 7 layers.
Why predicted [C] — Syllabus anchor: syllabus anchor — Computer Science: OSI model recurs in every sitting of this post.
Question 65 Computer Science
Which is the topmost layer of the OSI model?
- A. Application layer ✓ Predicted answer
- B. Presentation layer
- C. Session layer
- D. Transport layer
Why this answer?
The application layer is the topmost layer of the OSI model.
Why predicted [C] — Syllabus anchor: syllabus anchor — Computer Science: OSI model recurs in every sitting of this post.
Question 66 Computer Science
Which network covers a small area such as a single building?
- A. PAN
- B. LAN ✓ Predicted answer
- C. WAN
- D. MAN
Why this answer?
A local area network (LAN) covers a small area such as a single building.
Why predicted [C] — Syllabus anchor: syllabus anchor — Computer Science: network types recurs in every sitting of this post.
Question 67 Computer Science
What does a modem do?
- A. Routes packets between networks
- B. Encrypts web traffic
- C. Converts digital signals to analogue and back ✓ Predicted answer
- D. Stores data permanently
Why this answer?
A modem converts digital signals to analogue and back for transmission over telephone lines.
Why predicted [C] — Syllabus anchor: syllabus anchor — Computer Science: networking hardware recurs in every sitting of this post.
Question 68 Computer Science
What does URL stand for?
- A. Universal Reference Link
- B. Uniform Retrieval Locator
- C. Universal Resource Language
- D. Uniform Resource Locator ✓ Predicted answer
Why this answer?
URL stands for Uniform Resource Locator.
Why predicted [C] — Syllabus anchor: syllabus anchor — Computer Science: web basics and abbreviations recurs in every sitting of this post.
Question 69 Computer Science
Who invented the World Wide Web?
- A. Tim Berners-Lee ✓ Predicted answer
- B. Bill Gates
- C. Charles Babbage
- D. Alan Turing
Why this answer?
Tim Berners-Lee invented the World Wide Web.
Why predicted [C] — Syllabus anchor: syllabus anchor — Computer Science: computer history recurs in every sitting of this post.
Question 70 Computer Science
Who is regarded as the first computer programmer?
- A. John von Neumann
- B. Ada Lovelace ✓ Predicted answer
- C. Grace Hopper
- D. Alan Turing
Why this answer?
Ada Lovelace is regarded as the first computer programmer.
Why predicted [C] — Syllabus anchor: syllabus anchor — Computer Science: computer history recurs in every sitting of this post.
Question 71 Computer Science
The C programming language was developed by whom?
- A. James Gosling
- B. Guido van Rossum
- C. Dennis Ritchie ✓ Predicted answer
- D. Bjarne Stroustrup
Why this answer?
Dennis Ritchie developed the C programming language.
Why predicted [C] — Syllabus anchor: syllabus anchor — Computer Science: programming languages recurs in every sitting of this post.
Question 72 Computer Science
Which language is known for 'write once, run anywhere'?
- A. C
- B. Assembly
- C. Fortran
- D. Java ✓ Predicted answer
Why this answer?
Java is known for 'write once, run anywhere'.
Why predicted [C] — Syllabus anchor: syllabus anchor — Computer Science: programming languages recurs in every sitting of this post.
Question 73 Computer Science
Python was created by whom?
- A. Guido van Rossum ✓ Predicted answer
- B. Dennis Ritchie
- C. James Gosling
- D. Larry Wall
Why this answer?
Python was created by Guido van Rossum.
Why predicted [C] — Syllabus anchor: syllabus anchor — Computer Science: programming languages recurs in every sitting of this post.
Question 74 Computer Science
What does a NOT gate do to its input?
- A. Leaves it unchanged
- B. Inverts it ✓ Predicted answer
- C. Doubles it
- D. Adds 1 to it
Why this answer?
A NOT gate inverts its input.
Why predicted [C] — Syllabus anchor: syllabus anchor — Computer Science: digital logic and logic gates recurs in every sitting of this post.
Question 75 Computer Science
How many bytes are in one kilobyte?
- A. 2048
- B. 1000
- C. 1024 ✓ Predicted answer
- D. 512
Why this answer?
One kilobyte is 1024 bytes.
Why predicted [C] — Syllabus anchor: syllabus anchor — Computer Science: number systems and units recurs in every sitting of this post.
Question 76 Computer Science
What is the main job of an operating system?
- A. To write documents
- B. To browse the web
- C. To compile programs
- D. To manage hardware and software resources ✓ Predicted answer
Why this answer?
An operating system manages the computer's hardware and software resources.
Why predicted [C] — Syllabus anchor: syllabus anchor — Computer Science: operating systems recurs in every sitting of this post.
Question 77 Computer Science
In multiprogramming, how many programs may be in main memory at the same time?
- A. Several ✓ Predicted answer
- B. None
- C. Exactly two
- D. Only one
Why this answer?
In multiprogramming several programs are kept in main memory at the same time.
Why predicted [C] — Syllabus anchor: syllabus anchor — Computer Science: operating systems recurs in every sitting of this post.
Question 78 Computer Science
What is thrashing in an operating system?
- A. A compiler error
- B. Excessive paging that slows the system ✓ Predicted answer
- C. A disk formatting error
- D. A virus attack
Why this answer?
Thrashing is excessive paging that slows the system down.
Why predicted [C] — Syllabus anchor: syllabus anchor — Computer Science: memory management and virtual memory recurs in every sitting of this post.
Question 79 Computer Science
Wasted memory in small unusable blocks between allocated blocks is called what?
- A. Paging
- B. Swapping
- C. Fragmentation ✓ Predicted answer
- D. Segmentation
Why this answer?
Fragmentation is memory wasted in small blocks between allocated blocks.
Why predicted [C] — Syllabus anchor: syllabus anchor — Computer Science: memory management recurs in every sitting of this post.
Question 80 Computer Science
What does DNS do?
- A. Encrypts emails
- B. Compresses files
- C. Routes packets
- D. Translates domain names into IP addresses ✓ Predicted answer
Why this answer?
DNS translates domain names into IP addresses.
Why predicted [C] — Syllabus anchor: syllabus anchor — Computer Science: networking protocols recurs in every sitting of this post.
Question 81 Computer Science
What is the job of a firewall?
- A. To block unauthorized access to a network ✓ Predicted answer
- B. To speed up downloads
- C. To store passwords
- D. To print documents
Why this answer?
A firewall blocks unauthorized access to a network.
Why predicted [C] — Syllabus anchor: syllabus anchor — Computer Science: network security recurs in every sitting of this post.
Question 82 Computer Science
Encryption turns plain text into what?
- A. Machine code
- B. Cipher text ✓ Predicted answer
- C. Binary code
- D. Source code
Why this answer?
Encryption turns plain text into cipher text.
Why predicted [C] — Syllabus anchor: syllabus anchor — Computer Science: network security recurs in every sitting of this post.
Question 83 Computer Science
The Turing test, proposed by Alan Turing, is a test of what?
- A. Disk capacity
- B. Compiler accuracy
- C. Machine intelligence ✓ Predicted answer
- D. Network speed
Why this answer?
The Turing test is a test of machine intelligence.
Why predicted [C] — Syllabus anchor: syllabus anchor — Computer Science: artificial intelligence recurs in every sitting of this post.
Question 84 Mathematics
What comes next in the 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
Posthumous describes something that happens or is published when?
- A. After death ✓ Predicted answer
- B. Moisture
- C. Rich
- D. Rear
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 86 English
Pick out the correctly spelt word from the four below.
- A. Dicotemy
- B. Dichotomy ✓ Predicted answer
- C. Dechotomy
- D. Dicotomy
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 87 English
What is the synonym of 'happy'?
- A. Tired
- B. Sad
- C. Glad ✓ Predicted answer
- D. Angry
Why this answer?
Glad is a synonym of happy.
Why predicted [C] — Syllabus anchor: syllabus anchor — English: synonyms recurs in every sitting of this post.
Question 88 English
What is the antonym of 'brave'?
- A. Strong
- B. Fearless
- C. Bold
- D. Cowardly ✓ Predicted answer
Why this answer?
Cowardly is the antonym of brave.
Why predicted [C] — Syllabus anchor: syllabus anchor — English: antonyms recurs in every sitting of this post.
Question 89 Everyday Science
Which vitamin does the body make when skin is exposed to sunlight?
- A. Vitamin D ✓ Predicted answer
- B. Vitamin A
- C. Vitamin C
- D. Vitamin K
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 90 Everyday Science
What is the chemical formula of water?
- A. CO2
- B. H2O ✓ Predicted answer
- C. O2
- D. NaCl
Why this answer?
Water is H2O — two hydrogen atoms and one oxygen atom.
Why predicted [C] — Syllabus anchor: syllabus anchor — Everyday Science: chemistry recurs in every sitting of this post.
Question 91 General Knowledge
Richard Nixon left office in 1974 in a way no president had before. What did he do?
- 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
Pangaea was what, in the Earth's distant past?
- A. A Super continent ✓ Predicted answer
- B. Hills formed by Lava outflow
- C. Concentration of Sulpher in hot springs
- 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 93 General Knowledge
Persian, Urdu, Turkish or Arabic — which was the official language when Muslims ruled India?
- A. Arabic
- B. Urdu
- C. Turkish
- D. Persian ✓ Predicted answer
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 94 General Knowledge
The Union Jack is the national flag of which country?
- A. Barbados
- B. UK ✓ Predicted answer
- C. USA
- D. New Zealand
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 95 General Knowledge
What is the capital of Australia?
- A. Perth
- B. Sydney
- C. Canberra ✓ Predicted answer
- D. Melbourne
Why this answer?
Canberra is the capital of Australia.
Why predicted [C] — Syllabus anchor: syllabus anchor — General Knowledge: world capitals recurs in every sitting of this post.
Question 96 General Knowledge
Which is the largest ocean in the world?
- A. Arctic
- B. Atlantic
- C. Indian
- D. Pacific ✓ Predicted answer
Why this answer?
The Pacific Ocean is the largest ocean in the world.
Why predicted [C] — Syllabus anchor: syllabus anchor — General Knowledge: world geography recurs in every sitting of this post.
Question 97 General Knowledge
Who was the first President of Pakistan?
- A. Iskander Mirza ✓ Predicted answer
- B. Ayub Khan
- C. Zulfikar Ali Bhutto
- D. Muhammad Ali Jinnah
Why this answer?
Iskander Mirza was the first President of Pakistan.
Why predicted [C] — Syllabus anchor: syllabus anchor — General Knowledge: Pakistan studies recurs in every sitting of this post.
Question 98 General Knowledge
What is the currency of Japan?
- A. Won
- B. Yen ✓ Predicted answer
- C. Ringgit
- D. Yuan
Why this answer?
The yen is the currency of Japan.
Why predicted [C] — Syllabus anchor: syllabus anchor — General Knowledge: world currencies recurs in every sitting of this post.
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: دہلی.
