Question

In: Computer Science

Subject: Operating System Design Homework: 1. List and briefly define the four main elements of a...

Subject: Operating System Design

Homework:

1. List and briefly define the four main elements of a computer.

2. Define the two main categories of processor registers.

3. In general terms, what are the four distinct actions that a machine instruction can specify?

4. What characteristics distinguish the various elements of a memory hierarchy?

5. What is the difference between a multiprocessor and a multi-core system?

6. What is the distinction between spatial locality and temporal locality? In general, what are the strategies for exploiting spatial locality and temporal locality?

Solutions

Expert Solution

1.

Solution:

The four main components of the CPU are as follows:

Processor: The processor, the operation of the computer is being controlled and performs the processing of the data functions.

Main memory: In the main memory, the programs and the data are stored.

Input output module: The input output module is used to move the data between the computer and the external environment.

System bus: System bus is used for the communication among the main memory, processor and the input output module.

2.

Solution:

The two main categories of the processor registers are as follows:

MAR: MAR refers to the memory address register. This provides the specification of the address in the memory for the next read and write instructions.

MBR: MBR refers to the memory buffer register. This is used to get the data from the memory or to write the memory in the memory.

3.

Solution:

Memory Processor: The data transferred from the processor to the memory and from memory to the processor.

Input output processor: The data may get transferred to or to the peripheral devices by the transfer of data between the input output module and the processor.

Processing of Data: Some operations such as logical or arithmetic can be performed on the data.

Control: Specification of the instruction which can alter the sequence of the execution.

4.

  • The characteristics that distinguishes the various elements of a memory hierarchy are the cost, the access time and the capacity.

5.

Solution:

Multiprocessors: This compute consists of more than two central processing units.

Each of them share the common main memory along with the shared peripherals.

The multiprocessor computers are helpful for simultaneous processing of the programs.

Multicore processors: the multicore processors also refers to the chip multiprocessor. In this, more than two processes are combined into a single piece of silicon which is called as a die.

6.

Solution:

  • Spatial locality refers to the involvement of the various number of locations of the memory that are being clustered.
  • Temporal locality refers to the processor’s tendency in order to access the locations of the memory that are being used recently.

The strategies for exploiting the localities are as follow:

  • The temporal locality is exploit by keeping the data and the instructions that are recently being used in the memory of cache and then exploit the hierarchy of the cache.
  • The spatial locality is being exploit by making use of larger blocks of cache along with incorporating the prefetching mechanisms.

Related Solutions

Subject: Operating system Design Homework: (NEED URGENT) Read the following Papers: Research Paper 1: E.C. Hendricks...
Subject: Operating system Design Homework: (NEED URGENT) Read the following Papers: Research Paper 1: E.C. Hendricks and T.C. Hartmann, "Evolution of a Virtual Machine Subsystem," IBM Systems Journal, Vol. 18, No. 1 (1979), pp. 111-142. (THIS IS LINK: https://ieeexplore.ieee.org/document/5387989) SO you can fine paper. Research Paper 2: Andy Chou, Junfeng Yang, Benjamin Chelf, Seth Hallem, Dawson Engler, "An Empirical Study of Operating System Errors." In Proc. of 18th ACM Symposium on Operating Systems Principles, 21--24 October 2001 (THIS IS LINK:...
Define an HMO and list the four main models of organization. Also, define a PPO and...
Define an HMO and list the four main models of organization. Also, define a PPO and the major models of organization. How do HMO and PPOs differ from each other? 
List and briefly explain the 4 main elements we use in Marketing to carry out a...
List and briefly explain the 4 main elements we use in Marketing to carry out a Market Segmentation
Briefly list the four main ways in which a household’s consumption smoothing can be limited. Then...
Briefly list the four main ways in which a household’s consumption smoothing can be limited. Then expand thoroughly on what you know about these restrictions to consumption smoothing. Use graphs whenever necessary.
Briefly define the following terms: 1.Autonomy and three basic elements
Briefly define the following terms: 1.Autonomy and three basic elements
According to the classic model, list and briefly define the four basic types of supervisory skills....
According to the classic model, list and briefly define the four basic types of supervisory skills. Which of these are of the most importance? Why? Question 1 options:
1.6 List and briefly define the fundamental security design principles. 1.7 Explain the difference between an...
1.6 List and briefly define the fundamental security design principles. 1.7 Explain the difference between an attack surface and an attack tree.
briefly define the scope of VAT in Botswana, The subject is taxation
briefly define the scope of VAT in Botswana, The subject is taxation
QUESTION FOUR [20] List and briefly explain the main types of unemployment, including in your answer...
QUESTION FOUR [20] List and briefly explain the main types of unemployment, including in your answer a discussion of the type of unemployment that is most prevalent in your country QUESTION ONE [25] Fully discuss how the production possibility frontier (PPF) can be used to illustrate economic growth. Include in your answer the main factors that contribute to economic growth. Apply this concept of the PPF to a country of your choice.
Define Monopolistic and briefly describe the main aims of it.
Define Monopolistic and briefly describe the main aims of it.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT