Question

In: Computer Science

Assignment Questions: 1. Write a short note on external fragmentation. 2. Why we need operating system....

Assignment Questions:
1. Write a short note on external fragmentation.
2. Why we need operating system. If we don’t have operating system what would be the consequences?
3. What is BIOS?
4. Explain resources.
5. What is program counter?

Solutions

Expert Solution

1. Write a short note on external fragmentation.

External fragmentation arises when free memory is separated into small blocks and is interspersed by allocated memory. It is a weakness of certain storage allocation algorithms, when they fail to order memory used by programs efficiently. The result is that, although free storage is available, it is effectively unusable because it is divided into pieces that are too small individually to satisfy the demands of the application. The term "external" refers to the fact that the unusable storage is outside the allocated regions.

External fragmentation also occurs in file systems as many files of different sizes are created, change size, and are deleted. The effect is even worse if a file which is divided into many small pieces is deleted, because this leaves similarly small regions of free spaces.

2. Why we need operating system. If we don’t have operating system what would be the consequences?

why do we need an Operating System?

  • An OS helps multiple applications running on a single system at the same time, which saves much time.
  • As an OS virtualizes or shares a single hardware among different applications, hence we are saving more hardware resources by running an OS.
  • We can have only single system even for multiple users. Again hardware resource saving because of on OS.

If we don’t have operating system what would be the consequences?

Without OS, there is nothing left in memory. Still, your computer is not useless, because you can still install an operating system if the computer has external memory (long term), like a CD/DVD or a USB port for a USB flash drive. My current computer doesn’t have a hard disk, it has a solid state drive.

Without an operating system, you cannot execute sufficiently useful software, unless that software contains code which manages the hardware resources for itself enough to get the job done.

3. What is BIOS?

Short for Basic Input/Output System, the BIOS (pronounced bye-oss) is a ROM chip found on motherboards that allows you to access and set up your computer system at the most basic level. The picture below is an example of what a BIOS chip may look like on a computer motherboard. The BIOS pictured is of an early AMIBIOS, a type of BIOS manufactured by AMI.

4.Explain resources.

To be short and specific resources are the hardware or software required by a program to complete its execution. Like for example, in order to print a paper i might require printer, so printer is also a resource.

The main job of an operating system is to allocate and manage the resource. For example, if there are multiple programs running on my computer, its the job of my operating system to provide the resources to program. Now this allocation can be of two types:

  1. In case of the resource which is not shareable, OS will allocate it to one process for a time, take it out and allocate to other. This process will continue till all the needs of resources are over.
  2. In case of Shareable resources, simultaneous usage of resource occurs.

Also examples of hardware resources are: CPU, Memory, I/O devices, Registers, Cache and examples of Software resources are: Device Drivers, Semaphores, Monitors(“This is not the display monitor”).

5. What is program counter?

A program counter is a register in a computer processor that contains the address (location) of the instruction being executed at the current time. As each instruction gets fetched, the program counter increases its stored value by 1. After each instruction is fetched, the program counter points to the next instruction in the sequence. When the computer restarts or is reset, the program counter normally reverts to 0.


Related Solutions

In a system with 16GB, external fragmentation requires that we compact memory to fill in the...
In a system with 16GB, external fragmentation requires that we compact memory to fill in the holes. We need to copy three fourths of memory from one location to another. Assuming a 256-bit data bus with a system clock of 1GHz that requires 50 clocks per read and write, how long will it take for this operation to complete? Remember the relationship between powers of 2 and 10 and don’t worry about conversion errors.
Instructions: 1. This is a short essay assignment in which you need to write a critical...
Instructions: 1. This is a short essay assignment in which you need to write a critical response that is analytical and insightful. 2. The question: In chapter 9, we have discussed major economic crimes including: Fraud, Bribery, Forgery, Credit Crimes, Financial Market Crimes, and Money Laundering Crime. Examine only one of the above economic crimes by providing a definition of the crime, some legal features, and a discussion of the effects of the crime on the economy.
Write a short note on FRAUD ANALYST as it relate to "Information System Security"
Write a short note on FRAUD ANALYST as it relate to "Information System Security"
1. Give at least 5 reasons why we should learn the subject Operating System. (10pts) 2....
1. Give at least 5 reasons why we should learn the subject Operating System. (10pts) 2. Give at least 5 examples of Operating System. Attach actual pictures of each OS after the installation.   (10pts) 3. Explain why OS is an important part of almost every computer System. Minimum 10 Sentences. (10pts) 4. Explain the diagram of Computer System which includes (Hardware, OS, application program and users). (10pts) 5. The five major activities of an operating system in regard to process...
Assignment 3 Note: Tables referred in this assignment are same as that of Assignment 2. 1....
Assignment 3 Note: Tables referred in this assignment are same as that of Assignment 2. 1. For each table, append your student id along with the table name. For e.g. employee_student id (employee_T16363737) 2. Format for questions: a. Question: b. SQL statement solution c. Screenshot for correct input d. Screenshot for violation (if any) Q1) Check the structure of tables. Q2) Check the constraint name for applied constraints? Q3) Drop the unique constraint on ENAME Q4) Drop the Foreign Key...
Question a) write short note                     1) Metro rails                 
Question a) write short note                     1) Metro rails                      2) Mono rails                   b)Causes of rail accidents and their remedial measures
answer to these questions in very short essays Why is there a need for ethics in...
answer to these questions in very short essays Why is there a need for ethics in the workplace? Describe the costs to a company’s health of unethical behavior. Explain the U.S. Sentencing Guidelines for Organizations and list the compliance steps.
For this assignment you will need to write a short, argumentative essay in which you argue...
For this assignment you will need to write a short, argumentative essay in which you argue either for or against judicial elections. In your essay, give reasons why you are either for or against judicial elections and what system you think is best for selecting judges. The essay needs to be AT LEAST one page,
1. What is the need of a sub-station in the power system ? 2. Why are...
1. What is the need of a sub-station in the power system ? 2. Why are pole-mounted sub-stations very popular ? 3. Where we erect a terminal sub-station ? 4. Why do we use isolators on both sides of circuit breaker ? 5. What is the utility of instrument transformers in sub-stations ?
To prepare for this class assignment, view, "Wellpoint and Bernice's Story" Write a short paper (1-2...
To prepare for this class assignment, view, "Wellpoint and Bernice's Story" Write a short paper (1-2 pages) that responds to the following questions: What therapeutic communication techniques did the case manager use with Bernice and how did they promote positive care outcomes? Describe how the case manager demonstrated caring and compassion? In what ways did the case management "engage and motivate" (coach) Bernice to adopting wellness and quality of life goals?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT