Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
5 views
2 pages
Parallel and Distributed Computing (PDC) Mid Term Spring 2024
Parallel and Distributed Computing
Uploaded by
abbastayyaba417
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download
Save
Save Parallel and Distributed Computing (PDC) Mid Term ... For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
5 views
2 pages
Parallel and Distributed Computing (PDC) Mid Term Spring 2024
Parallel and Distributed Computing
Uploaded by
abbastayyaba417
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Carousel Previous
Carousel Next
Download
Save
Save Parallel and Distributed Computing (PDC) Mid Term ... For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 2
Search
Fullscreen
Cniversity of Centeal unjab Faculty of Inforn tion Technology Parallel and Distributed Computing Mid Term: Spring 2024 Registration: —_ (Mas, Marks: “35 Note: Attempt all questions on (342 points) o ‘What sort of cache locality is achievable inthe following code an how wo! you bani? (Assume row major ordering in memory forthe rays.) For Gn: jem jo) For (nds ie +4) AQ) > AIL) + BEIGE: code using loop which coun’ be paraletized? we (2 pin “60% of a program's exscution time oceurs inside'a loop tha: can be executed in parallel and rest 40% in Serial Write 2) What isthe maximum speedup we should expect fom 8 parallel version ofthe prog executing 4 ofeore CPU? b)__fwe wanted to achieve 4 time speedup how many processing wits wil be required, iit possible to gain such speedup? Q3 6 points) Write a program that creates an N number of threads to sum an array of 1000 elements. The 1 is passed to the program as a command-argument, All of the threads musi be extended fiom the same function. The array must be declared and initialized inthe main thread. You ‘may initialize the aray using rand() function.qn (ut points + below the task dependency araph, weighted node represents the take, and cach directed edge coco its dapendensy Answer next questions based on this graph, Ge) Ga) 2) What isthe best possible parallel computation time? CO) What is maximum degree of concurreney? utscnemeattamrterterpmeser (E) 2) Ca) C8) 44) Minimum processor needed to achieve the maximum, speck? G) (s) © 1) What iscritcal path and is Feng wy elicalpath fs @) Os points) Given ae he sparse matrices A and vector B. Consider the problem of sparse matrix-vector multiplication, 4 dot corresponds toa non-zero eniy. The computation is decomposed into $ tasks. Each tsk have one ro and a corresponding vector element is distributed among each task. Let tack ithe owner of row Ali, *] and cof row Blil. For example task 0 have BO} only an tsk | have Bt] only. Task i has ta compute row i of the resultC= A B, Draw the isk interaction graph using directed edges.
You might also like
Lecture 14 Firewall
PDF
No ratings yet
Lecture 14 Firewall
46 pages
Parallel Algorithm Merged
PDF
No ratings yet
Parallel Algorithm Merged
76 pages
Midterm
PDF
No ratings yet
Midterm
5 pages
S23 PDC Mid Exam
PDF
No ratings yet
S23 PDC Mid Exam
2 pages
2022 Mid 1
PDF
No ratings yet
2022 Mid 1
4 pages
Mid 1 Spring 2024
PDF
No ratings yet
Mid 1 Spring 2024
9 pages
2014 Test-2 Questions
PDF
No ratings yet
2014 Test-2 Questions
2 pages
National University of Computer and Emerging Sciences, Lahore Campus
PDF
No ratings yet
National University of Computer and Emerging Sciences, Lahore Campus
9 pages
Mid Sem2
PDF
No ratings yet
Mid Sem2
2 pages
18-Assignment 1 - Solution
PDF
No ratings yet
18-Assignment 1 - Solution
12 pages
National University of Computer and Emerging Sciences, Lahore Campus
PDF
No ratings yet
National University of Computer and Emerging Sciences, Lahore Campus
10 pages
Assignment of Algorithm
PDF
No ratings yet
Assignment of Algorithm
9 pages
Parallel Random Access Machine (PRAM) : Control
PDF
No ratings yet
Parallel Random Access Machine (PRAM) : Control
9 pages
Parallel Computing Unit 3 - Principles of Parallel Computing Design
PDF
No ratings yet
Parallel Computing Unit 3 - Principles of Parallel Computing Design
78 pages
Quiz 01 Section A
PDF
No ratings yet
Quiz 01 Section A
1 page
Lecture 6 Principles of Parallel Algorithm Design
PDF
No ratings yet
Lecture 6 Principles of Parallel Algorithm Design
35 pages
Par - 1 In-Term Exam - Course 2017/18-Q2
PDF
No ratings yet
Par - 1 In-Term Exam - Course 2017/18-Q2
7 pages
Ca PDF
PDF
No ratings yet
Ca PDF
10 pages
Untitled
PDF
No ratings yet
Untitled
25 pages
Chapter 14: Parallel Algorithms
PDF
No ratings yet
Chapter 14: Parallel Algorithms
23 pages
Par - 1 In-Term Exam - Course 2018/19-Q2
PDF
No ratings yet
Par - 1 In-Term Exam - Course 2018/19-Q2
9 pages
AAM Test-2 Scheme and Solutions-December 2024
PDF
No ratings yet
AAM Test-2 Scheme and Solutions-December 2024
8 pages
ECE408 MT2 Review FA24
PDF
No ratings yet
ECE408 MT2 Review FA24
58 pages
Pap 3 Shared Memory Algos
PDF
No ratings yet
Pap 3 Shared Memory Algos
23 pages
Cst308 Comprehensive Course Work May 2024
PDF
No ratings yet
Cst308 Comprehensive Course Work May 2024
7 pages
CS4961: Parallel Programming Midterm Exam October 20, 2011
PDF
No ratings yet
CS4961: Parallel Programming Midterm Exam October 20, 2011
4 pages
MT 1
PDF
No ratings yet
MT 1
5 pages
HPC Int I Retest Answer Key
PDF
No ratings yet
HPC Int I Retest Answer Key
10 pages
GATE2004IT
PDF
No ratings yet
GATE2004IT
14 pages
CSC 429 Mid Fall 14
PDF
No ratings yet
CSC 429 Mid Fall 14
8 pages
Lecture 5 Principles of Parallel Algorithm Design
PDF
No ratings yet
Lecture 5 Principles of Parallel Algorithm Design
30 pages
Parallel Algorithms
PDF
No ratings yet
Parallel Algorithms
19 pages
n32 Parallel
PDF
No ratings yet
n32 Parallel
16 pages
Assignment 1: 1. Example Section
PDF
No ratings yet
Assignment 1: 1. Example Section
3 pages
Parallel Processing Previous Year Question
PDF
No ratings yet
Parallel Processing Previous Year Question
11 pages
S R T S: OME Esearch Opics For Tudents
PDF
No ratings yet
S R T S: OME Esearch Opics For Tudents
3 pages
Mid 19
PDF
No ratings yet
Mid 19
3 pages
MCA 2022 Prev Yr Papers (Sem 3)
PDF
No ratings yet
MCA 2022 Prev Yr Papers (Sem 3)
15 pages
GATE Computer Science Paper 2017
PDF
No ratings yet
GATE Computer Science Paper 2017
29 pages
M.SC (Computer Science) 2013 Pattern
PDF
No ratings yet
M.SC (Computer Science) 2013 Pattern
49 pages
PAR Control1 2016 Q1
PDF
No ratings yet
PAR Control1 2016 Q1
6 pages
Gate 2004
PDF
No ratings yet
Gate 2004
12 pages
S24 PDC Mid Exam Solution
PDF
No ratings yet
S24 PDC Mid Exam Solution
5 pages
CST308 Comprehensive Course Work, May 2023
PDF
No ratings yet
CST308 Comprehensive Course Work, May 2023
6 pages
02 Multicore
PDF
No ratings yet
02 Multicore
66 pages
c3 Dependence Analysis p1
PDF
No ratings yet
c3 Dependence Analysis p1
32 pages
TY BSC Computer Sci Sem IV
PDF
No ratings yet
TY BSC Computer Sci Sem IV
16 pages
PDC Assignment 01 (Theory)
PDF
No ratings yet
PDC Assignment 01 (Theory)
3 pages
Assignment 1
PDF
No ratings yet
Assignment 1
4 pages
CS 2015 Set 3 Watermark - PDF 36
PDF
No ratings yet
CS 2015 Set 3 Watermark - PDF 36
15 pages
Written Asst2
PDF
No ratings yet
Written Asst2
27 pages
Ilovepdf Merged
PDF
No ratings yet
Ilovepdf Merged
10 pages
Ete Pyp
PDF
No ratings yet
Ete Pyp
14 pages
PDC Report
PDF
No ratings yet
PDC Report
22 pages
GATE2005
PDF
No ratings yet
GATE2005
12 pages
Modeling A Non-Uniform Memory Access Architecture For Optimizing
PDF
No ratings yet
Modeling A Non-Uniform Memory Access Architecture For Optimizing
79 pages
Cia 1 - Mca Ans Key
PDF
No ratings yet
Cia 1 - Mca Ans Key
5 pages
HW 3
PDF
No ratings yet
HW 3
12 pages
Combat Unacademy
PDF
No ratings yet
Combat Unacademy
45 pages
06 Decision Tables - Done
PDF
No ratings yet
06 Decision Tables - Done
27 pages
Topic 6A 2024
PDF
No ratings yet
Topic 6A 2024
55 pages
Numerical Solutions
PDF
No ratings yet
Numerical Solutions
2 pages
02 Testing Process - Done
PDF
No ratings yet
02 Testing Process - Done
24 pages
05 Boundary Value Analysis - Done
PDF
No ratings yet
05 Boundary Value Analysis - Done
16 pages
01a SQA - Done
PDF
No ratings yet
01a SQA - Done
28 pages
Lecture 10 DB Security
PDF
No ratings yet
Lecture 10 DB Security
33 pages
Lecture 13 ACL
PDF
No ratings yet
Lecture 13 ACL
19 pages
Lecture 11 Malware
PDF
No ratings yet
Lecture 11 Malware
17 pages
Lexical Analyzer
PDF
No ratings yet
Lexical Analyzer
16 pages
Lecture-12 SoftwareSecurity
PDF
No ratings yet
Lecture-12 SoftwareSecurity
22 pages
Introduction To Natural Language Processing
PDF
No ratings yet
Introduction To Natural Language Processing
31 pages
Intro To NLP Course Outline (Fall-2024)
PDF
No ratings yet
Intro To NLP Course Outline (Fall-2024)
4 pages
Parser and CFG
PDF
No ratings yet
Parser and CFG
12 pages
NLP Pos Ner
PDF
No ratings yet
NLP Pos Ner
11 pages