Final Exam CA 05-01-2021.doc - COMSATS UNIVERSITY ISLAMABAD...

This preview shows page 1 - 2 out of 2 pages.

COMSATS UNIVERSITY ISLAMABAD Vehari Campus, Mailsi Road, Off Multan Road, Vehari. Department of Computer Sciences Subject: Computer Architecture Class: BSCS Teacher: Shakeel Ahmad Date: 05-01-2021 Maximum marks: 50 (30 for theory,10 for MCQs, 10 for Viva voce) Time allowed: 180 min including attendance,paper,objective and submission of paper over cuonline. Final Examination Q. No. 1: If a main memory has 256 blocks (0-255) with 4 words/block and Cache has 16 lines and similar number of 4 words/line. The block called to Cache is with the following sequence 8, 255, 8, 56, 1, 6, 5, 150, 80, 251, 56, 200, 158, 182, 96, 172, 68, 56, 255, 197, 208, 200, 150, 198, 200, 207, 205, 206, 80, your registration no. as word (repeat word not block) If we adopt fully associative mapping on Cache, then tell the Tag and block offset of your registration no. as word. Complete process is required? (10) Q. No. 2: a- Consider a scenario where there is program of 985 instructions . These instructions are broken down in 5 stages . Calculate the speedup for this case. Calculate the speedup if number of stages are increased to 8

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture