State Diagram for Telephone line


Unified Modelling Language Practicals. This Subject is called as UML in Mumbai University MCA Colleges. Below is the case study of it for the construction of different UML diagrams 

In This Section we are going to solve some questions of UML which were asked in University Exams.

UML Question in Exams:-
Q.

Consider the class for telephone line with following activities and states:
As a start of a call, the telephone line is idle. When the phone receiver is picked from hook, it gives a dial tone and can accept the dialing of digits.
 If after getting dial tone, if the user doesn’t dial number within time interval then time out occurs and phone line gets idle.
After dialing a number, if the number is invalid then some recorded message is played.
Upon entry of a valid number, the phone system tries to connect a call & routes it to proper destination.
If the called person answers the phone, the conversation can occur. When called person hangs up, the phone disconnects and goes to idle state.
Draw the state transition diagram for above description of telephone line.


State Transition Diagram of Telephone Line:-



Keep on Following this Site for More Notes, Programs and notes for Students. Just search the site for More of Programs and Notes for MCA

No comments:

Post a comment