State Amdahl's law. What is its significance in the context of multi-core processors ?
Short DescriptionCS531 – MULTI-CORE ARCHITECTURE AND PROGRAMMING
Anna University
Question Paper Details
| University | Anna University |
|---|---|
| Degree | B.Tech. Information and Technology |
| Department | Information and Technology |
| Regulation | Regulation 2004-2008 |
| Semester | 6 |
| Subject Code | CS531 |
| Subject Name | MULTI-CORE ARCHITECTURE AND PROGRAMMING |
| Exam Session | Oct Nov 2013 |
| Duration | 3 Hours |
| Maximum Marks | 100 |
View Question Paper PDF
Access the previous year question paper for your examination preparation.
View / Download PDFHow to Use This Question Paper
- Understand the examination pattern.
- Practise questions within the allotted time.
- Identify topics that require further revision.
- Compare with other previous year papers.
More Question Papers
Browse other previous year question papers for this subject.
View All Subject Question PapersQuestion Paper Intelligence
Automatically extracted historical question data. Academic accuracy and examination rules require verification.
Part-wise extracted questions
Question type candidates
Section marks require review. Marks charts are withheld.
Optional-choice evidence
Detected alternatives only. Confirm the actual choice rules in the original question paper.
Question navigator
Extracted questions
What are the challenges in UMA and NUMA types of architectures ?
Definition[ist four parallel programming design patterns commonly used.
Other Or UnclassifiedYow are critical sections to be handled when programming for multi-core processors ?
Other Or UnclassifiedWhat are the constructs/functions you will use in openMP to do the following : (a) ‘To wait for all threads to come to a point. (b) ‘To ensure that all threads get an equal share of the computation. %. Show how an openMP program may end-up in a deadlock.
DefinitionWhat are non-blocking algorithms ?
DefinitionSource quality review required
When would you use non-blocking send in MPI ?
Other Or UnclassifiedWhat are the parameters to be specified for the scatter operation in MPI ? (0. Consider a program that has been cache-optimized for a single-core processor. Htow would the performance be affected if multiple copies of the same program were run on a multi-core processor? PAR1I-B ( X 16 = 80 Marks)
DefinitionSource quality review required
) Differentiate ILP, DLP from ‘TLP. Which of these are supported on current multi-core processors ? (10) (ii) Discuss the challenges that need to be handled in distributed shared memory architectures. (6)
Other Or UnclassifiedSource quality review required
(a) Gi) Explain the use of various types of locks for syachronization. 10 p YP ர் (ii) Give an example program that uses condition variable for the producer-consumer problem. (6)
Other Or UnclassifiedSource quality review required
(b) (i) Explain the different synchronization primitives. Specify applications suitable for cach. (10) ~ (ii) Analyze the following doop for parallelism. Which programming pattern does this fall into ? for (i=1, i<= 1024, i++) | for G=1, j<=1024; j++) if (afii[j] < 128) ௦101-0; else 011])]-1; c=alil{j] ~ DLT: afitU][j+1] += c/16; } } ; (6)
Other Or UnclassifiedSource quality review required
(a) (i) Write a parallel program using openMP to find the maximum number in an nxn matrix. Estimate the speed-up expected with k processors. (10) (ii) Explain the problem of livelock and how it can be handled. (6)
Other Or UnclassifiedSource quality review required
(b) (i) Explain the OpenMP constructs for the following — reduction, schedule, and work-sharing. (10) (ii) Explain when cache-line ping-ponging occurs in non-blocking algorithms. (6)
Other Or UnclassifiedSource quality review required
(a) (i) Write parallel code for obtaining the frequency of words in a huge document using MPI. (10) (ii) Fxplain the different point-to-point communications functions used in MPL. (6)
Other Or UnclassifiedSource quality review required
(b) (i) Write parallel code using MPI for performing binary search. :xplain how you are partitioning the problem, and estimate the speed-up expected. (10) (it) Explain the use of scatter and gather operations in MPT. (6)
Other Or UnclassifiedSource quality review required
(a) (i) Explain the memory and cache related issues.to be considered when optimizing code for multi-core processsors. (10) (ii) How would you determine the optimum number of threads to be used ? (6)
Other Or UnclassifiedSource quality review required
(b) (i) Explain the challenges faced in debugging openMP and MPI programs. What support is required from debug tools for these programs ? (10) \ (ii) What are the parameters that affect the performance of an MPI program ? Explain. (6) eee GOOD LUCK *****
Other Or UnclassifiedSource quality review required
Advanced Examination Analysis
Historical analysis based on extracted question papers. Topic classifications, marks and planning estimates are provisional.