Practise PU CET Lahore (Engineering & CS) Computer Science most repeated MCQs in sets of about 20 questions with instant answers and explanations. This page …
Loading sets…
Q1. What is the Hamming distance between 1001 and 1101?
Answer: 1
Q2. What is the output of `printf('%d', sizeof(char));`?
Answer: 1
Q3. What is the main advantage of using a Harvard architecture over a von Neumann architecture?
Answer: Faster execution due to separate instruction and data buses
Q4. In a pipelined processor, what is the primary function of the 'IF' stage?
Answer: Instruction Fetch
Q5. What is the purpose of the 'TLB' in a virtual memory system?
Answer: To cache translation of virtual to physical addresses
Q6. What is the main benefit of out-of-order execution in a processor?
Answer: Improved instruction-level parallelism
Q7. Which of the following cache replacement policies is based on the least recently used block?
Answer: LRU
Q8. What is the primary function of the 'ID' stage in a pipelined processor?
Answer: Instruction Decode
Q9. In a virtual memory system, what is the purpose of the 'page table'?
Answer: To store the mapping of virtual to physical addresses
Q10. What is the main advantage of using a multi-core processor?
Answer: Better multithreading support
Q11. Which of the following is a characteristic of a CISC (Complex Instruction Set Computer) architecture?
Answer: Microcode-based instruction execution
Q12. What is the purpose of the 'branch predictor' in a processor?
Answer: To predict the outcome of a branch instruction
Q13. In a pipelined processor, what is the effect of a 'stall' or 'bubble'?
Answer: It reduces the instruction-level parallelism
Q14. What is the primary function of the 'MEM' stage in a pipelined processor?
Answer: Memory Access
Q15. Which of the following is a type of parallelism that involves executing multiple threads or processes simultaneously?
Answer: Thread-level parallelism
Q16. What is the main benefit of using a 'write-through' cache policy?
Answer: Simplified cache coherence
Q17. Which bus is responsible for transferring data between the CPU and memory?
Answer: Data Bus
Q18. What is the term for a CPU design that uses a single pipeline for instruction execution?
Answer: Pipelining
Q19. In a cache memory system, what is the term for a cache miss that occurs when the requested data is not in the cache?
Answer: Compulsory Miss
Q20. What is the primary advantage of using a Harvard Architecture?
Answer: Separate instruction and data buses
Most Repeated Computer Science MCQs are high-yield questions that appear most often in the real paper. On Imtehan they are grouped into short sets so you can review one topic at a time before moving to timed mocks.
Imtehan organises PU CET Lahore (Engineering & CS) Computer Science questions into multiple sets. Start with the sample questions below, then open a set to practise interactively with scoring and explanations.
Yes - you can practise PU CET Lahore (Engineering & CS) Computer Science MCQs for free on Imtehan. Premium unlocks detailed analytics and unlimited mock attempts.