• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Segment-Leg

 
Raj Polikepati
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All SCEA's, (Especially Ajith)
did any one try not distinguishing between Segment and Leg, and still scored 90 +. It will make life lot comfortable.
Thanks for your guidance
Raj
 
Parag Doshi
Ranch Hand
Posts: 317
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Raj,
Thats the crux of the problem. If you get guidance on that, your assigment is almost complete
Not trying to dissuade you in finding that info..I myself have 3 different variations of the class diagram revolving around the different definitions. At the end, we just have to match the most probable sounding definition and stick to it.

Parag
 
James Wang
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is very diffcult for me to understand it, Now let me try explain it.

There is a direct flight from city A to city C, but the city B is between city A and city C, An traveler can travel from city A to city C through only one flight.

In above scenario, there is only one segment that is between city A and city C,because the flight go through city B to arrive city C, So there are two legs,the first is from A to B and the last is from B to C.

It is like train travel, a train can arrive the destination through some middle stations. the difference between flight and train is that the train has a stop in middle station and the flight has not a stop in middle city.

is what I said right? am I wrong? it always confuses me.
 
Louise Elliott
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The definitions of these terms are deliberately vague. There isn't even an industry standard - if you look around on the web they are used to mean different things by different companies.

The best advice I can give you is to choose a definition for flight/leg/segment etc and put the definitions in your assumptions. Then you can apply those definitions consistantly throughout your architecture. It doesn't matter whether your definition of a segment is the same as other people's as long as you have stated what it is.

Louise.
 
Sudhansu Pati
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Louise,
I think the assumtions can't be different from the requirements. The assignment is a much simpler version of how the airline industry booking happens today. The "prepared itinerary" section of "Prepare Itinerary" clearly shows the difference between Segment, Flight and Leg. I have seen so many discussions going on regarding segments, flight and leg. I am glad that Dhiren pointed to me to this "post conditions" section and it cleared my confusions.
 
Dhiren Joshi
Ranch Hand
Posts: 463
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This assignment has the crux in the interpretation of the definition of Flight. As Parag pointed out .If u know that part more then 70% of your analysis is done.



There is a direct flight from city A to city C, but the city B is between city A and city C, An traveler can travel from city A to city C through only one flight.

In above scenario, there is only one segment that is between city A and city C,because the flight go through city B to arrive city C, So there are two legs,the first is from A to B and the last is from B to C.


What is really a segment between two straight line ? If a line has a point in it doesnt it have 2 segments or is that incorrect ..
Then what is the difference between a Leg and a segment ?

Thanks
Dhiren
 
Sudhansu Pati
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Dhiren,
Thank you for your quick response. I found some useful links from google. One that shows clear definitions is as follows.

http://teds02.state.pa.us/wbt/Travel%20Planning%20Help%20Cards/Travel%20Planning%20Terminology.htm

My assumtion of segment is one takeoff and one landing. From many places I found that the leg is the same as segment. Sun also thinks that way.
I think it boils down to making assumptions. I am just being careful to make sure to implement the requirements by Sun. No assumption is correct if the requirements are not met.
 
Dhiren Joshi
Ranch Hand
Posts: 463
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Sudhansu
Thats a very help link.

Thanks
Dhiren
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic