1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
koban [17]
3 years ago
11

Consider an allocator that uses an implicit free list. The layout of each allocated and free memory block is as follows: 31 210

Header Block Size (bytes) Footer Block Size (bytes) Each memory block, either allocated or free, has a size that is a multiple of eight bytes. Thus, only the 29 higher order bits in the header and footer are needed to record block size, which includes the header and footer. The usage of the remaining 3 lower order bits is as follows: • bit O indicates the use of the current block: 1 for allocated, O for free. • bit 1 indicates the use of the previous adjacent block: 1 for allocated, O for free. • bit 2 indicates the use of the next adjacent block: 1 for allocated, O for free. Given the contents of the heap shown below, fill in the blank to show the new contents of the heap after a call to free(Ox400b010) is executed. Your answers should be given as hex values (omit leading zeros). Note that the address grows from bottom up, and each "cell" is four bytes. Assume that the allocator uses immediate coalescing, that is, adjacent free blocks are merged immediately each time a block is freed. Also assume that any blocks not shown are allocated. Contents of the heap before call to free(0x400b010): Contents Address 0x400b030 Ox17 0x400b02c Ox2 0x400b028 Ox1 0x4005024 Ox17 0x4006020 Oxid 0x400b01c Oxfffffffc 0x400b018 Oxfffffffd 0x400b014 Oxfffffffe 0x400b010 Oxffffffff 0x400bOOC Ox 1d 0x40050080x16 0x40050040x200b6010 0x4005000 0x800b5110 0x400affc 10x16 Contents of the heap after call to free(Ox400b010): Address Contents 0x4005030 Ox 17 0x2 0x400b02c B 0x400b028 Ox1 0x40050240x 17 0x400b020 Ox 1d Oxfffffffc 0x400b01c 0x400b018 0x4005014 Oxfffffffd Oxfffffffe Oxffffffff 0x4005010 0x400b0oc Ox 1d 0x400b008 Ox 16 Ox400b004 Ox200b601c Ox400b000 Ox800b5110 0x400affc Ox 16 Answer 1: 17 Answer 2: 17 Answer 3: 1d Answer 4: 1d Answer 5: 16 Answer 6: 16 Incorrect Question 7 0/3 pts Consider an allocator that uses an implicit free list. The layout of each allocated and free memory block is as follows: 31 210 Header Block Size (bytes) I------------ ----I---- ------------ - - - - - -- - -- - - - - Footer Block Size (bytes) ----------- Each memory block, either allocated or free, has a size that is a multiple of eight bytes. Thus, only the 29 higher order bits in the header and footer are needed to record block size, which includes the header and footer. The usage of the remaining 3 lower order bits is as follows: • bit O indicates the use of the current block: 1 for allocated, 0 for free. . bit 1 indicates the use of the previous adjacent block: 1 for allocated, O for free. • bit 2 indicates the use of the next adjacent block: 1 for allocated, O for free. Given the contents of the heap shown below, fill in the blank to show the new contents of the heap after a call to free(0x400b010) is executed. Your answers should be given as hex values (omit leading zeros). Note that the address grows from bottom up, and each "cell" is four bytes. Assume that the allocator uses immediate coalescing, that is, adjacent free blocks are merged immediately each time a block is freed. Also assume that any blocks not shown are allocated. Contents of the heap before call to free(0x400b010): Address Contents Ox400b030 Ox17 Ox2 0x400502 0x400b028 0x4005024 Ox1 Ox17 Ox400b020 Ox1d 0x400b01c Oxfffffffc Ox400b018 Oxfffffffd Ox400b014 Oxfffffffe Ox400b010 Oxffffffff 0x400b0Oc Oxid Ox400b008 Ox16 0x40050040x200b6010 0x400b000 0x800b5110 Ox400affc Ox16 Contents of the heap after call to free(0x400b010): Address Contents 0x400b030 Ox 17 Ox2 0x400b02C 0x400b028 Ox1 0x4005024 Ox 17 0x400b020 Ox 1d Ox400b01c Oxfffffffc Ox400b018 Oxfffffffd Oxfffffffe 0x4005014 0x400b010 Oxffffffff 0x400b00c Ox o 0x400b008 Ox 0 Ox400b004 Ox2005601c 0x400b000 0x800b511c 0x400affc Ox O
Computers and Technology
1 answer:
kakasveta [241]3 years ago
6 0

Answer:

Explanation:

start with what you know

You might be interested in
Formatting can be applied to
valkas [14]
Formatting can maybe be applied to software works
8 0
3 years ago
Read 2 more answers
Explain about forensic tools?
Ganezh [65]

Answer:

 In the computer forensics, it basically examining the digital media by using the different types of specialist tools which is known as forensic tool.

It has the ability to acquiring the several evidence from the computer hard disk and by copying information, the data from the machine that can be procured and after that broke down for any data that is appropriate for the case.

There are different types of forensics tools that are:

  • SIFT (SANS Investigative Forensics Toolkit)
  • Volatility
  • Redline
  • Digitally forensics framework
  • COFEE

4 0
3 years ago
True or false? Main Content (MC) may include links on the page.
nevsk [136]
True. 
You can create a permalink which is also a link inside your main content to link your topic to another similar or helpful topic. Sometimes we can put it in a way that we only pasted the entire link or just used a work then insert the link inside that work to redirect to another page

3 0
3 years ago
Why is removing presentation-oriented markup from one's html document considered to be a best practice?
Gelneren [198K]

Answer

Its for the purpose of  maintenance and readability

Explanation

A presentation-oriented markup web application generates interactive web pages containing various types of markup language.

Markup is a language designed for the purposes of processing definition and presentation. It specifies code for formatting, both the layout and style, within a text file. Markup describes the structure while the styling is how it looks. it uses the code to specify the formatting which are called tags.

3 0
3 years ago
Device management is the process of managing
faltersainse [42]
Device management is the process of managing the devices in your computer. In your computer you have the so-called device manager, in which all the drivers of your devices are installed. Device Manager allows you to monitor and manage each of its devices. You can also uninstall and update your devices in device manager. And the process of doing it is called device management. It is very simple to do this kind of stuffs as long you are familiar with your devices like mouse, printer, keyboard, etc.
8 0
3 years ago
Other questions:
  • Image below please help
    9·1 answer
  • Suppose the m2 money supply is $13 trillion, including: $7 trillion in savings accounts $3 trillion in checking accounts $1 tril
    9·1 answer
  • In general terms, a program that is broken into smaller units of code such as methods, is known as a ________
    6·1 answer
  • Cuales Son las características de la máquina analítica de Carlos Babbage ?
    11·1 answer
  • PLEASE HELP
    6·1 answer
  • Within the sites that support disaster recovery, ___________ is a separate and fully equipped facility where the company can mov
    6·1 answer
  • The process known as "bitmapping" is defined as information in _____. PLEASE HELP FAST
    11·1 answer
  • A sequence of repetitive operations performed to evaluate the ability of a PC to operate at peak efficiency for a defined time p
    15·1 answer
  • Write a nested loop to set values as follows: [0] [1] [2] [3] [4] [0] 1 2 3 4 5 [1] 1 2 3 4 5 [2] 1 2 3 4 5 [3] 1 2 3 4 5
    12·1 answer
  • Bunco is a dice throwing game that requires no decisions to be made or skill on the part of the player just luck. In the simples
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!