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]
3 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]3 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.

pochemuha3 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
Julio is the department head for his company's customer service department. His staff has complained that they spend countless h
shusha [124]
It's answer A. blog (you're gonna need it).
6 0
3 years ago
Read 2 more answers
Write a program. Commence the change to be dispensed from a vending machine. An item machine can cost between $0.25 send a dolla
SSSSS [86.1K]

Answer:

Explanation:

The objective of this question is to write a java program for a vending machine.

/* This program finds out what amount the vending machine is going to dispense. A given item in the machine can cost between $0.25 and a dollar in five-cent increments (25, 30, 35, 40...90, 95 or 100), and the machine accepts only a dollar bill to pay for the item. */

// Compile: javac PP10. java

// Run: java PP10

// imported the scanner class from util package.

import java. util. Scanner;

//class declaration

public class PP10 {

// main method is defined here.

       public static void main(String[]   args)

          {

// declaration of the variables.

             Scanner keyboard=new Scanner (System.in):

//taking the string type input

              int nl, amount, n2, n3, n4, n5;

            System.out.println("Enter price of item (from 20

cents to a dollar, in 5-cents) :");

             n1=keyboard. nextInt ();

            System.out.println("You bought an item for "+n1+"

cents and gave me a dollar");

            System.out.println ("so your change is ");

//the amount is first calculated.

          amount=100-n1;

// quarter value is calculated

            n2=amount/25;

// rest amount is get here.

            amount=amount%25;

// dime value is calculated

             n3-amount/10;

// rest amount is calculated

            amount=amount%10;

// value of nickel is calculated here

            n4=amount/5;

// rest amount is calculated

            amount=amount%5;

//at last the number of pennies is get

            n5=amount;

// Display output

              System. out . println(n2+" quarters") :

              System. out . println(n3+" dimes") ;

              System. out . println(n4+" nickels") ;

              System. out . println(n5+" pennies") ;

       }

  }

Output:

Enter the price of the item (from 20 cents to a dollar, in 5 - cents):

So, you bought an item for $0.45 and gave me one dollar; thus, your change is

2 quarters

0 dimes

1 nickel

0 pennies

4 0
3 years ago
Which statement accurately describes DTP programs?
s2008m [1.1K]

Answer:

O DTP programs are basically layout programs.

Explanation:

Desktop publishers are vector-based graphics software, and a perfect example of one such software is Microsoft Publisher. You can consider Adobe Illustrator, and Corel Draw as well, but they are huge software meant for many more things, and hence let's include only Microsoft publisher. And a long list follows as well. And they are in general a layout program used to prepare cards, advertisements, infographics, etc, and in fact the layout for them. And hence its more appropriate to say that it is basically a layout program that uses vector graphics to accomplish its goal. Various formats supported are like SVG, EPS, PDF,AI etc. And these are vector graphics based formats. The other type is Raster, and that includes Photoshop etc, with formats iike jpeg, gif etc, and which are pixel based.

7 0
3 years ago
False when you tap or click the ‘decrease font size’ button, excel assigns the next lowest font size in the font size gallery to
castortr0y [4]
That is actually true. In order to format the font, margins and alignment of a form you need to s<span>elect the control that you want to format, then right-click the selection, and then click Format Control. What you do next is that on the Font tab you select the font type, font style, font size, other formatting options for the selected text and in order to finish to press ok </span>
6 0
3 years ago
To print the number of elements in the array named ar, you can write :
Diano4ka-milaya [45]

Answer:

Option c is correct.

Example :

public class Subject

{

public static void main(String [] args)

{

int ar[]={5,4,6,7,8};

System.out.println("the number of array elements are: ",ar.length);

}

}

Explanation:

The above program is created in java language in which Subject is a class name.Inside Subject class , there is main method.

Inside the main method, there is An array named 'ar' which data type is an integer and we have assigned the value to this array.

in the next line, we are printing the total no. of the element in the array with the length function which displays the length of an array or variable.

8 0
3 years ago
Other questions:
  • Suggest two other subtasks that may be performed in a dice game?
    15·2 answers
  • Write a program in c++ that asks the user for a sequence of n​integers, where the user provides the number of elements n​ then e
    12·1 answer
  • What is the range of possible sizes for side<br> x?<br> 4.0<br> 2.7
    8·1 answer
  • Which operating system is a version of Linux?​
    13·1 answer
  • _____ should be used to create a project schedule.
    14·1 answer
  • One of the driving forces in operating system evolution is advancement in the underlying hardware technology.
    8·1 answer
  • MEOWWWWWRARRARARARARRA
    5·1 answer
  • What are the characteristics of calendar sharing options in Outlook 2016? Check all that apply.
    13·2 answers
  • The different languages that follow specific RULES. These languages use commands
    9·1 answer
  • Which of the following is not a component of Power BI?
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!