Homemade Chocolate Recipe

“Homemade Chocolate Recipe”

Homemade Chocolate

 

Ingredients

  1. 5 tbsp coco powder
  2. 1 ¼ cup milk powder
  3. ¼ cup butter (makaan)
  4. 2/3 cup sugar (cini)
  5. ½ cup water (paani)

Recipe

  1. Heat water and sugar in a pan and bring it to a boil. Reduce flames and continue cooking till you reach one string consistency.
  2. Add butter (makaan) and mix well till it melts. Turn off heat.
  3. Add coco powder and milk powder into the mixture (a few tbsp at a time) and mix it well until it’s smooth.
  4. Grease a plate or pan and pour the mixture into it. Smooth out the top of it and let it rest for 10 to 15 minutes at room temperature.
  5. Place it in fridge for 10-15 minutes. Now cut it in your desired shape.

Tips

  1. To avoid lamps sieve coco powder and milk powder before use.
  2. To check for one string consistency of sugar syrup – allow the sugar to dissolve in water. Continue to cook the syrup on low flame. When you touch the syrup between your forefinger and thumb, a thin string will form and it should not break. If it breaks, the syrup should simmer for a little while longer.
  3. You can add crushed nuts of your choice
  4. You can add 1/2 tsp of vanilla essence at the time of adding butter. Alternately, 2 tsp of strong coffee mixture can be added.’
  5. You can use ice tray as your mold and can get chocolate in the shape of ice cubes.

 

Numerical-I Solved For Belady’s Anomaly Problem

Q1. If the reference string is

0 1 2 3 0 1 4 0 1 2 3 4

then solve by First In First Out Disk Scheduling Algorithm using physical memory of three frames and four frames.

The below figure shows how with 3 frames the number of page faults are 9 while we get 10 page faults with 4 frames.

7 0 1 2 0 3 0 4 2 3 0 3
Frame1 7 7 7 2 2 2 2 4 4 4 0 0
Frame2 0 0 0 0 3 3 3 2 2 2 2
Frame3 1 1 1 1 0 0 0 3 3 3
Faults + + + + + + + + + + +

Page faults = 9 (3 frames)

0 1 2 3 0 1 4 0 1 2 3 4
Frame1 0 0 0 0 0 0 4 4 4 4 3 3
Frame2 1 1 1 1 1 1 0 0 0 0 4
Frame3 2 2 2 2 2 2 1 1 1 1
Frame4 3 3 3 3 3 3 2 2 2
Faults + + + + + + + + + +

Page faults = 4 (4 frames)

Belady’s Anomaly

Q1. Explain Belady’s Anomaly.

Ans. It was assumed that increasing the number of page frames in the memory will have the fever page faults in a program. But surprisingly, this is not always the case. The most common example is the FIFO algorithm in which for a particular string the numbers of page faults in 4 frames are more than the number of page faults in 3 frames. This anomalous situation is called as Belady’s Anomaly.

Optimization of First In First Out Disk Scheduling

Q1. How can we optimize First In First Out Disk Scheduling Algorithm?

Ans.A simple optimization to FIFO algorithm is to attach a reference bit for each page in page table. Each time the page is accessed the page bit is set to 1. When a page fault occurs that respective bit is checked and if it is 1 then set the bit to 0 but jumps over that page and looks for another page but if the bit is 0 the page will be removed.

The idea is that the heavy used page in the table will not get out. But in the extreme case when all pages are in heavy use the algorithm will cycle through all the pages setting their bits to zero before finding the page to remove. If it might not find the page to replace, and the bit was set again while it was looking through the others, in which a case the paging system fails.

Lemon Rice Recipe

Lemon Rice Recipe

Lemon Rice Recipe

Ingredients

  1. 1 cups cooked or steamed basmati rice (chawal)
  2. 2 tbsp lemon juice (nimbu ka ras)
  3. 1 tsp mustard seeds (rai)
  4. 1 tsp soaked or boiled chickpea dal (chana dal)
  5. a pinch of asafetida (hing)
  6. ½ tsp turmeric powder (haldi)
  7. 2 to 3 tbsp vegetable oil
  8. Regular salt (namak) as required
  9. 5-6 fresh or dry mint leaves(pudina leaves) or fresh coriander leaves (dhania leaves) for garnishing

Recipe

  1. In a small frying pan put oil and add mustard seeds, let them crackle.
  2. Drain water from chana dal/chickpea dal and add it to frying pan, fry them for 12-15 seconds.
  3. Add the asafetida (hing) and turmeric powder, fry them for 2-3 seconds.
  4. Fry everything on a low flame, so that the spics don’t burn.
  5. Switch off the fire and add the lemon juice along with salt.
  6. Stir and immediately pour this mixture on the rice.
  7. Mix it well.
  8. Keep the lemon rice covered for the flavors to blend for 4-5 minutes.
  9. Garnish the dish with crashed dry mint leaves (pudina leaves) or freshly shopped coriander leaves (dhania leaves).
  10. Then serve the lemon rice with papads and coconut chutney or just have lemon rice.