(Ii) Discuss About The VLIW Approach?

You might also like

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 3

Unit test que for aca and web Aca: 1. What is inter procedural analysis?

2. Use the G.C.D test to determine whether dependence exists in the following loop: for(i=1;i<=100;i=i+1) X[2*i+3]=X[2*i]*5.0;

3. What are the uses of a bit vector?


4. When do we say that a cache block is exclusive?

5.

What is consistency?

6. (i). List all the dependences in the following code fragment. Determine the loop-level parallelism in the code. for(i=2;i<100; i++) { for(j=1; j<100; j++) { a(i,j) = b(ij) + c(i,j); a(i-1, j) = b(i,j) d(i, j); b(i+1, j) = b(i,j) + c(i-1, j); c(i,j-1) = (c(i+1,j) + c(i-1, j) ) / 2; }} (6 marks) (ii). What are predicated instructions? What are its limitations? Give the processors that support conditional move. (6 marks) . 7. (a) (i) Explain the directory based protocol with a state diagram?. (ii) Discuss about the different models for memory consistency? (or) (b) (i) Compare the VLIW and super scalar approaches to ILP. (ii) Discuss about the VLIW approach? 8.(a) (i) Explain trace scheduling (ii) Explain superblocks
(4 Marks) (12 Marks)

(12 Marks) (4Marks)

(8 Marks) (8 Marks)

(or) (b) (i) What is the other name of software pipelining. Explain Software pipelining. (2 Marks) (ii) Compare hardware and Software speculative mechanisms (6 Marks)

(iii) Write short notes on Itanium processors. wtech PART: A (52 = 10 Marks) Answer All Questions 7. Explain array creation in javascript with example. 8. What is the benefit of using javascript in an HTML document? 9. what is the need for client side scripting? 10. List out the objects used in javascript with its purpose.
11. What is the use of Blur Filter.

(8 Marks)

PART: B (40 MARKS) Answer All Questions 6. Explain the global functions of Java Script. . 7. (a) (i) Develop a simple online shopping application using javascript. (8 Marks) (ii) Write a Java Script to find and print the largest and smallest values among 10 elements of an array. (8Marks) ( or) (i)Give an example of XHTML document for demonstrating the table element? (8marks) (ii)Write a javascript to display a welcome message using alert whenever a button of a html form is pressed? (8marks) 8.(a) (i)Write a javascript that inputs a telephone no as a string in the form of (555) 5555555.the script should use string method split to extract the areacode as a token the first 3 digits of the phone no as a token,the last 4 digits of the phone no as a token . Display the area code in one text field and seven digit phone no in another text field. (16marks) (or) (ii)Explain how functions can be written in javascript with example? (8marks) (iii)state and explain the types of statements in javascript? (8marks) (b) (8marks)

(b)

You might also like