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
BigorU [14]
4 years ago
6

Say you're designing your own operating system, and you want to implement your own paging system. Give one advantage of having s

mall page sizes and give one advantage of having large page sizes.
Computers and Technology
2 answers:
zheka24 [161]4 years ago
7 0

Answer and Explanation:

Advantages of having large page sizes: Smaller page table, less page faults, less overhead in reading/writing of pages.

Advantages of having small page sizes: reduces internal fragmentation, better with locality of reference.

pochemuha4 years ago
3 0

Answer and Explanation:

Paging in operating system design help to manage memory algorithms. Although paging reduces external fragmentation, it also brings about internal fragmentation. The smaller the page size even though might result in smaller page tables reduces the amount of memory that is consumed due to internal fragmentation. The advantage of the large page size is that there are fewer page table entries (smaller page tables), and smaller TLB. It also reduces overall memory management processing on the system.

You might be interested in
Please answer........
Vitek1552 [10]

Using the try-except statement, the fix is as follows:

while True:

   try:

       boxes = int(input("How many boxes do you have?"))

       sweaters = int(input("How many sweaters do you have?"))

       break

   except:

       print("Input invalid")

sweatersPerBox = sweaters/boxes

print("You need to put",sweatersPerBox,"sweaters in each box")

<h3>How to prevent the program from crashing?</h3>

The program is given as:

boxes = int(input("How many boxes do you have?"))

sweaters = int(input("How many sweaters do you have?"))

sweatersPerBox = sweaters/boxes

print("You need to put",sweatersPerBox,"sweaters in each box")

The above program would crash when the user enters string inputs.

Examples of string inputs are "7h", "bh"...

One way to fix the error is the use of the try-except statement.

Using the try-except statement, the fix is as follows:

while True:

   try:

       boxes = int(input("How many boxes do you have?"))

       sweaters = int(input("How many sweaters do you have?"))

       break

   except:

       print("Input invalid")

sweatersPerBox = sweaters/boxes

print("You need to put",sweatersPerBox,"sweaters in each box")

The above program would continue running until the user enters a valid input

Another way is to end the program when the user enters string inputs

Read more about python programs at:

brainly.com/question/26497128

#SPJ1

7 0
2 years ago
The sales of last 6 months are stored in a list,
MissTica

list1 = [12500, 35000, 12000, 40000, 55000,60000]

print(sum(list1)/len(list1))

We take the sum of all the elements in the list and divide the sum by the quantity of the elements. You can put however many elements in this list and you'll always get the average using the algorithm above.

6 0
3 years ago
Write a function called middle(string str) that returns a string containing the middle character in str if the length of str is
jenyasd209 [6]

Answer:

Note: a) If the length of the string is odd there will be two middle characters.

Explanation:

b) If the length of the string is even there will be one middle character. There was a problem connecting to the server. Please check your connection and try running the trinket again.

3 0
2 years ago
A Floppy Disk is an example of:
lisov135 [29]

Answer:

B I think-

Explanation:

Its either Primary or Secondary :) pretty sure its secondary tho

6 0
3 years ago
The __________ web site and list site seclists.org is home to the leading free network exploration tool, nmap.
maksim [4K]
The nmap.org website

Nmap is an open source utility for security auditing and network discovery. Many network admins also use it for networks inventory and monitoring host or service uptime. It uses raw IP packets in novel ways to determine what hosts are available on the network.


8 0
3 years ago
Read 2 more answers
Other questions:
  • Determine whether the relation represents a function. If it is a​ function, state the domain and range.
    6·1 answer
  • Which group on the Home Ribbon allows you to add shapes to a PowerPoint slide?
    10·2 answers
  • Research different ways that 3D printing is used in society. Tell us about the items that are 3D printed.
    15·2 answers
  • On what basis can you categorize the generations of computers?
    11·1 answer
  • Which operating system is a version of Linux?​
    13·1 answer
  • One reason to buy a home instead of rent a home is:
    5·1 answer
  • Select the appropriate APA guidelines when typing a research paper.
    11·1 answer
  • A method that movie distributors are adopting to make it possible to view movies instantly, without DVD, is known as:
    11·1 answer
  • Explain the applications software that you use everyday
    5·1 answer
  • Which guideline would not promote energy conservation?
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!