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
Montano1993 [528]
3 years ago
15

When a user process is running and an instruction is executed that requests a file-open operation, which of the following event

will occur? (A) Supervisor call (B) Trap (C) I/O interrupt (D) Fault (E) None of the above
Computers and Technology
1 answer:
Anna11 [10]3 years ago
7 0

Answer:e

Explanation:

Because it will automatically work

You might be interested in
Jennifer is trying to install an anti-malware program on a computer that she believes might be infected. During the installation
Vlad [161]

Answer:

Install in Safe Mode

Explanation:

If a system is corrupted with malware, installing an antivirus or anti-malware might not be possible. The malware can hide in a system and it can prevent the anti malware software from installing or scanning on the system.

Running your system in safe mode and install is the best option. Safe mode blocks third party programs and hardware drivers. A malware should not start when a system is in safe mode, therefore you can install the anti-malware and scan to remove all the malware from your system.

5 0
3 years ago
Write a program that completes the following requirements in C program:
m_a_m_a [10]

Answer:

#include<stdio.h>

#include<string.h>

int main() {

int n;

FILE *fp = fopen("salaries.txt", "r");

 

double sumSalaries = 0;

double quarterlySalary1, quarterlySalary2, quarterlySalary3, quarterlySalary4;

while(!feof(fp)) {

 

fscanf(fp, "%lf", &quarterlySalary1);

fscanf(fp, "%lf", &quarterlySalary2);

fscanf(fp, "%lf", &quarterlySalary3);

fscanf(fp, "%lf", &quarterlySalary4);

sumSalaries = sumSalaries + quarterlySalary1+quarterlySalary2+quarterlySalary3+quarterlySalary4;

printf("Salary Sum %lf: \n", sumSalaries);

printf("Income Type: ");

if(sumSalaries > 200000 ){

printf("h");

}

else if(sumSalaries >= 15000 && sumSalaries<=200000){

printf("m");

}

else{

printf("l");

}

printf("\n");

}

 

 

fclose(fp);

return 0;

}

Explanation:

4 0
4 years ago
Write a program that reads a sequence of up to 20 pairs of employee names and IDs. Store the data in an object designed to store
sladkih [1.3K]

Answer:

The code will be in Python3

you will have to enter the number of employee data and it will display all the data entered in the correct format.

Explanation:

class Solution:

   def __init__(self):

       self.firstName=""

       self.lastName=""

       self.employeeID=0

   def getData(self):

       self.firstName=input("please enter your first name: ")

       self.lastName=input("please enter your last name: ")

       self.employeeID=input("please enter your ID: ")

   def showData(self):

       p="{}\t{}\t{}".format(self.firstName,self.lastName,self.employeeID)

       return p

num=int(input("please enter the number of employee data you want to enter: "))

data=[]

for i in range(num):

   t1=Solution()

   t1.getData()

   data.append(t1.showData())

for i in data:

   print(i)

7 0
3 years ago
Design pseudocode for a program that will permit a user to store exactly 50 numbers in an array. Create an array big enough to h
galben [10]

Answer:

#include<stdio.h>

//declare a named constant

#define MAX 50

int main()

{

   //declare the array

   int a[MAX],i;

   //for loop to access the elements from user

   for(i=0;i<MAX;i++)

   {

      printf("\n Enter a number to a[%d]",i+1);

      scanf("%d",&a[i]);

  }

  //display the input elements

  printf("\n The array elements are :");

  for(i=0;i<=MAX;i++)

  printf(" %d ",a[i]);

}

Explanation:

PSEUDOCODE INPUTARRAY(A[MAX])

REPEAT FOR I EQUALS TO 1 TO MAX

PRINT “Enter a number to A[I]”

READ A[I]

[END OF LOOP]

REPEAT FOR I EQUALS TO 1 TO MAX

PRINT A[I]

[END OF LOOP]

RETURN

ALGORITHM

ALGORITHM PRINTARRAY(A[MAX])

REPEAT FOR I<=1 TO MAX

PRINT “Enter a number”

INPUT A[I]

[END OF LOOP]

REPEAT FOR I<=1 TO MAX

PRINT A[I]

[END OF LOOP]

6 0
3 years ago
The operations planning practice of inputting sales forecasts into computer software that accurately predicts the amount and tim
netineya [11]

Answer:

"Materials requirement planning" is the correct answer for the above question.

Explanation:

  • The "Materials requirement planning" is a software system that is used to hold the record of the raw materials.
  • It is used to tell about the material which is present in the stocks. It also used to schedule the delivery.
  • This software is used to enhance the productivity of the company.
  • The above question asked about the software which is needed to keep the record of the raw material. This software is known as "Materials requirement planning".
3 0
3 years ago
Other questions:
  • Data silos are often associated with ________________.
    12·1 answer
  • You're familiar with the story of Hansel and Gretel, so when you decide to go exploring you always make sure to keep track of wh
    14·1 answer
  • ​______________________ is a general security term that includes computer​ viruses, worms, and trojan horses.
    13·1 answer
  • Suppose the work required to stretch a spring from 1.1m beyond its natural length to a meters beyond its natural length is 5 J,
    14·1 answer
  • A search engine is the same as a browser.<br> \
    11·1 answer
  • Your company is getting negative feedback on the current customer service process. It’s your job to make sure customers are happ
    10·1 answer
  • 4. True or False: In order to use wi-fi signal/network, you have to remain seated in one spot.
    6·1 answer
  • You plays pokemon go
    14·2 answers
  • Select the correct text in the passage.
    15·1 answer
  • How to transfer crypto from coinbase to coinbase wallet
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!