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.
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();
Answer:
The answer is "In the given pseudo-code there are three errors".
Explanation:
The description of the errors can be defined as follows:
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.
Answer:
D
Explanation:
I just did it
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.
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:
Learn more about Network: brainly.com/question/8118353
#SPJ4
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.