Question

In: Computer Science

1-Which of the following algorithms cannot be implemented without using the timer interrupt? a. RR b....

1-Which of the following algorithms cannot be implemented without using the timer interrupt?

a. RR b. SJF c. Priority d. FCFC

2-A program that performs mostly arithmetic or scientific calculations is considered as?

a. CPU bound b. I/O bound

3-Operating System is:

a. System processes that manages hardware resources b. System processes that provide services to the user application programs c. Interface between the hardware and user processes d. All the above e. Not of the above

4-A goal of the scheduling algorithms is to maximize CPU Utilization while minimizing Throughput

True or false

Solutions

Expert Solution

Question 1) Answer Option A

Reason: Option A is correct because round robin uses time quantum for interruption of processes

Option B is incorrect because shortest job first uses burst time in order to interrupt a process so it does not require a timer.

Option C is incorrect because although it works on the basis of the priority of the process it depends also on the time management but priority is the main concern

Option D is incorrect because it works on the basis of the order in which a process comes.

Question 2) Answer Option A

Reason: Option A is correct because in order to perform arithmetic operations we need the processor which is present in the CPU.

Option B is incorrect because in order to perform arithmetic operation we don not need the I/O

Question 3) Option D All of the above.

Reason: Option A is correct because it is a system process used to handle the hardware process by using human interaction or even not

Option B is correct because it a system process which are used by the process in order to provide service.

Option C is correct because it is a interface to interact the software with the hardware.

Question 4) Answer False

Reason: It is false because a scheduling algorithm is designed in such a way that it provides maximum CPU utilisation such that the CPU is in use all the time and it provides the maximum throughput

If you liked the solution then give a thumbs up ? it will be really appreciated ?


Related Solutions

This is a atmega128 source to make a clock using the timer interrupt. I want to...
This is a atmega128 source to make a clock using the timer interrupt. I want to add source if i press switch (PIND==0x0FE&&PIND==0x0FD) then below program would be running . #include<io.h> int position=0,BJT[4]={0xFE,0xFD,0xFB,0xF7}; int number=0,segment[10]={0xC0,0xF9,0xA4,0xB0,0x99,0x92,0x82,0xF8,0x80,0x90}; int msec=0, sec=0, min=0; void main() { DDRA=0xFF; PORTA=0XFF; DDRB=0xFF; PORTB=0xFF; TCCR0=0x04; TIMSK=0x01; SREG=0x80; while(1){} } interrupt[TIM0_OVF]void timer0_ovf_isr() { TCNT0=0x06; PORTA=BJT[position]; if(position==0)number=sec%10; if(position==1)number=sec/10; if(position==2)number=min%10; if(postion==3)number=min/10; PORTB=segment[number]; position++; if(position>3)position=0; msec++; if(msec==1000) { msec=0; sec++; } if(sec==60) { sec=0; min++; } if(min==60)min=0; }
1. which of the following volumes cannot be recorded using a spirometer? a. RV b. ERV...
1. which of the following volumes cannot be recorded using a spirometer? a. RV b. ERV c. TLC d. all of the above. 2. a client weighs 90kg. His tidal volume average a. 160 ml b. 200 ml c. 150 ml d. none of the above 3. The FRC is approximately a. 2.3 liters b. 500 ml c. 6 liters d. 12 liters 4. The residual volume is approximately a. 2.3 liters b. 500 ml c. 6 liters d. 1.2...
Which of the following ratios cannot be calculated without the income statement?
Question 5 Which of the following ratios cannot be calculated without the income statement?   Current ratio   Debt to Equity ratio   Quick Ratio   Gross Profit Margin Question 6 A snapshot of the financial position of a business at a point in time is called the   Balance Sheet   Income Statement   Statement of Retained Earnings   Cashflow Satement Question 7 Which of the following ratios requires information from both the income statement and balance sheet?  ...
Without using a Timer function, write a program to read the distance from the HC-SR04 ultrasonic...
Without using a Timer function, write a program to read the distance from the HC-SR04 ultrasonic sensor and display the distance on the C12832 lcd. *please refer the HC-SR04 datasheet for the operation of the ultrasonic sensor, and mbed website for C12832 library and Timer function
Answer: 1. List the short term (CPU) scheduling algorithms implemented in the OS.
Answer: 1. List the short term (CPU) scheduling algorithms implemented in the OS.
1.Which one of the following species cannot act as a base? Select one: a. H2O b....
1.Which one of the following species cannot act as a base? Select one: a. H2O b. Cl– c. NH4+ d. OH– e. NH3 2. A gas with an empirical formula NO2 is weighed in a 1 L flask and found to have a mass of 4.0 g. What is its molecular formula? (1 mol of an ideal gas occupies 23.0 L under the conditions of this experiment). Select one: a. N2O4 b. N4O8 c. NO d. NO2 e. N2O 3....
1. a) Write two algorithms of different time complexity implemented in Java methods in complete Java...
1. a) Write two algorithms of different time complexity implemented in Java methods in complete Java program to reverse a stack of characters. Make your own assumption and your own design on the methods signature, inputs, outputs, and the full main program.
Use Titanic dataset and perform EDA on various columns. Without using any modeling algorithms, and only...
Use Titanic dataset and perform EDA on various columns. Without using any modeling algorithms, and only using basic methods such as frequency distribution, describe the most important predictors of survival of Titanic passengers, e.g. were males or females more likely to survive, were young and rich females more likely to survive than old poor males etc? Submit the  response in a fully "knit" R Markdown file.
1. Design a clock generator using a 555 timer with a frequency of 1 Hz (any...
1. Design a clock generator using a 555 timer with a frequency of 1 Hz (any duty cycle is OK). Use resistor values between 1k and 1M and use capacitor values available in lab (see table in “Pinouts.doc available on course Canvas site). Show your calculations for RA, RB, and C. Clearly show all formulas and calculations and state when you are arbitrarily picking a value. (DONE) 2. Select the nearest standard 5% resistor values to the values for RA...
1.Which of the following is not a goal of the internal controls implemented by owners and...
1.Which of the following is not a goal of the internal controls implemented by owners and managers? Multiple Choice to safeguard assets to ensure reliability of accounting data to promote compliance with management policies and applicable laws to reduce expenses through the use of efficient processes 2.The three major legal forms of business entity are the sole proprietorship, the partnership, and the __________. Multiple Choice merchandiser corporation service business small business 3.The financial statements submitted to the SEC by a...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT