GATE CSE
First time here? Checkout the FAQ!
x
0 votes
31 views
Suppose 7 persons are recruited in a company to do their specific tasks. Each task
 requires a fixed amount of time to complete and all those tasks are needed to be
 done in a single platform that can be shared by each employee. But as per the
 regulations of the company every employee should report to his/her immediate boss
 after doing the work every 2 units of time only. The following table shows the name
 of the employee, their assigned task number and total time required to complete
 their tasks. Find the order of the employees with different time stamps to
 accomplish the assigned tasks. You have to show starting time, ending time and the
 different time instants at which the employees shared that common platform. Take
 name of the employee as input who will start work first from 0th time instant.
 
Employee Name Task Number Time to complete
A                                       2                   10
B                                        5                   11
C                                        7                     5
D                                        1                     8
E                                         3                   19
F                                         6                   23
G                                         4                   11

Write a c program using  queue data structures to compute the following problem
asked in Programming by (43 points)   | 31 views

Please log in or register to answer this question.

Related questions



Top Users Sep 2017
  1. Habibkhan

    6960 Points

  2. Warrior

    2424 Points

  3. Arjun

    2358 Points

  4. rishu_darkshadow

    2136 Points

  5. A_i_$_h

    2004 Points

  6. nikunj

    1980 Points

  7. manu00x

    1750 Points

  8. makhdoom ghaya

    1750 Points

  9. Bikram

    1744 Points

  10. SiddharthMahapatra

    1718 Points


26,059 questions
33,665 answers
79,739 comments
31,078 users