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

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

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