PREVIOUS YEAR QUESTION PAPER

CS531 – MULTI-CORE ARCHITECTURE AND PROGRAMMING

Anna University

Regulation 2004-2008 Semester 6 2013

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 PDF

How to Use This Question Paper

More Question Papers

Browse other previous year question papers for this subject.

View All Subject Question Papers

Question Paper Intelligence

Automatically extracted historical question data. Academic accuracy and examination rules require verification.

17Extracted entries
100Maximum marks (metadata)
180Duration (minutes)
4Choice candidates

Part-wise extracted questions

Part A17

Question type candidates

Other Or Unclassified12
Definition4
Short Description1

Section marks require review. Marks charts are withheld.

Optional-choice evidence

Detected alternatives only. Confirm the actual choice rules in the original question paper.

Part A — Question 12: Option a · Option b
Part A — Question 13: Option a · Option b
Part A — Question 14: Option a · Option b
Part A — Question 15: Option a · Option b

Question navigator

Extracted questions

Part A — 1

State Amdahl's law. What is its significance in the context of multi-core processors ?

Short Description
Part A — 2

What are the challenges in UMA and NUMA types of architectures ?

Definition
Part A — 3

[ist four parallel programming design patterns commonly used.

Other Or Unclassified
Part A — 4

Yow are critical sections to be handled when programming for multi-core processors ?

Other Or Unclassified
Part A — 5

What 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.

Definition
Part A — 7

What are non-blocking algorithms ?

Definition

Source quality review required

Part A — 8

When would you use non-blocking send in MPI ?

Other Or Unclassified
Part A — 9

What 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)

Definition

Source quality review required

Part A — 11

) 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 Unclassified

Source quality review required

Part A — 12a

(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 Unclassified

Source quality review required

Part A — 12b

(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 Unclassified

Source quality review required

Part A — 13a

(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 Unclassified

Source quality review required

Part A — 13b

(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 Unclassified

Source quality review required

Part A — 14a

(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 Unclassified

Source quality review required

Part A — 14b

(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 Unclassified

Source quality review required

Part A — 15a

(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 Unclassified

Source quality review required

Part A — 15b

(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 Unclassified

Source quality review required

Advanced Examination Analysis

Historical analysis based on extracted question papers. Topic classifications, marks and planning estimates are provisional.