Blog Home  Home Feed your aggregator (RSS 2.0)  
Software Code Help - Friday, January 01, 2010
Blog
 
# Friday, January 01, 2010

The XML API for the .NET Framework comprises the following set of functionalities:

XML readers: With XML readers the client application get reference to instance of reader class. Reader class allows you to scroll forward through the contents like moving from node to node or element to element. You can compare it with the "SqlDataReader" object in ADO.NET which is forward only. In short XML reader allows you to browse through the XML document.

XML writers Using XML writers you can store the XML contents to any other storage media. For instance you want to store the whole in memory XML to a physical file or any other media.

XML document classes XML documents provides a in memory representation for the data in an XMLDOM structure as defined by W3C. It also supports browsing and editing of the document. So it gives you a complete memory tree structure representation of your XML document.

Friday, January 01, 2010 5:37:07 AM (GMT Standard Time, UTC+00:00)  #    Comments [0]   XML Interview Question  | 
# Tuesday, December 29, 2009

A-type HIP

See HIP processing definition

AAP Options

WORLDSPAN Agent Assisted Pricing options.  These options, append to 4P entries, can force a particular fare construction.

Africa

Comprises of Central Africa, Eastern Africa, Indian Ocean Islands, Libya, Southern Africa, Western Africa

Airline Pricing Profile

WORLDSPAN Internal Table controlling Carrier Specific preferences addressing specific issues, i.e. Fare Construction Application.

Area 1 (TC1)

All of the North and South American Continents and the adjacent Islands;  Central America, Greenland, Bermuda, the West Indies and the islands of the Caribbean Sea, the Hawaiian Islands (including Midway and Palmyra)

Area 2 (TC2)

All of Europe as defined below and adjacent islands;  Iceland. the Azores, all of Africa and adjacent islands, Ascension Island, that part of Asia lying west of and including Iran.

Area 3 (TC3)

All of Asia and the adjacent islands except that portion included in Area 2;  all of the East Indies, Australia, New Zealand, and the adjacent islands of the Pacific Ocean, except those included in Area 1.

Back Haul

A fare construction applied to a fare sector to determine the minimum applicable fare, only when all of the following conditions apply:

     a.  the journey is a one way journey, or an open jaw journey where the surface break is neither in the country of origin, country of turnaround, or both, and

     b.  a higher intermediate fare is assessed, and

     c.  a higher intermediate point exists from the point of origin to a stopover point in the fare component

Backhaul Minimum

The additional amount that must be added to a fare calculation as the result of a backhaul calculation.

Central Africa

·         Malawi, Zambia, Zimbabwe

Circle Trip (CT)

Travel from a point and return thereto by a continuous, circuitous air route, including journeys comprising of two or more than two fare components , where in the outbound and inbound fare amounts (including mileage surcharges  and higher intermediate fares) are not the same and do not meet the conditions of the round trip definition.

     Travel from one point and return to the same point by a continuous, circuitous air travel:

     where travel from and to the same point for which different inbound and outbound fare apply in the lowest class of service used and/or,

     where a higher intermediate point or mileage surcharge is assessed, and/or

     where more than two fare components apply for the journey


 

Circle Trip Minimum (CTM)

 

The additional amount that must be added to a fare calculation as the result of a circle trip minimum calculation.

 

Circle Trip - Normal Fare

Travel from a point and return by a continuous, circuitous air route by use of two (2) or more components.  Closed journeys comprising two (2) fare components, only  which do not meet the conditions of a round trip are also considered to be circle trip.

 

Circle Trip - Special Fares

Travel from a point and return thereto by a continuous, circuitous air route, comprising only two international fare components which do not meet the conditions of  a round trip definition; provided that where no reasonable direct scheduled air route is available between two points, a break in the circle trip between two fare construction points may be traveled by any other means of transportation without prejudice to the circle trip.  (per draft amendment from May’97 RAP meeting)

Combination

 

Whenever two or more one way or round trip or half round trip fares are used and shown separately in a fare calculation.

 

Common Point Minimum (CPM)

A fare construction applied to a fare sector to determine the minimum applicable fare, only when all of the following conditions apply:

     where a journey comprises not more than two international fare components with a Domestic Surface Sector and travel is via a Common Ticketed Point in the Country of Origin/Turnaround, the fare for the entire journey shall not be less than the applicable fare, from/to such common points

 

Component

A fare break point.

Constructed Fare

Unspecified through fares created by the use of add-on amounts, ot two or more fares shown as a single amount in a fare calculation.

Continent

 

For travel purposes, continent refers to a political grouping of countries, and does not necessarily correspond geographically.

 

Continental USA

the 48 contiguous States and the District of Columbia (this does not include Alaska, Hawaii)

Country of Commencement of Transportation

The country from which travel on the first international sector take place

Country of Payment

The country where payment is made by the purchaser to the TC Member or its Agent;  payment by check, credit card or other banking instruments shall be deemed to have been made at the place where such instrument is accepted by the TC Member or its Agent

Country of Unit Origin

The country in which the unit origin is situated

Currency of the Country of Payment

The currency in which international fares from that country are denominated

Destination

 

The ultimate stopping place of the journey as shown on the ticket.

 

Differential

 

The difference between normal fares for the higher and lower classes of service for the segments(s) where the higher class of service is flown.

 

Direct Route

 

Direct Route Fare

 

The fare applicable to the direct route between two points, without regard to actual routing or stopover.  When no direct route fare exists between two ticketed points a fare must be established by combination over a ticketed point on the itinerary.

Direct Route

 

Eastern Africa

·         Burundi, Djbouti, Eritrea, Ethiopia, Kenya, Rwanda, Somalia

·         Tanzania, Uganda

EC Member States

·         Austria , Belgium, Denmark, Finland, France, Germany, Greece

·         Iceland, Ireland, Italy, Luxembourg, the Netherlands

·         Portugal, Spain, Sweden, the United Kingdom

End on Combination (EOE)

 

Combination of two or more fares which could be ticketed separately at a fare construction point. (not applicable to combination of fares between the same points)

Fare Applicable

For Fare construction purposes, a fare which is established after the application of all fare construction calculations, e.g. excess mileage fare , higher intermediate fare

Fare Break Points

see Fare Construction Points

Fare Component (FC)

 

The portion of an itinerary between two fare construction points. (these are also termed fare break points)

 

Fare Construction Points

 

The manner in which fare break points have been determined.

 

Fare, Direct

For fare construction purposes, a fare component (these are also termed fare break points)

Far so Far (FSF)

 

The total accumulated fare for a priceable unit including HIPs and mileage surcharges.

Global Indicator (GI)

 

The global routing applicable to the fare as shown in IATA Attacment ‘A’ to RESO 011

The global routing applicable to the fare, as shown in the fare display.  A sample listing is illustrated below:

AF       -           via Africa

AP       -           via the Atlantic and Pacific (via Area 1)

AT       -           via the Atlantic

EH       -           within the Eastern Hemisphere

FE        -           via the Far East

PA       -           via the South, Central, or North Pacific

PO       -           via the North Polar route

T3        -           between the USSR and South East Asia / Japan / Korea;

                        between Moscow and the South West Pacific

TS        -           via Siberia (MOW) and/or nonstop between Europe and Japan / Korea

 

 

Half Round Trip Fares

 

     Normal Fares - One half of the round trip published amount between two points , or the one way published amount between two points when no round trip is published.

     Special Fares - One half of the published round trip amount between two points, or the one way published amount whenever that one way fare may be doubled to establish a round trip fare.

 

Higher intermediate Point (HIP)

A ticketed point between origin and destination of a fare sector for which a higher fare is published.

HIP Processing

Higher Intermediate Point Processing is used to determine if an International through trip's fare is exceeded by any intermediate point's fares.  There are four (4) types of HIP checks:

     A-type compares fares from origin to intermediate points with the fares for the whole trip.

     B-type compares fares from intermediate points to an offpoint with the fares for the whole trip.

     C-type compares fares between intermediate points with the fares for the whole trip.

     CP or P-type is a common point check.  Occurs only in open - jaw itineraries.  Compares fares from common point to other ticketed points in a trip.  NOTE a common point doesn't have to be a stopover.

Indian Ocean Islands

·         Comoros, Madagascar, Mauritius, Mayotte, Reunion, Seychelles

Industry Product Codes

An WORLDSPAN in-house method used to establish a hierarchy of fare type values.

Interline Transfer

Transfer from the service of one carrier to the service of another carrier

International Transfer

A change from the international service of one carrier to another international service of the same carrier (online transfer) or to the international service of another carrier (interline transfer)

Intermediate Ticketed Point

Any ticketed point other than the origin or destination of a fare sector.


 

International Sales Indicator Codes (ISI)

 

One of  four codes that must be included in the origin and destination box of each international ticket. SITI/SITO/SOTI/SOTO

For the purpose of determining ticketing transaction codes, the United States and Canada, or Denmark, Norway, and Sweden shall be considered on country.

 

S I T I

Indicates the sale and ticket issuance are both in the country of commencement of  transportation.

SITI will also apply to tickets:

 

S I T O

Indicates the sale  is made in the country of commencement of  transportation and ticket   issuance is outside the country of commencement  of transportation.

 

S O T I

Indicates the sales is outside the country of commencement of  transportation and the ticket issuance is in the country of commencement of  transportation.

 

S O T O

Indicates the sale and ticket issuance are both outside the country of commencement of transportation.

Journey

 

Origin to destination of the entire ticket.

Local Combination

Combination of fares between the same points

Local Currency Fares

Fares and related charges expressed in the currency of the country of commencement of travel;  see RESO 024a for those countries where the US Dollar is used for local currency

Maximum Permitted Mileage (MPM)

 

Miles published in connection with a fare, governing the maximum distance a passenger is allowed to travel enroute between two particular points at the direct fare.

 

Non-IATA Carrier

Any carrier who is not a Member of IATA

Non-TC Member

A Member of IATA who has elected not to participate in Tariff Coordinating Conferences

Normal Fare (NL)

 

The full fare established for First, Business, or Economy class of service.  Fares with no limited ticket validity or other restrictions with the possible exception of transfers, stopovers, or seasonality.

North America

(for WORLDSPAN pricing)  Alaska, Canada, Continental USA, and Hawaii.

Neutral Units of Construction (NUC)

The neutral unit of construction used in fare construction.

 

OFF trip

Within minimum processing, the OFF trip is the remainder of the priceable unit, i.e. the portion that is not part of the HIP trip.


 

One Way (OW)

 

Considered to be any journey which, for fare calculation purposes, is not a complete round trip , circle trip, or other than round trip / circle trip (open jaw).

One Way Subjourney

Part of a journey wherin travel from one country does not return to such country and for which the fare is assessed as a single pricing unit using a one way fare  (effective with PUC 6/1/00)

On-Line Transfer

 

Open Jaw, Normal

 

Travel from one country and return thereto with a domestic surface break in one country either at unit origin or unit turnaround, or a surface break at both unit origin and unit turnaround  (per draft amendment definition from May’97 RAP meeting)

In this context:

·         turnaround open jaw shall mean whee the outward point of arrival in the country of unit turnaround and the inward point of departure in the country of unit turnaround are different.

·         origin open jaw shall mean where the outward point of departure in the country of unit origin and the inward point of arrival in the country of unit origin are different.

Except:

·         for travel originating in Canada and USA, the surface break may be permitted between countries in the Europe Sub-area: provided travel in both directions is via the Atlantic.

·         Canada, USA shall be considered as one country.

·         Denmark, Norway, and Sweden are considered on country.

Open Jaw - Special Fares

travel comprising two (2) international fare components whereby

·         for turnaround open jaw the outward point of arrival and the inward point of departure are different, or

·         for origin open jaw the outward point of departure and the inward point of arrival are different, or

·         for single open jaw either a) or b) applies, or

·         for open jaw any combination of the above may apply.

Origin

The initial starting place of the journey as shown on the ticket

Priceable Unit

A journey or part of a journey which is priced as a separate entity, e.g. is capable of being ticketed separately.  A complete journey, if a single Pricing Unit , or part of a journey which is priced as a separate entity (is capable of being ticketed separately).  A pricing unit comprises a single One Way fare component or a complete Round Trip / Circle Trip / Open Jaw Fare.

Return Subjourney

Part of a journey wherein travel is from a point / country and return thereto and for which the fare is assessed as a single pricing unit using half-round-trip, circle trip, normal fare open jaw; all applicable to special fare open jaw returning to the same of another country (effective with PUC 6/1/00)


 

Round the World (RTW)

Differing Global Indicators

Travel from the point of origin and return thereto which involves only one crossing of the Atlantic Ocean and only one crossing of the Pacific Ocean.

Round Trip (RT)

 

(excluding Round the World - RTW)

A journey comprised of not more than two fare components, from one point and return to the same point.  When determining if a round trip journey exists, the applicable normal fare (including mileage surcharges and higher intermediate fares) both outbound and inbound must be equal,  regardless of construction.  If the fares to be used differ through class of service / seasonality / midweek-weekend / carrier variations, the outbound fare shall be used also for the inbound fare component for the purpose of determining if the journey is a round trip.

Routing

The carrier(s) and cities by and between which transportation is provided.

 

Scandinavia

Denmark, Norway, Sweden

 

Side Trip

Travel from and/or to an enroute point of a fare component.

Side Trip Combination

The combination of a fare which could be ticketed separately from and/or to an enroute point of a fare component.

Significant Carrier

The carrier whose fares are applicable for a fare component.

Significant segments

The flight segment used in international pricing which makes a travel conference (TC) break, country, continent, or sub-continental change.

South Africa

 

Special Fare (SP)

Any fare other than a normal fare

Specified Fare

A fare in an IATA Tariff Conference Resolution

Subjourney

A subjourney is a self-contained One Way / Round Trip / Circle Trip / Open Jaw Princing Unit whcih is combined with (an) other self-contained One Way / Round Trip / Circle Trip / Open Jaw Pricing Units(s) on the same ticket, e.g. one complete journey divided into separately priced subjourneys.

TC Member

A Member of IATA who has elected to participate in Tariff Coordinating Conferences

Through Fare

A fare applicable for travel between two consecutive fare construction points via an intermediate point(s)

Ticketed Point Mileage (TPM)

The distance between pairs of points published in the Ticketed Point Mileage Manual using non-stop sector mileages in accordance with RESO 011, Ticketed point mileage.  The shortest operated mileage between ticketed points.

Ticketed Point

Points shown in the "good for passage" section of the passenger ticket.

Transfer

A change from the service of one carrier to another service of the same carrier (online transfer) or to the service of another carrier (interline transfer)

Trip Origin

First point in the fare component.


 

Unit Destination

The ultimate stopping place of a pricing unit

Unit Origin

The initial starting point of a pricing unit

USA

The 50 States, District of Columbia, Puerto Rico and US Virgin Islands

USA Teritories

The overseas teritories of the United States of America, including but not limited to

·         American Samoa, Baker Island, Guam, Howland Island, Jarvis Island

·         Jonston Atoll, Kingman Reef, Midway Island, Northern Mariana Islands

·         Saipan, Swains Islands, Pacific Trust Territories, Palmyra Island

·         Panama Canal Zone, Wake Island

Validated

Fare which has passed rules and routings

VIA points

All ticketed points between the board and off point of a trip.

Western Africa

·         Angola, Benin, Burkina Faso, Cameroon, Cape Verde

·         Central African Republic, Chad, Congo, Cote d’ lovoire

·         Equatorial Guinea, Gabon, Gambia, Ghana, Guinea, Guinea Bissau

·         Liberia, Mali, Mauritania, Niger, Nigeria, Sao Tome & Principe

·         Senegal, Sierra Leone, Togo, Zaire

 

Tuesday, December 29, 2009 11:33:33 AM (GMT Standard Time, UTC+00:00)  #    Comments [0]   Travel Domain  | 

Serialization is the process of converting an object into a stream of bytes. Deserialization is the opposite process of creating an object from a stream of bytes. Serialization/Deserialization is mostly used to transport objects (e.g. during remoting), or to persist objects (e.g. to a file or database).

There are two separate mechanisms provided by the .NET class library - XmlSerializer and SoapFormatter/BinaryFormatter. Microsoft uses XmlSerializer for Web Services, and uses SoapFormatter/BinaryFormatter for remoting. Both are available for use in your own code.

Tuesday, December 29, 2009 11:06:42 AM (GMT Standard Time, UTC+00:00)  #    Comments [0]   Interview Question .Net  | 

An AppDomain can be thought of as a lightweight process. Multiple AppDomains can exist inside a Win32 process. The primary purpose of the AppDomain is to isolate an application from other applications.

Win32 processes provide isolation by having distinct memory address spaces. This is effective, but it is expensive and doesn't scale well. The .NET runtime enforces AppDomain isolation by keeping control over the use of memory - all memory in the AppDomain is managed by the .NET runtime, so the runtime can ensure that AppDomains do not access each other's memory.

Tuesday, December 29, 2009 11:05:06 AM (GMT Standard Time, UTC+00:00)  #    Comments [0]   Interview Question .Net  | 
  • ASP.NET based Web services can only be accessed over HTTP. .NET Remoting can be used across any protocol.
  • Web services work in a stateless environment where each request results in a new object created to service the request. .NET Remoting supports state management options and can correlate multiple calls from the same client and support callbacks.
  • Web services serialize objects through XML contained in the SOAP messages and can thus only handle items that can be fully expressed in XML. .NET Remoting relies on the existence of the common language runtime assemblies that contain information about data types. This limits the information that must be passed about an object and allows objects to be passed by value or by reference.
  • Web services support interoperability across platforms and are good for heterogeneous environments. .NET Remoting requires the clients be built using .NET, or another framework that supports .NET Remoting, which means a homogeneous environment.
Tuesday, December 29, 2009 9:28:24 AM (GMT Standard Time, UTC+00:00)  #    Comments [0]   Interview Question .Net  | 

Multithreading also comes with disadvantages. The biggest is that it can lead to vastly more complex programs. Having multiple threads does not in itself create complexity; it's the interaction between the threads that creates complexity. This applies whether or not the interaction is intentional, and can result long development cycles, as well as an ongoing susceptibility to intermittent and non-reproducable bugs. For this reason, it pays to keep such interaction in a multi-threaded design simple – or not use multithreading at all – unless you have a peculiar penchant for re-writing and debugging!

Multithreading also comes with a resource and CPU cost in allocating and switching threads if used excessively. In particular, when heavy disk I/O is involved, it can be faster to have just one or two workers thread performing tasks in sequence, rather than having a multitude of threads each executing a task at the same time. Later we describe how to implement a Producer/Consumer queue, which provides just this functionality.

Tuesday, December 29, 2009 4:33:30 AM (GMT Standard Time, UTC+00:00)  #    Comments [0]   Interview Question .Net  | 

All threads within a single application are logically contained within a process – the operating system unit in which an application runs.

Threads have certain similarities to processes – for instance, processes are typically time-sliced with other processes running on the computer in much the same way as threads within a single C# application. The key difference is that processes are fully isolated from each other; threads share (heap) memory with other threads running in the same application. This is what makes threads useful: one thread can be fetching data in the background, while another thread is
displaying the data as it arrives.

Tuesday, December 29, 2009 3:56:31 AM (GMT Standard Time, UTC+00:00)  #    Comments [0]   Interview Question .Net  | 

Multithreading is managed internally by a thread scheduler, a function the CLR typically delegates to the operating system. A thread scheduler ensures all active threads are allocated appropriate execution time, and that threads that are waiting or blocked – for instance – on an exclusive lock, or on user input – do not consume CPU time.

On a single-processor computer, a thread scheduler performs time-slicing – rapidly switching execution between each of the active threads.

On a multi-processor computer, multithreading is implemented with a mixture of time-slicing and genuine concurrency – where different threads run code simultaneously on different CPUs. It's almost certain there will still be some time-slicing, because of the operating system's need to service its own threads – as well as those of other applications.

A thread is said to be preempted when its execution is interrupted due to an external factor such as time-slicing. In most situations, a thread has no control over when and where it's preempted.

Tuesday, December 29, 2009 3:55:04 AM (GMT Standard Time, UTC+00:00)  #    Comments [0]   Interview Question .Net  | 
# Monday, December 28, 2009

One Sentence summary of the purpose of the UML Model:


1. Use Cases - "How will our system interact with the outside world?"
2. Class Diagram - "What objects do we need? How will they be related?"
3. Collaboration Diagram - "How will the object interact?"
4. Sequence Diagram - "How will the objects interact?"
5. State Diagram - "What stats should our objects be in?"
6. Package Diagram -"Show are we going to modularise our development?"
7. Component Diagram -"How will our software components be related?"
8. Deployment Diagram -"How will the software be deployed?"

Monday, December 28, 2009 12:29:30 PM (GMT Standard Time, UTC+00:00)  #    Comments [0]   UML  | 
# Tuesday, December 22, 2009

The passenger traveling at the fare being validated that is required to travel with another passenger.

Tuesday, December 22, 2009 6:27:35 AM (GMT Standard Time, UTC+00:00)  #    Comments [0]   Travel Domain  | 
Copyright © 2010 SoftwareCodeHelp. All rights reserved.
DasBlog 'Portal' theme by Johnny Hughes.
Pick a theme: