please complete question 1 and 2. I make sure to givea like!!
We structure computer as series of abstractions (levels), and each abstraction (level) builds on the one below it. We are designing a computer and decide to adopt the following five-level structure Level 4: High-level Programming Language C+/Java Level 3: Assembly Language UVM Level 2: Machine Language (UVM) Level 1: Micro-Machine Mic-1 (Microprogramming Language Level 0: Gates and Circuits A user wrote a piece of C++/Java code (2 instructions in C++JAVA), which is in Level-4 int sum 0 for (i-0: i<10; i++) sum sum i; Please answer the following questions 1 1. [45 pointsLevel-3 & Level-2 a) Translate the above Level-4 code into Level-3 code (in IJVM language) b) Translate your work at Level-3 to Level-2 code (in IJVM machine language) c) Count how many IJVM instructions are used to run those 2 C++JAVA instructions. 2. [45 points]Level- a) Your above work has to be carried out by a series of Mic-l instructions. Count the number of Mic- instructions are used to to interpret (execute) the above IJVM code b) Assume this computer is driven by a 4-GHz clock (CPU speed). How many clock cycles are needed to run this the user’s code? c) How much time is needed to run the above 2 C++/JAVA sentences on this computer? Show transcribed image text We structure computer as series of abstractions (levels), and each abstraction (level) builds on the one below it. We are designing a computer and decide to adopt the following five-level structure Level 4: High-level Programming Language C+/Java Level 3: Assembly Language UVM Level 2: Machine Language (UVM) Level 1: Micro-Machine Mic-1 (Microprogramming Language Level 0: Gates and Circuits A user wrote a piece of C++/Java code (2 instructions in C++JAVA), which is in Level-4 int sum 0 for (i-0: i
Expert Answer
Answer to We structure computer as series of abstractions (levels), and each abstraction (level) builds on the one below it. We ar…