Showing posts with label quiz. Show all posts
Showing posts with label quiz. Show all posts

Thursday, October 10, 2013

Advanced computer architecture Assessment 1 (October 2013)

Part A

1) Protein string machine code has 4 days execution time on current machine doing integer instruction in 20% of time , doing I/O instruction in 35% of time and other instruction in the remaining time. Which is the better trade-off among the following two proposals?
(i) Compiler optimization that reduces the number of integer instructions by 25% (assume each integer instruction take same amount of time)
(ii)Hardware optimization that reduce the latency of each IO operation from 6µs to 5µs.

2) A computer architect need to design the pipeline of a new microprocessor. She has an example workload program with one million (106 ) instructions. Each instruction takes 100ps (1ps = 10-12  sec) to complete. How long does it take to execute this program in a non-pipelined processor? The current state-of-the-art microprocessor has about 20 pipeline stages. Assume it is perfectly pipelined. How much speedup will it achieve compared to no-pipelines processor?

3) How can a CPI < 1 be achieved? List the approaches used for it.

Part B

4) 
a) Explain Tomasulo's algorithm to overcome data hazzard using dymamic scheduling with neat diagram and an example code.
(9)

(OR)

b) Discuss the static and dynamic branch prediction techniques with suitable examples and diagrams
(9)

5)
Analyse data dependencies among the following statemens:

S1:   Load R1, 1024                    /R1 ← 1024/
S2:  Load  R2, M(10)                  /R2 ← Memory(10) /
S3: Add R1, R2                           /R1 ← (R1) + (R2) /
S4: Store M(1024) ,R1               /Memory(1024) ← (R1) /
S5: Store M((R2)) ,1024            /Memory(64) ← 1024/
Note that (Ri) means content of register Ri and Memory(10) contains 64 initially. Draw a dependence graph to show all the dependencies. Are there any resource dependencies if only one copy of each functional   unit is available in CPU?
(OR)
Consider the following code. If all istructions take 2 cycle latency ,unroll this loop to (i) twice and (ii) four times and show how a VLIW capable of two loads and two adds per cycle can use the minimum number of registers ,in the absence of pipeline interruptions and stall.
Loop: LW        R1,0(R2);
            ADDI    R5,R1,#1;
            SW       R1,0(R2);
            ADDI    R2,R2,#8;
            SUB      R4,R3,R2
            BNZ     R4,Loop

















Wednesday, October 9, 2013

Monday, October 7, 2013

quiz 06

What is the species of animal in this picture with Salvador Dali?

File:Salvador Dali NYWTS.jpg

The animal is Salvador Dali's pet Ocelot also know as dwarf leopard.It is a wild cat found in south america.

Friday, October 4, 2013

quiz 05

What is the largest desert in earth by area.

The largest desert by area is Antartic desert (13,829,430 sq.Km) followed by Artic region and the third is Sahara.
source:wiki

Thursday, September 26, 2013

Quiz 04

 Bars of X were exhibited at the Exposition Universelle of 1855,and Napoleon III's most important guests were given X cutlery, while those less worthy dined with mere silver.In 1884, the pyramidal capstone of the Washington Monument was cast of 100 ounces of pure X.

Identify the precious metal X.

The answer is aluminum.
Aluminium was once the costliest metal since the technology to extract it from its ores were not available at that time.

Wednesday, September 25, 2013

quiz 03

"Castor and Pollux were twins, when castor dies Pollux who was immortal shared half his immortality to with castor".
The above is considered the reason for a natural phenomenon which is? 

Answer:
Castor and Pollux agreed to spend 6 months on Mount olympus as immortals and 6 months on the Underworld.This was said to be the reason the constellation gemini was visible for only six months a year.

Monday, September 23, 2013

Quiz 02


Identify the phrase.
The phrase originates with American hunters and woodsmen in regions frequented by the X. X are the largest land-based predator on earth, and when expecting to deal with them the hunters would bring much more powerful rifles than they would if hunting other game.
Carrying more equipment than necessary. Overloaded. It can be used in a variety of ways meaning a person is equipped more than necessary for his/her prey.
post your answer on comments.
The phrase is 'Loaded for bear'
eg
When the police responded to the reports of a men in body armor with AK-47s robbing a bank, they came loaded for bear
.
Brown bears and.  polar bears share the title of largest land predator. The animal being referred is brown bear

Sunday, September 22, 2013

Quiz 01:

I will post a question every day.
I will start with an easy one

Identify who said the following words about what event

"We knew the world would not be the same. A few people laughed, a few people cried. Most people were silent. I remembered the line from the Hindu scripture, the Bhagavad GitaVishnu is trying to persuade the Prince that he should do his duty and, to impress him, takes on his multi-armed form and says, 'Now I am become Death, the destroyer of worlds.' I suppose we all thought that, one way or another."

There is no fun in playing this alone still 
Answer:

J. Robert Oppenheimer told the above words about atom bomb being dropped on Hiroshima.
Though he initially supported the use of nuclear weapons he changed his stance when nuclear weapon was used on Nagasaki since militarily it was not needed ,he asked for ban of nuclear weaponry