Quote:

The amount of happiness that you have depends on the amount of freedom you have in your heart
Showing posts with label Solution. Show all posts
Showing posts with label Solution. Show all posts

Tuesday, 31 January 2012

GDB's Graded Discussion Topics Solutions of Past Semesters

I've shared GDB's.doc
Message from digitalcoms007@gmail.com:
Graded Discussion Board Topic Solutions  Download Word File


Click to open:

Google Docs makes it easy to create, store and share online documents, spreadsheets and presentations.
Logo for Google Docs

Thursday, 12 January 2012

CS605 Assignment 4 Fall2011

CS605 Sftware Engineering - ii, Assignment- 4, Fall2011
>>>>>>>>>>IDEA Solution
Question:

Total Marks = 20

Suppose that you are working in a software house and your responsibility is to conduct Project Reviews which plays a key role in high-quality product developmet.The project you are working on passing 30 defects to detailed design from Preliminary design. In detailed design phase 8 defects were passed on to the next phase and the remaining 22 were amplified by the ratio 1:3. In addition, there were 60 new defects introduced at this stage. In code and Unit test stage 30 defects were passed on to next phase and the remaining were amplified by the ratio 1:4 and we start to test our system and assuming 40% defect removal efficiency and 60% defect removal efficiency for the rest of the phases
a. You need to fill out the whole table below and find out how many defects present in the delivered product
b. Now start testing your system from preliminary stage assuming 70% defect removal efficiency, 60% defect removal efficiency in detailed design and 70% defect removal efficiency in code and test phase and 60% defect removal efficiency for the rest of the phases. You need to fill out the above table considering these values and find out how many defects present in the delivered product and explain why the defects in the delivered product reduced.
__________________________________________________________________________________
SOLUTION



Thursday, 29 December 2011

CS604 Operating Systems assignment 3 Fall2011

Operating Systems (CS604)
Assignment # 3
Fall 2011

IDEA SOLUTION:
# These three are mutexes (only 0 or 1 possible)
Semaphore contractorReady = 0         # if 1, at least one contractor is ready
Semaphore ministerReady = 0
Semaphore accessWRSeats = 1       # if 1, the # of seats in the waiting room can be incremented or decremented
int numberOfFreeWRSeats = N     # total number of seats in the waiting room
def minister():
  while true:                   # Run in an infinite loop.
    wait(contractorReady)             # Try to acquire a contractor - if none is available, go to sleep. 
    wait(accessWRSeats)         # Awake - try to get access to modify # of available seats, otherwise sleep.
    numberOfFreeWRSeats++       # One waiting room chair becomes afree.
    signal(ministerReady)         # I am ready.
    signal(accessWRSeats)       # Don't need the lock on the chairs anymore.
    # (Enter Door 1.)
def Contractor():
  while true:                   # Run in an infinite loop.
wait(accessWRSeats)         # Try to get access to the waiting room chairs.
 if numberOfFreeWRSeats > 0: # If there are any free seats:
      numberOfFreeWRSeats--     #   sit down in a chair
   signal(contractorReady)         #   notify the minister, who's waiting until there is a contractor
      signal(accessWRSeats)     #   don't need to lock the chairs anymore
      wait(ministerReady)         #   wait until the minister is ready
      # (Finish the meeting here.)
    else:                      
# otherwise, there are no free seats;
      signal(accessWRSeats)     #   but don't forget to release the lock on the seats!
      # (Leave without a meeting with minister.)
      if minister=busy
      close D1;

Consult from this Example