Home /UOG — University of Gujrat /Parallel & Distributed Computing

Parallel & Distributed Computing BS Computer Science UOG — University of Gujrat 2024

Parallel & Distributed Computing BS Computer Science UOG — University of Gujrat 2024 — page 1

Discussion

Ask a question about this paper, or help someone else with theirs. Answers are emailed to whoever asked.

Your email is only used to send you replies and occasional Ustadni updates. It is never shown publicly.

Log in to post under your name

No questions yet — be the first to ask.

Need Paper? See all →

Need a paper or stuck on a question? Ask here — students reply and you get an email.

Ask about a paper
  • Bushra· 21 hours ago

    BS Islamic Studies, 5th semester, ISL-511 Translation of Holy Quran (3) — Government College University Faisalabad (GCU…

    0 replies Reply →
  • Khadija· 2 days ago

    Civics course code GCCE101

    1 reply Reply →
  • Tasddaq hussain· 2 days ago

    BS 4the semester2025 civics and community engagement past paper According UOs

    0 replies Reply →
  • Humna Khan· 3 days ago

    Bs public administration 1st semester mid term past papers

    0 replies Reply →
  • Rania· 3 days ago

    BS English from uni of Sargodha Functional English, history of old English literature, literary devices and genres,

    0 replies Reply →
Ad

Paper text

UNIVERSITY OF GUJRAT

DEPARTMENT OF COMPUTER SCIENCE

Final-Term Examination Fall-2024

Course Code: CS-424

Course: Parallel & Distributed Computing

Program: BSCS

Time: 150 Min

Maximum Marks: 50

Name: ____________________ Roll No: ____________________

Q No. 01 Why is it difficult to construct a true shared-memory computer? What is the minimum (5)

number of switches for connecting p processors to shared memory with b words (where

each word can be accessed independently)?

Q No. 02 Consider set of tasks in a parallel computing system. Each task has a known execution time, (5)

and they can be executed concurrently. Calculate the average degree of concurrency for the

given set of tasks.

(a)

(b)

Q No. 03 Formulate an equation to calculate the communication cost in a distributed system. Consider (5)

factors such as message size, bandwidth, and latency.

Q No. 04 What are the criteria that are used to evaluate the cost and performance of static (5)

interconnection networks?

Q No. 05 Define cloud computing and explain its essential characteristics. Also explain the (5)

primary security challenges in cloud computing.

Q No. 06 What is difference between virtualization and containerization in cloud computing? (5)

Q No. 07 How does matrix multiplication work in parallel computing? Explain with an (5)

example.

Q No. 08 Explain Dijkstra's algorithm for shortest paths and how it can be implemented in a (5)

distributed system.

Q No. 09 Benchmarking a parallel program on 2, ........, 8 processors produces the following speedup (5)

results:

No. of

Processors 2 3 4 5 6 7 8

Ψ (n,p) 1.87 2.61 3.23 3.73 4.14 4.46 4.71

Determine serial fraction e(n,p) and find the primary reason that is contributing to the poor

performance, where Ψ (n,p) denotes speed up.

Q No. 10 Suppose you have a program with a parallelizable fraction f = 0.8, meaning 80% of the (5)

program can be parallelized. Calculate the speedup for this program using Amdahl's Law

for P=1, 2, 4, and 8 processors. Also find No. of processors required for maximum speedup.