All the Pass Criteria for Unit 4: Programming (Ms &Ds in separate file):
P4 - Produce a design for a computer program to meet client requirements
P5 - Review the design with others to identify and inform improvements to the proposed solution
P6 - Produce a computer program that meets clie...
This is holding the data type for the team this is holding the total points which team 1 has gotten:
T1=0,
This is saying there is only four teams for user to enter this is defining the number of team in the
application:
teams=4,
this is holding the data this is where all the data is going to be stored this will hold the name of the
application:
Team=[]
This will look the please enter names 4 times because it holds teams=4 which I have set to four
which mean it will only loop 4 times:
for i in range
this data over here holds the names of the people in team 1this is the same for the other 3 teams as
there is 4 teams in total:
team_names1=[]
The different types of data in the application:
float
integer
string
list
this displays a message in screen in the application:
print
This is a loop in the application it loops the team names, the point system and the ranking:
while True:
This allows the application to continue for the loop if requirements are met:
Continue
This sets up a function in the application it is how the single and multiple question is made:
Def
Global
This makes sure the loop ends after the serious of question are done and finished:
Break
This data holds the points for the events in the application and is how the limitations for points user
can enter is set up this is the same for all the other time user has to enter points:
e1f1
, 1. First there will be a welcome message.
2. Then there will be a message please enter names of teams
3. User will then enter 4 team names.
4. Then there will be message that says how many members should be in each team this is user
defined.
5. Then user will enter the names of people in each team
6. After user will decide if it is signal or multiple
7. when user decides if it is signal
8. Then the following 5 events will appear art Science English maths and sports
9. User will then have to select one.
10. User will then enter points for that specific event.
11. Then user will enter ranking for teams which team came first, second third and fourth.
12. Finally, it will display the 4 teams and their total points.
13. Then user is asked if they want to choose another event if so
14. Then the whole process happens again with a different event
15. When user says no then a message will be displayed saying goodbye
16. When user did not choice single and choose multiple
17. Then user will automatically get all the events
18. After user will have to enter the points for specific event
19. will then have to do the ranking for each event.
20. finally, calculations of points from events will be displayed.
Pseudo code
1. Print “welcome message”
2. Print “please enter team names”.
a. input “4 team names”
3. print “how many members should be in each team”.
a. Input “user defined”
4. Print “please enter member’s name of team”
a. Input “user defined”
5. Print “single or multiple”
a. Input “single or multiple”.
6. If single “Which event, would you like to select?”
a. Input “select an event”.
7. Input “enter points”.
a. If boundary is not accurate go back
8. Input “ranking”
a. If ranking is not entered go back
9. Print “results”
10. If multiple “automatically all events appear”.
11. Input “enter points for selected event”.
a. If boundary is not accurate go back
12. Input “enter ranking for Teams for each event”.
a. If ranking is not entered go back
13. Print “calculations for events”
, Flowchart
Los beneficios de comprar resúmenes en Stuvia estan en línea:
Garantiza la calidad de los comentarios
Compradores de Stuvia evaluaron más de 700.000 resúmenes. Así estas seguro que compras los mejores documentos!
Compra fácil y rápido
Puedes pagar rápidamente y en una vez con iDeal, tarjeta de crédito o con tu crédito de Stuvia. Sin tener que hacerte miembro.
Enfócate en lo más importante
Tus compañeros escriben los resúmenes. Por eso tienes la seguridad que tienes un resumen actual y confiable.
Así llegas a la conclusión rapidamente!
Preguntas frecuentes
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
100% de satisfacción garantizada: ¿Cómo funciona?
Nuestra garantía de satisfacción le asegura que siempre encontrará un documento de estudio a tu medida. Tu rellenas un formulario y nuestro equipo de atención al cliente se encarga del resto.
Who am I buying this summary from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller fawazislam. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy this summary for $11.23. You're not tied to anything after your purchase.