Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

Question 1. A CPU has 6 bits physical address and generates addresses 00,01, 02, 04 ,08 06 , 10, 0E, OF and 16 in hex.

A. Show the contents of the cache using two way set associative mapping, assume LRU replacement policy.

  V TagData B1 B0 LRU

00

 

 

 

 

 

01

 

 

 

 

 

10

 

 

 

 

 

11

 

 

 

 

 

 


V
TagData
B1
B0
LRU

00

 

 

 

 

 

01

 

 

 

 

 

10

 

 

 

 

 

11

 

 

 

 

 

Question 2. Computer has 24 bits physical address and each memory location holds one byte. This computer has 64 cache lines ( 64 blocks), each block holds 16 bytes. Show format of address bus (tag , Index, and byte offset) using
A. Direct mapping.
B. 4 way set associative
C. 8 way set associative

Question 3. A computer has 16Kbytes of virtual memory, 8 Kbytes of main memory and page size of IK bytes. Following figure shows TLB and page table of the computer.

1. How many bits is virtual address
2. How many pages are in virtual memory
3. How many bits require for physical address
4. How many frames (blocks) are in main memory
5. Following virtual addresses are given, find physical addresses and identify if each address generates TLB Hit page, Page table Hit or(page fault or not

Address              TLB Hit Page Table Hit Page fault Physical address

3BAA hex

ICAChex

344F hex

Page Number  Frame Number

1110

011

0111 .

010

TLB

Page table Page frame V

0000

110

1

0001

111

1

0010

101

1

0011

-

0

0100

001

1

0101

100

1

0110

 

0

0111

 

0

1000

- .

0

1001

 

0

1010

000

1

1011

-

0

1100

-

0

1101

 

0

1110

-

0

1111

-

0

Question 4. A processor has 32 bits virtual address, 20 bits physical address, Assume size of each page is 8k bytes.

A. What is size of Virtual memory?
B. How many pages are in virtual memory?
C. How many blocks in Physical memory?
D. What is the size of Page table (number of locations and size of each location)

Question 5. Following figure shows Virtual, Main and Cache memories of a computer. Assume following Mapping

Page 4 maps to frame #3

Page 5 maps to frame #1

CPU generates address 12, 13, 16, and 17 in hex
A. Show the content of Page table, and TLB
B. What is Physical address for each virtual address?
C. Show the content of main memory and cache
E. Determine number of page fault

1955_Figure.jpg

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M92326226
  • Price:- $80

Guranteed 48 Hours Delivery, In Price:- $80

Have any Question?


Related Questions in Computer Engineering

Question suppose you are now acting as a consultant to an

Question : Suppose you are now acting as a consultant to an organization of your choice that has one or more specific compliance requirements. Considering this scenario, respond to the following: • Describe your selected ...

Ellen is an anthropologist who has been working at olduvai

Ellen is an anthropologist who has been working at Olduvai Gorge in Tanzania for the past six months. She has been conducting research on the Internet. She finds a Web site with an article that proposes a revolutionary t ...

The solution of this exercise please 37 creating an

The solution of this exercise please: 3.7 (Creating an Autocomplete Form) Create a simple search form using a search input element in which the user can enter a search query. Using the Firefox web browser, test the form ...

student who is taking quizzes public class student

/** A student who is taking quizzes. */ public class Student { private String name; private double totalScore; private int quizCount; public Student (String n) { name = n; totalScore = 0; quizCount = 0; } public String g ...

Smart invest is a small sized investment group that caters

"Smart Invest" is a small sized investment group that caters variety of services to their clients, services such as: financial advising, 401K planing, long term and short term stocks and bonds investment and many others. ...

Question subject digital securitywhat do you think about

Question : Subject : Digital Security What do you think about how cloud makes DLP (Data Loss Prevention) more difficult? The response must be typed, single spaced, must be in times new roman font (size 12) and must follo ...

Lucinda buys a new gaming system fornbsp500 she receives

Lucinda buys a new gaming system for? $500. She receives consumer surplus of? $175 from the purchase. How much does Lucinda value her GPS? system? Please provide the explanation

Suppose a program has a button with the caption quit

Suppose a program has a button with the caption "Quit" Suppose also that Name property of this button is btnQuit. Write a btnQuit_Click event precede that gives the user a second chance before ending the program. The prt ...

Use state-transition testing to solve the following testing

Use state-transition testing to solve the following testing problem. In a course registration system, students can register for a given course when the course is in the open state. At the end of the registration period, ...

A very skilled court stenographer makes two typographical

A very skilled court stenographer makes two typographical errors (typo) per hour, on average. 1. What probability distribution is most appropriate for calculating the probability of a given number of typos being made by ...

  • 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