What type of computer programming is used for airplane ticket reservation system?

Multi programming
Real time programming
Time sharing
Batch programming E. None of the above

The correct answer is B. Real time programming.

Real-time programming is a type of computer programming that requires programs to react to events in a timely manner. This is in contrast to batch programming, where programs are run one after the other, and time-sharing programming, where multiple programs share the same computer resources.

Airplane ticket reservation systems are a good example of a real-time system. When a customer books a ticket, the system needs to immediately update the availability of seats on the flight. If the system is not able to do this quickly, it could result in customers not being able to book the tickets they want.

Here is a brief explanation of each option:

  • Multi programming is a type of computer programming that allows multiple programs to run simultaneously on the same computer. This is done by dividing the computer’s resources, such as memory and processing time, among the different programs.
  • Time sharing is a type of computer programming that allows multiple users to access the same computer at the same time. This is done by dividing the computer’s resources among the different users.
  • Batch programming is a type of computer programming that is used to run programs that do not require real-time processing. Batch programs are typically run in batches, or groups, at a time that is convenient for the computer system.
Exit mobile version