Question

In: Computer Science

true or false questions: 1. message passing can be unidirected, bidirected, and undirected. 2. Process swap...

true or false questions:

1. message passing can be unidirected, bidirected, and undirected.

2. Process swap operation is performed to take one process out of the CPU and load new one.

3. When the error occurs within the process which mechanism is invoked for process switch?

4. Termination of the parent process will lead to the termination of its children processes.

multiple choice questions:

1.

Which programming language was used in the Simple Batch Systems?

JCL

FORTRAN

C

COBOL

2.

For which systems context switch appeared?

Simple Batch Systems

Multiprogramming Systems

Time-sharing Systems

Distributed System

3.

Which register contains information about condition codes?

MDR

PSW

PC

MAR

4.

What is responsible for Interrupt Handling?

Hardware

Software

Both

None

5.

The context of a process in the PCB of a process does not contain:

a.

a) the value of the CPU registers

b.

b) the process state

c.

c) memory-management information

d.

d) context switch time    

6.

Which of the following does not interrupt a running process?

a.

a) A device

b.

b) Timer

c.

c) Scheduler process

d.

d) Power failure    

Solutions

Expert Solution

True/False Solutions:

1)message passing can be unidirected, bidirected, and undirected. Ans:True

2)Process swap operation is performed to take one process out of the CPU and load new one. Ans: True

3)When the error occurs within the process which mechanism is invoked for process switch? Ans: Context-switch Mechanism

4)Termination of the parent process will lead to the termination of its children processes. Ans:True.

Multiple choice questions:Solution

1)Which programming language was used in the Simple Batch Systems? Ans : JCL (Job Control Language) In Simple Batch Systems JCL (Job Control Language) was used because there is no direct communication happens between user and the computer,then user has to submit a job to a computer operator,then computer operator places a batch of several jobs on an input device

2)For which systems context switch appeared? Ans: Time-sharing Systems. In Time-sharing Systems each task given some time to execute so each user gets time of CPU and after time interval is over OS switches over to next task.

3)Which register contains information about condition codes? Ans: PSW (Program Status Word) Register PSW contain information about condition codes because it contain some flags.Also MDR(Memory Data Register) writes data to memory on memory address stored in MAR,MAR(Memory Address Register) stores the memory address from which data has to fetched,PC(Program Counter) contains address of a instruction being executing at current time.

4)What is responsible for Interrupt Handling? Ans: Both    Both hardware and software are responsible for interrupt handling.   

5) The context of a process in the PCB of a process does not contain: Ans: d) context switch time Context of a process in the PCB(Process Control Block) contain of a process in the,the process state,memory-management information only.

6)Which of the following does not interrupt a running process? Ans: c) Scheduler process Scheduler process does not interrupt a running process because it job is to select the processes for Short-term schedular,long-term schedular and mid-term schedular.Whereas other options interrupt running process.


Related Solutions

True or False 1.Currency swap volume is greater than equity swap volume.​ 2.Since 1998, the gross...
True or False 1.Currency swap volume is greater than equity swap volume.​ 2.Since 1998, the gross market value of currency swaps outstanding has always increased each year.​
Use normal approximation to estimate the probability of passing a true/false test of 30 questions if...
Use normal approximation to estimate the probability of passing a true/false test of 30 questions if the minimum passing grade is 90% and all responses are random guesses.
A​ true/false test has 30 questions. A passing grade is 78​% or more correct answers. a....
A​ true/false test has 30 questions. A passing grade is 78​% or more correct answers. a. What is the probability that a person will guess correctly on one​ true/false question? b. What is the probability that a person will guess incorrectly on one​ question? c. Find the approximate probability that a person who is just guessing will pass the test. d. If a similar test were given with​ multiple-choice questions with four choices for each​ question, would the approximate probability...
A​ true/false test has 100 questions. A passing grade is 64​% or more correct answers. a....
A​ true/false test has 100 questions. A passing grade is 64​% or more correct answers. a. What is the probability that a person will guess correctly on one​ true/false question? b. What is the probability that a person will guess incorrectly on one​ question? c. Find the approximate probability that a person who is just guessing will pass the test. d. If a similar test were given with​ multipl-choice questions with four choices for each​ question, would the approximate probability...
True or False with these questions. (can fill with "not sure") 1. Marketing research is a...
True or False with these questions. (can fill with "not sure") 1. Marketing research is a must for a marketer to make any marketing decision. 2. The time involved in primary data collection may render the study obsolete 3. In drawing a sample with stratified sampling, the population is divided into internally heterogeneous subgroups 4. The non-response error in face-to-face survey is more prominent than in mal survey. 5. The introduction of a four-day week, leads to increased productivity particularly...
True or False Questions: Determine if true or false. If false why? 1) Premature efforts to...
True or False Questions: Determine if true or false. If false why? 1) Premature efforts to treat problem behavior before determining its function can be inefficient, ineffective, and even harmful. 2) Research has found that functional analyses conducted in natural environments (e.g., classroom settings) often yield the same (or even clearer) results compared to those conducted in simulated settings. 3) Problem behavior can only be maintained by one function. Behaviors are not multi-functional. 4) Indirect functional assessment procedures are referred...
1. True or False: Confidence intervals can only be calculated for means. True False SAVE 2....
1. True or False: Confidence intervals can only be calculated for means. True False SAVE 2. Suppose a sample of 200 barrow-wights (wraith-like creatures that feed on the life force of the living) yields a sample mean of 6.2 living beings consumed per day. Assuming a standard error of 1.7, what would the upper bound of a 95% confidence interval be? SAVE 3. Using the same ridiculous survey data from the previous question, what would the lower bound of a...
Answer the following questions True or False. Write “True” or “False” in the blank. 1._________ The...
Answer the following questions True or False. Write “True” or “False” in the blank. 1._________ The rate constant changes if the concentrations of the reactant change. 2._________ If the concentration of a reactant changes, the rate of the reaction always changes. 3._________ The coefficients of the overall reaction tell us the order for each reactant. 4._________ The half-life for a first order reaction does not depend on the initial concentration. 5._________ If the rate of a reaction over a long...
C++ Questions: 1. True/False: an int uses 4 bytes in memory on all systems. 2. True/False:...
C++ Questions: 1. True/False: an int uses 4 bytes in memory on all systems. 2. True/False: a double typically offers better precision than a float. 3. True/False: The following two statements are equivalent assuming isPair is a variable of type bool: if (isPair) if (isPair == true) 4. Provide a value we could put in the blank so that the value of x will be 20 after the code snippet. int x = _____; x *= 4; 5. Provide a...
1. TRUE OR FALSE Increasing global market competitiveness can spread chronic diseases. 2. TRUE OR FALSE...
1. TRUE OR FALSE Increasing global market competitiveness can spread chronic diseases. 2. TRUE OR FALSE Globally, infectious diseases are expected to rise while chronic diseases are expected to decrease in the future. 3. Chronic diseases, such as heart diseases, strokes, cancers result in the following conditions except; A. reduced quality of life B. burdened caregivers C. reduced health care cost D. shorter life span 4. TRUE OR FALSE: The top risk factor for mortality, globally in 2017 was poor...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT