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

  Design a class called complex

Design a class called Complex. The class enables operations on so called complex numbers. These are numbers of the form realPart + imaginaryPart *i, where the i has the value

  Search for the value needle in the array

Search for the value needle in the array range given by [hay_begin ... hay_end), using the Linear Search algorithm. This function will return a pointer to the needle value if it is found, or a null pointer if needle is not found.

  Research paper on arrays and use single dimension arrays

Create codes for the following problem/s. Compile, test run, and edit them if necessary. Include your original .cpp and related file(s) (if any) in a single folder. Compress (zip) the folder and submit the single zipped folder.

  Declare element array of chars named letters

Declare a 12-element array of chars named letters and what does the following program segment display?

  After the user presses any key

After the user presses any key, the board will be scrambled by making a large number of random moves (for a 3x3 puzzle, 100,000 attempted random moves in random directions will result in a sufficiently scrambled board)

  Prompts the user to enter the total number of cookies

7. A box of cookies can hold 24 cookies, and a container can hold 75 boxes of cookies. Write a program that prompts the user to enter the total number of cookies, the number of cookies in a box, and the number of cookie boxes in a container.

  Calculate the input value required to yield a desired outcom

What is the name of the special add-in program provided by Excel 2003, which enables advanced data analysis tools for performing complex statistical and engineering calculations?

  Write a program to create 100 real random numbers

Write a program to create 100 real random numbers and store it into a 1-D array.

  What is printed by the following program

What is printed by the following program?

  Complete the payroll program with following driver object

complete the payroll program with the following driver objects.

  Write a program that right-justifies text

Write a program that right-justifies text. It should read and echo a sequence of left-justified lines and then print them in right-justified format.

  Each has a string for their name

Create a class in C++ that holds robot warriors. Each has a string for their name, a number of hitpoints (an float), armor (a defensive modifier(an int)), and weaponry (an offensive multiplier(another int)). You will create 5 robots with a random ..

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