Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask C/C++ Expert


Home >> C/C++

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.

 

C/C++, Programming

  • Category:- C/C++
  • Reference No.:- M91610650
  • Price:- $20

Priced at Now at $20, Verified Solution

Have any Question?


Related Questions in C/C++

There are several ways to calculate the pulse width of a

There are several ways to calculate the pulse width of a digital input signal. One method is to directly read the input pin and another method (more efficient) is to use a timer and pin change interrupt. Function startTi ...

Why do researcher drop the ewaste and where does it end

Why do researcher drop the ewaste and where does it end up?

Assign ment - genetic algorithmin this assignment you will

ASSIGN MENT - GENETIC ALGORITHM In this assignment, you will use your C programming skills to build a simple Genetic Algorithm. DESCRIPTION OF THE PROGRAM - CORE REQUIREMENTS - REQ1: Command-line arguments The user of yo ...

Project - space race part a console Project - Space Race Part A: Console Implementation

Project - Space Race Part A: Console Implementation INTRODUCTION This assignment aims to give you a real problem-solving experience, similar to what you might encounter in the workplace. You have been hired to complete a ...

What are the legal requirements with which websites must

What are the legal requirements with which websites must comply in order to meet the needs of persons with disabilities? Why is maximizing accessibility important to everyone?

Assignment word matchingwhats a six-letter word that has an

Assignment: Word Matching What's a six-letter word that has an e as its first, third, and fifth letter? Can you find an anagram of pine grave. Or how about a word that starts and ends with ant (other than ant itself, of ...

Software development fundamentals assignment 1 -details amp

Software Development Fundamentals Assignment 1 - Details & Problems - In this assignment, you are required to answer the short questions, identify error in the code, give output of the code and develop three C# Console P ...

1 implement the binary search tree bst in c using the node

1. Implement the Binary Search Tree (BST) in C++, using the Node class template provided below. Please read the provided helper methods in class BST, especially for deleteValue(), make sure you get a fully understanding ...

Question 1find the minimum and maximum of a list of numbers

Question: 1. Find the Minimum and Maximum of a List of Numbers: 10 points File: find_min_max.cpp Write a program that reads some number of integers from the user and finds the minimum and maximum numbers in this list. Th ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As