Question
State true or false This scheduling algorithm is
not ideal for time sharing systems. Read the below passage and answer the questions First Come First Serve (FCFS) Â is an operating system scheduling algorithm that automatically executes queued requests and processes in order of their arrival. It is the easiest and simplest CPU scheduling algorithm. In this type of algorithm, processes which requests the CPU first get the CPU allocation first. This is managed with a FIFO queue. The full form of FCFS is First Come First Serve. As the process enters the ready queue, its PCB (Process Control Block) is linked with the tail of the queue and, when the CPU becomes free, it should be assigned to the process at the beginning of the queue.Solution
Disadvantages of FCFS
- The non-preemptive nature of the algorithm makes other small processes wait  until the current program completes.
- Short processes have to wait for a long time until the bigger process which arrives before it.
- The waiting time is usually high .
- This scheduling algorithm is not ideal for time sharing systems.
- Marked price of an article is Rs. 2,500 which is Rs. 900 more than its cost price. If it is sold after giving a discount of ‘d%’ such that there is a p...
A shopkeeper bought 60 kg of apples at ₹80 per kg and 40 kg of oranges at ₹60 per kg. If he wants to make a profit of 20% on the total cost, at what...
The marked price of an article is Rs. 3260. The shopkeeper offered a 15% discount on it and made a profit of 10.84%. What is the percentage by which th...
Cost price of a bag is Rs.980. The shopkeeper marked it 80% above the cost price and sold it after giving a discount of 25%. If the shopkeeper had sold ...
A shopkeeper sells rice at 10% profit and uses weight 30% less than the actual measure. His gain percent is
Article ‘P’, if sold at a profit of 35% earns a profit of Rs. 700. If article ‘P’ is marked 30% above its cost price and then sold after offerin...
A trader marks a product 50% above its cost price and gives a discount of 20% on the marked price. If the selling price of 4 such products is Rs. 3840, ...
The cost price of two dozen bananas is Rs. 48 after selling 18 bananas at the rate of Rs. 18 per dozen, the shopkeeper reduced to rate of Rs. 12 per doz...
A dishonest shopkeeper pretends to sell his goods at cost price but uses false weights and gains 25%. For a weight of 1 kg he uses:
A person buys books at Rs. 300 for 5 and sells them at Rs.740. How many books must he sell in order to earn profit of Rs. 3,520?