Skip to content
CS-603 · Compiler Design/Unsolved PYQ Paper

CS-603 Compiler Design - May 2024 Question Paper

Under each question, How to answer lists the points an answer should cover, outlined by CampusPrep from the syllabus. Check the details against your textbook.

  1. 7 Marks
    aDescribe the four categories in Flynn's classification of computer architecture. Give a brief description of every category?
    How to answer
    • Define Flynn's taxonomy basis: instruction and data streams
    • Describe SISD with example
    • Describe SIMD with example
    • Describe MISD with example
    • Describe MIMD with example
  2. 7 Marks
    bDifferentiate between fine-grained and coarse-grained parallelism. Discuss the types of latency present in computer architecture?
    How to answer
    • Define fine-grained vs coarse-grained parallelism
    • Compare granularity, overhead, communication
    • Define latency in computer architecture
    • Discuss types of latency e.g. communication, synchronization, memory access
    • Give examples
  3. 7 Marks
    aCompare and contrast different static interconnection network topologies in computer architecture such as mesh, tree and hypercube with neat diagrams?
    How to answer
    • Define static interconnection networks
    • Describe mesh topology with diagram
    • Describe tree topology with diagram
    • Describe hypercube topology with diagram
    • Compare in terms of degree, diameter, cost, fault tolerance
  4. 7 Marks
    bDefine memory hierarchy in computer architecture. List the different levels of memory hierarchy and describe their characteristics?
    How to answer
    • Define memory hierarchy concept and need
    • List levels: registers, cache, main memory, secondary storage
    • Describe access time, capacity, cost per bit per level
    • Explain locality principle
    • Draw pyramid diagram of hierarchy
  5. 7 Marks
    aDefine interleaved memory organization and memory interleaving. Describe how memory interleaving improves memory access performance in computer systems?
    How to answer
    • Define interleaved memory and interleaving
    • Explain high-order vs low-order interleaving
    • Describe concurrent access to multiple modules
    • Explain how it hides latency and increases bandwidth
    • Give example of sequential access performance gain
  6. 7 Marks
    bDescribe the basic architecture of a backplane bus system. How does it facilitate communication between different modules and components within a computer system?
    How to answer
    • Define backplane bus system
    • Describe bus lines, slots, modules
    • Explain arbitration, data transfer mechanism
    • Explain how it connects CPU, memory, I/O modules
    • Discuss advantages and limitations
  7. 7 Marks
    aCompare and contrast a nonlinear pipeline processor with a linear pipeline processor in terms of their ability to exploit instruction-level parallelism.
    How to answer
    • Define linear vs nonlinear pipeline
    • Explain feedforward vs feedback connections
    • Compare reservation tables and collisions
    • Compare ability to exploit ILP
    • Give examples of use cases
  8. 7 Marks
    bWhat is Dynamic Instruction Scheduling, particularly in the context of "score boarding"?
    How to answer
    • Define dynamic instruction scheduling
    • Define scoreboarding concept
    • Explain scoreboard stages: issue, read operands, execution, write result
    • Explain hazard detection and stalling
    • Compare with static scheduling
  9. 7 Marks
    aDesign a simple arithmetic pipeline with different stages. Provide a brief overview of each stage's function?
    How to answer
    • Define arithmetic pipeline concept
    • Propose stages e.g. fetch, align, add, normalize
    • Draw block diagram of stages
    • Describe function of each stage
    • Mention speedup and applications
  10. 7 Marks
    bList and briefly describe the main types of message routing schemes used in multicomputer networks.
    How to answer
    • Define message routing in multicomputer networks
    • List store-and-forward, wormhole, cut-through, virtual cut-through
    • Briefly describe each scheme
    • Compare latency and buffering needs
    • Give suitability examples
  11. 7 Marks
    aDefine vector supercomputer architecture. What distinguishes it from other types of supercomputer architectures?
    How to answer
    • Define vector supercomputer architecture
    • Describe vector registers, pipelines, chaining
    • Contrast with scalar and SIMD/MIMD supercomputers
    • Give examples e.g. Cray
    • Discuss performance for vector operations
  12. 7 Marks
    bExplain how data is shared among processing elements in a shared memory SIMD system? What mechanisms are used to ensure data consistency?
    How to answer
    • Describe shared memory SIMD organization
    • Explain how PEs access shared memory
    • Explain data sharing via shared variables
    • Describe consistency mechanisms: locks, barriers, cache coherence
    • Mention synchronization issues
  13. 7 Marks
    aWhat is the shared-variable model in parallel programming? Describe its basic characteristics?
    How to answer
    • Define shared-variable model
    • Describe shared address space concept
    • List characteristics: communication, synchronization, coherence
    • Give programming example
    • Compare with message-passing model
  14. 7 Marks
    bList and briefly explain fundamental concepts related to parallel programming environments, such as parallel compilers and debugging tools?
    How to answer
    • Define parallel programming environment
    • Explain parallel compilers: dependence analysis, optimization
    • Explain debugging tools: nondeterminism, race detection
    • Explain performance monitoring tools
    • Give examples
  15. 14 Marks
    Write short notes on any two : i) Hardware Parallelism ii) Coherence and Locality iii) Snoopy protocols iv) Data-Parallel Model
    How to answer
    • Select any two topics from list
    • Define each term with key features
    • Explain working/principle with example
    • Mention applications in advanced architecture
    • Conclude with significance
Go to where you left off?

Quick Add to Notes

Save questions, your own notes and screenshots into notes filed by unit. It takes a free account.

Create free account

Have an account? Log in