1.
You are designing a parallel algorithm for an OpenMP application. You write the following pseudocode to represent the sequential logic of the algorithm. (Line numbers are included for reference only.) 01 do i = 1, m 02 do j = 1, n 03 x = i/real(m) 04 y = j/real(n) 05 depth[j, i] = calculate_val(x, y) 06 enddo 07 enddo You need to identify the variables that must be declared as private variables to correctly parallelize the algorithm. Which set of variables should you select?
2.
You are an application developer for your company. Users report that the performance of an application installed on your company
3.
You create an OpenMP application by using Microsoft Visual C++. You are debugging the application. You set a breakpoint to the first line of code inside an OpenMP parallel region. The first thread execution inside the OpenMP parallel region must be debugged. You need to ensure that you debug the first thread in isolation when you step through the code. What should you do?
4.
You create a Windows Communication Foundation (WCF) service to upload a large amount of input data for a protein-folding process. The service will run on a Windows HPC Server 2008 cluster. You configure the binding of the WCF service endpoint by using the following XML fragment. (Line numbers are included for reference only.) 01 02 Lead your way to certificates! 03 You plan to write a single operation named UploadProteinFoldingData. You need to ensure that data is uploaded by using the streaming transfer mode. What should you do?
5.
You plan to develop a parallel application by using Windows HPC Server 2008. You plan to use a method to control the calculations performed by each individual process. You need to ensure that different commands can be sent to each process. Which function should you use?
6.
You are designing a parallel algorithm for an OpenMP application. You write the following pseudocode to represent the sequential logic of the algorithm. (Line numbers are included for reference only.) 01 do i = 1, m 02 do j = 1, n 03 x = i/real(m) 04 y = j/real(n) 05 depth[j, i] = calculate_val(x, y) 06 enddo 07 enddo You need to identify the variables that must be declared as private variables to correctly parallelize the algorithm. Which set of variables should you select?
7.
You plan to create a parallel application by using Microsoft Visual C++. You want to use the Microsoft Message Passing Interface (MPI) library in the application. You need to ensure that the application can be compiled for both 32-bit and 64-bit platforms. You also need to ensure that targeting both platforms requires minimum maintenance. What should you do?
8.
You create an OpenMP application by using Microsoft Visual C++. You write the following code segment. (Line numbers are included for reference only.) 01 int addIndices(int a,int b) 02 { 03 return a+b; 04 } 05 int _tmain(int argc, _TCHAR* argv[]) 06 { 07 int i, j; 08 int a[10][10]; 09 #pragma omp parallel for 10 for (i = 0; i < 10; i++) 11 for (j = 0; j < 10; j++) 12 { 14 a[i][j] = addIndices(i, j); 15 } 16 } The code segment stores some incorrect data in the array. You need to ensure that the code segment stores only correct data in the array. What should you do?
9.
You create a Windows Communication Foundation (WCF) service to upload a large amount of input data for a protein-folding process. The service will run on a Windows HPC Server 2008 cluster. You configure the binding of the WCF service endpoint by using the following XML fragment. (Line numbers are included for reference only.) 01 02 Lead your way to certificates! 03 You plan to write a single operation named UploadProteinFoldingData. You need to ensure that data is uploaded by using the streaming transfer mode. What should you do?
10.
You plan to develop a parallel application by using Windows HPC Server 2008. You plan to use a method to control the calculations performed by each individual process. You need to ensure that different commands can be sent to each process. Which function should you use?