Invention for Education
Junior Developer
Module 2 - Python
Professor: Lic. Yusselin Murcia Céspedes
Test: Final Exam
Total score of the test: 60 points
Porcentaje:25 %
Application date: May 12, 2021
Fecha y hora de entrega:12 de Mayo de 2021 1:00pm TEAMS
Nombre del estudiante:_____________________________________________
General instructions
1. This practice is to solve individually, using all
the processes seen in classes, do not use functions that do what is
We request you to carry out, the idea is to continue developing the logic.
2. Develop the practice in the Python language.
3. Identical codes or ones taken from the internet are both annulled.
cases.
Be clear and orderly when structuring the sentences.
5. Carefully read the specifications before programming, and if
If you have any questions, you can make inquiries in a formal way.
6. If that were the case, indicate the assumptions that you establish in
each of the points to be developed. Justify with valid criteria
all its statements.
In the event of non-compliance with points 1 and 3, it will be automatically annulled, without
option for claims.
Page1of3
Value Development 60 Total points.
Exercise 1 Total Value 60 points.
A program is desired to help manage the flights of Liberia Airport.
For this task we will use stacks, the program has its main menu accordingly.
show the figure: Value 5 points
The functions of each of the options are as follows:
It indicates the number of flights that are stacked. Value 5 points
2. In this option, flights are entered, the data to be Country of Origin,
requested Country of Destination and the
are:
travel distance. Value 10 points
Remove the flight from the Valuestack.
5 points
4. It shows us the top of Value the 5stack
points
5. Cleans the stack content (removes). Value 10 points
6. It prints the details of all the entered flights, according to the specified format.
figure #2. Value 10 points
7. Exit completely from the system. Value 1 point
Remember to validate if the user inputs any invalid option. Value 1 point
Each menu option except for #7 must be programmed in methods.
independent. Value 8 points.
The printout of each flight must have the following format:
Page 2 of 3
Success!!
Page 3 of 3