Question 2: Designing a train ticketing system requires a user graphical input interface, including the ticket departure time, price, number of trips, and the current number of remaining ticket displays. requirements: 1. Tickets need to display the following information: departure time, price, number of trips, current number of remaining tickets; 2. Display of the remaining number of votes must immediately reflect the change in the number of votes; 3. The user interface is easy to change and even change at runtime. This problem is designed using the MVC architecture (using the observer mechanism), where the user input interface and the display view are displayed independently.

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter12: Event-driven Gui Programming, Multithreading, And Animation
Section: Chapter Questions
Problem 1GZ
icon
Related questions
Question

Software Architecture

Question 2:
Designing a train ticketing system requires a user graphical input interface, including the ticket departure time, price, number of trips, and
the current number of remaining ticket displays. requirements:
1. Tickets need to display the following information: departure time, price, number of trips, current number of remaining tickets;
2. Display of the remaining number of votes must immediately reflect the change in the number of votes;
3. The user interface is easy to change and even change at runtime.
This problem is designed using the MVC architecture (using the observer mechanism), where the user input interface and the display view
are displayed independently.
Transcribed Image Text:Question 2: Designing a train ticketing system requires a user graphical input interface, including the ticket departure time, price, number of trips, and the current number of remaining ticket displays. requirements: 1. Tickets need to display the following information: departure time, price, number of trips, current number of remaining tickets; 2. Display of the remaining number of votes must immediately reflect the change in the number of votes; 3. The user interface is easy to change and even change at runtime. This problem is designed using the MVC architecture (using the observer mechanism), where the user input interface and the display view are displayed independently.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Time complexity
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Principles of Information Systems (MindTap Course…
Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781285867168
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning