Consider a demand-paging system in which processes are performing sequential data accesses with the following time-measured utilizations: CPU utilization 20%
Paging disk 98%
Other I/O devices 10%

For each of the following, indicate yes or no to say whether or not it will (or is likely to) improve CPU utilization:

a. Install a faster CPU
b. Install a bigger paging disk
c. Increase the degree of multiprogramming
d. Decrease the degree of multiprogramming
e. Install more main memory
f. Install a faster hard disk
g. Increase the page size

Answers

Answer 1
Answer:

Answer:

a. Install a faster CPU - No

b. Install a bigger paging disk - No

c. Increase the degree of multiprogramming - No

d. Decrease the degree of multiprogramming - Yes

e. Install more main memory - Yes

f. Install a faster hard disk - Yes

g. Increase the page size - Yes

Explanation:

a. Install a faster CPU No.

Installing a faster CPU will not improve CPU utilization too much because the CPU utilization is low (20%) and the utilization of the paging disk is very high (98%), we can see that the system has lack of free memory.

b. Install a bigger paging disk No.

Installing a bigger paging disk doesn't improve the CPU utilization because the system has lack of free memory.

c. Increase the degree of multiprogramming No.

If the level of multiprogramming is increased more processes would have to be swapped in and out of the memory with a higher chance of page fault much frequently and the CPU utilization would reduce.

d. Decrease the degree of multiprogramming Yes.

If the level of multiprogramming is reduced less processes would have to be swapped in and out of memory, reducing the chance of page fault and the CPU utilization would improve.

e. Install more main memory

This is likely to improve CPU utilization as more pages can remain resident and not require paging to or from the disks.

f. Install a faster hard disk

With a faster hard disk, the CPU will get more data more quickly and this will lead to faster response and more throughput to the disks. With a faster hard disk, the disk is not a bottleneck to utilization.

g. Increase the page size

Increase the page size will likely degrade the performance, because the internal fragmentation will be worse, the utilization of main memory will be low, more processes will not be able to fit into main memory, and the system will have to spend more time in swapping. So this is as likely to decrease utilization as it is to increase it.


Related Questions

Write a program that removes all non-alpha characters from the given input. Ex: If the input is: -Hello, 1 world$! the output is: HelloworldAlso, this needs to be answered by 11:59 tonight.
What makes a computer a computer?​
___ defines a series of standards for encoding audio and video in digital form for storage or transmission. Most of these standards include compression, often lossy compression.a) JPEG b) ANSI c) ISO d) MPEG
What is the function of control unit? in computer. ​
Write a program that asks the user to enter the size of a triangle (an integer from 1 to 50). Display the triangle by writing lines of asterisks. The first line will have one asterisk, the next two, and so on, with each line having one more asterisk than the previous line, up to the number entered by the user. On the next line write one fewer asterisk and continue by decreasing the number of asterisks by 1 for each successive line until only one asterisk is displayed. (Hint: Use nested for loops; the outside loop controls the number of lines to write, and the inside loop controls the number of asterisks to display on a line.) For example, if the user enters 3, the output would be:_______.a. *b. **c. ***d. **e. *

Where does execution resume after an exception has been thrown and caught?

Answers

Answer:

The execution resumes in the finally block if one exists or otherwise from the next statement following the try...catch block.

Explanation:

Once an exception has been thrown and caught in the code, the execution continues with the statements in the finally block if one exists. If there is no finally block defined then execution resumes from the next statement following the try... catch block. For example:

try{

//An exception is raised

}

catch (Exception e){

//Exception is handled

}

System.out.println("After try...catch");

In this code segment, the next statement to be executed after catch is the System.out.println();

3. What is the error in the following pseudocode? // The searchName function accepts a string containing the name // to search for, an array of strings containing the names, and // an integer specifying the size of the array. The function // searches for the name in the array. If the name is found, the // string containing the name is returned; otherwise a message // indicating that the name was not found in the array is // returned. Function String searchName(String name, String names[], Integer size) Declare Boolean found Declare Integer index Declare String result // Step through the array searching for the // specified name. While found == False AND index <= size − 1 If contains(names[index], name) Then Set found = True Else Set index = index + 1 End If End While // Determine the result. If found == True Then Set result = names[index] Else Set result = "That name was not found in the array." End If Return result End Function

Answers

Answer:

The answer is "In the given pseudo-code there are three errors".

Explanation:

The description of the errors can be defined as follows:

  • The first error in this code is that the variable doesn't initialize any value with a variable, which is equal to false.
  • The second error is it does not return any string value.
  • At the last, if the conditional statement doesn't work properly because in this block if the name is found, it doesn't print any error message.

Write a program whose input is a character and a string, and whose output indicates the number of times the character appears in the string. Ex: If the input is: n Monday, the output is: Ex: If the input is: z Today is Monday, the output is: Ex: If the input is: n It's a sunny day, the output is Case matters. Ex: If the input is: n Nobody, the output is: n is different than N LAB ACTIVTY 4.12.1: LAB: Count characters 6/10 LAB ACTIVTY 4.12.1: LAB: Count characters 6/10 main.cpp Load default template... 1 #include«iostream» 2 using namespace std; 3 int mainO t 4 5 char C; 6 cin c 8 string s; 9 getline(cin, s); 10 11 int ct-0; 12 13 while (s. find(c) != string ::npos ) { 14 ct ct + 1; 15 s = s, find (c, s. find(c) + 1); 16 17 cout << ct << endl; 18 return 0: Total score: 6/10 Latest submission- 3:56 AM on 04/30/19 Only show failing tests Download this submission 1: Compare output 2/2 Input n Monday Your output 1 2: Compare output 2/2 Input z Today is Monday Your output 0 0/2 : Compare output Output differs. See highlights below. Input n It's a sunny day Your output Expected output2 4: Compare output 0/2 Output differs. See highlights below Input t this is a sentence with many t's Your output Expected output 2/2 5: Compare output Input x X Your output 0

Answers

Answer:

Following are the code to the given question:

#include<iostream>//including the header file  

using namespace std;

int count_Characters(char ch, string s)//defining a method count_Characters that holds two variable as a parameter

{

int c=0,i;//defining integer variable

for(i=0;i<s.size();i++)//using for loop to check value

{

   if(s[i]==ch)//use if block to check string and char value

   {

       c=c+1;//incrementing c value

   }

}

return c;//return c value

}

int main() //defining main method

{

char ch;//defining char variable

cin>>ch;//input char value

string s;//defining string variable

cin>>s;//input string value

cout<<count_Characters(ch,s);//calling method count_Characters

return 0;

}

Output:

n Nobody

0

n Monday

1

Explanation:

In this code, a method "count_Characters" is declared that accepts one sting and one char variable as a parameter "s, ch", and inside the method a two integer variable and for loop is declared that uses the if block to match string and char value and increments the c variable value.

In the main method two-variable "s, ch" is declared that inputs the value from the user-end and pass the value into the method, and prints its values.

Direct current is produced by an electric motor. an armature. a solenoid. a battery.

Answers

Answer:

D

Explanation:

I just did it

I believe D or A would be the answer. D for sure is correct

Travis and Craig are both standard users on the network. Each user has a folder on the network server that only they can access. Recently, Travis has been able to access Craig's folder.This situation indicates which of the following has occurred?

Answers

C. A misconfiguredaccess control. The fact that Travis is able to access Craig's folder indicates that the access control has been misconfigured, allowing Travis to gain access to datahe is not authorized to view.

Misconfigured Access Control Breach on Network Server

This situation indicates that a misconfigured access control has occurred. It appears that Travis has been granted access to Craig's folder, which he should not have access to. This misconfiguration of the access controlsettings may have been an accidental or intentional action taken by someone with the necessary permissions.

Regardless of the cause, this misconfiguration has enabled Travis to access Craig's data, which is a serious security breach and needs to be addressed immediately. The proper security protocols need to be put in place to ensure that only authorized users can access the necessary data and to prevent any further breaches of security.

Since the question isn't complete, here's the full task:

Travis and Craig are both standard users on the network. Each user has a folder on the network server that only they can access. Recently, Travis has been able to access Craig's folder.

This situation indicates which of the following has occurred?

Choose the right option:

  • A. A data breach
  • B. An intrusion
  • C. A misconfigured access control
  • D. An unauthorized user login

Learn more about Network: brainly.com/question/8118353

#SPJ4

What do you think is the single greatest physical threat to information systems? Fire? Hurricanes? Sabotage? Terrorism? Something else? Discuss this question and provide support for your answer.

Answers

Answer:

The single greatest physical threat to information systems is:

Sabotage

Explanation:

Sabotage describes the efforts of internal persons to ensure that a system does not operate as intended or is destroyed.  Among the threats to information systems, this is the greatest.  The problem with sabotage is that the operators are internal, they know the system very well.  They understand the weak points and the strengths of the system.  They are internal terrorists to any information system.  These internal saboteurs are capable of using any means to achieve their purpose.  Therefore, it is necessary to scrutinize employees from time to time to discover internal risks.