Memory values and a one-address machine with an accumulator

Assignment Help C/C++ Programming
Reference no: EM13939776

Use the following to answer questions 1-1 and 1-2.

Given the following memory values and a one-address machine with an accumulator, what values do the following instructions load into the accumulator?

1-1 LOAD INDIRECT 40

A. 70

B. 50

C. 40

D. 60

E. 20

F. None of the above is correct.

1-2 LOAD INDEXED 1 20 (assume: the instruction format is LOAD INDEXED R A)

A. 40

B. 50

C. 60

D. 70

E. 20

F. None of the above is correct.

1-3 Vector computation machines use

A. vector superscalar.

B. vector directing registers.

C. vector registers.

D. vector cache memory to handle the math. operations.

E. none of the above is correct.

1-4 A typical overlay structure contains

A. overlay bit for running each phase.

B. overlay cache memory to increase the CPU performance.

C. overlay registers to store scalars to increase the CPU performance.

D. overlay control memory for storing instructions.

E. overlay area for running each phase.

1-5 Choose the best one:

A. MMU means memory mixed unit which mixes the virtual addresses with the physical memory addresses.

B. MMU is disposed inside main memory for efficiently addressing a word to be fetched.

C. MMU maps the virtual addresses onto the physical memory addresses.

D. MMU is disposed inside I/O module for efficiently addressing a word to be fetched.

E. MMU maps the physical memory addresses onto the virtual addresses.

1-6 To execute programs n, o, p, q, r, s, system A needs 300, 400, 500, 600, 700, 800 seconds respectively; system B needs 500, 600, 700, 800, 900, 1000 seconds respectively; system C needs 300, 400, 500, 1000, 1500, 800 seconds respectively; and system D needs 600, 400, 500, 900, 1500, 800 seconds respectively. What is the geometric means for system B normalized to A:

A. 0.815751

B. 0.714754

C. 1.376521

D. 0.715753

E. None of the above is correct.

1-7 Choose the best one:

A. If a positive integer is right rotated K bits, the result is the original number divided by 2k.

B. If a positive integer is left shifted K bits, the result, barring overflow, is the original number divided by 2k.

C. If a positive integer is right shifted K bits, the result is the original number divided by 2k-1.

D. If a positive integer is right shifted (K-1) bits, the result is the original number divided by 2k.

E. None of the above is correct.

1-8 A machine has a 32-bit byte-addressable virtual address space. The page size is 8KB. How many pages of virtual address space exist?

A. 724,288
B. 399,288
C. 624,288
D. 499,288
E. 524,288

1-9 Superscalar and Superpipelined questions:

Compare the time (in base cycles) needed for executing 180 instructions in three approaches (Base Machine; Superscalar; and Superpipelined). The Superscalar and Superpipelined approaches are of degree 9 and use the pipeline having 5 stages: instruction fetch, operation decode, operand calculation, operation execution, and result write back. Choose the best one:

A. Base Machine requires: 180 cycles
B. Superscalar requires: 28 cycles
C. Superscalar requires: 26 cycles
D. Superpipelined requires: 24 + 8/9 cycles
E. None of the above is correct.

 

Reference no: EM13939776

Questions Cloud

Do you agree or disagree with chuck davis : Do you agree or disagree with Chuck Davis and the advice that he gave Leonard Bryner? Explain. Was there anything wrong or unethical in the behavior that Chuck Davis displayed? Explain your reasoning.
Problem regarding the shell suspends arctic drilling : In February 2013, Royal Dutch Shell announced that it was suspending its offshore drilling programme in the Arctic for the rest of the year due to safety reasons.
Describe how you would go about dating this site : You have found some very old stone tools in an excavation in Olduvai Gorge, Africa. These stone tools are in association with soe extinct plant fossils and a cooking hearth, and are located in between volcanic strata. Describe how you would go a..
Production of x rays within a hospital : a) Explain the two processes involved in the production of X Rays within a hospital setting ensuring you describe both continuous and characteristic spectrums created.
Memory values and a one-address machine with an accumulator : Given the following memory values and a one-address machine with an accumulator, what values do the following instructions load into the accumulator?
Discuss the three major trends that have prevailed : Discuss the three major trends that have prevailed in international business during the last two decades.
Models parameters on the difference in net present value : The Executive Committee of PLE is debating whether to replace its original tractor model, the PLE-Classic, with a new model, the PLE-Tough, which would appeal to a younger clientele. Whatever tractor chosen will be produced for the next 4 years, afte..
What bacterial structure does penicillin weaken : Chemotaxis in E. coli depends on what flagellar characteristic? What bacterial structure does penicillin weaken?
Medication management plan for kate : You are required to answer the following questions on the case study below and provide a 600 word medication management plan for Kate.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Generate menu for all of the given keyboard functionalities

Generate a menu for all of the above keyboard functionalities. Keyboard event ‘d' and mouse-picking to delete an existing control vertex

  Write a program to simulate lines in a grocery store

Write a program to simulate lines in a grocery store. We want to determine what line configuration is best

  Choice of converting the time between the two notations

Write a program to convert the time from 24-hour notation to 12-hour notation and vice versa - Your program must be menu driven, giving the user the choice of converting the time between the two notations.

  Nbspyou are to insert the missing code in the c program

nbspyou are to insert the missing code in the c program given for combinational equivalence checking. this program will

  Ohio phonebook has gotten mixed up

In an accident, the Ohio phonebook has gotten mixed up. The names are now really out of order. You and your enthusiastic, but naive, assistant Carl must fix the problem. No one can use the phonebook while you are sorting it, so every extra second of ..

  Savingsaccount objects and two checkingaccount objects

Develop a polymorphic banking application using the Account hierarchy you created. Create the following two SavingsAccount objects and two CheckingAccount objects and store them in an array called "arrays" of Account references to the objects

  Write the definition of the constructor in line 1

Write the definition of the constructor in Line 1 so that the private member variables are initialized to 0.

  Rewrite the overloaded input operator for the ratio class

Rewrite the overloaded input operator for the Ratio class so that, instead of prompting for the numerator and denominator, it reads a fraction type as "22/7".

  We can combine assignment statements

We can combine assignment statements, for-loops, and if statements to perform a wide range of tasks with lists. Suppose we have a bookstore with each book defined as follows: Book = namedtuple('Book', 'author title genre year price instock') , wher..

  What are the three oops principles

What are the three Oops principles, define them and What is the difference between C++ & Java?

  Write a program that creates a picture of a mountain

Write a program that creates a picture of a mountain panorama from a height profile entered by the user -  The height profile shall be stored in a one-dimensional array of integers. The array indices correspond to the columns of the picture. The va..

  Program that is supposed to search message.txt and print out

I'm having trouble with a program that is supposed to search message.txt and print out the message. i will upload instructions. We must use functions, and we were not instructed on how to search char arrays for this purpose and I am lost. Your hel..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd