Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 3 out of 18 pages
Essay

Unit 4: Programming Assignment 2 All Pass criteria complete (Separate file for Ms & Ds)

Document preview thumbnail
Preview 3 out of 18 pages

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 client requirements P7 - Review the extent to which the final computer program meets client requirements All Criteria complete: (separate file for Code)

Content preview

Algorithms

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

Document information

Study Level
Subject
Uploaded on
June 16, 2022
Number of pages
18
Written in
2021/2022
Type
Essay
Professor(s)
Unknown
Grade
D
$12.68
Purchased by 3 students

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
fawazislam
3.0
(11)
Sold
46
Followers
45
Items
8
Last sold
2 year ago


Reviews from verified buyers




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions