100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Unit 4: Programming Assignment 2 All Pass criteria complete (Separate file for Ms & Ds) $11.08
Add to cart

Essay

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

3 reviews
 128 views  3 purchases
  • Course
  • Institution

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...

[Show more]

Preview 3 out of 18  pages

  • June 16, 2022
  • 18
  • 2021/2022
  • Essay
  • Unknown
  • D

3  reviews

review-writer-avatar

By: Micastew • 1 year ago

review-writer-avatar

By: mjalloh929 • 1 year ago

review-writer-avatar

By: yusefkusdil • 1 year ago

avatar-seller
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

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

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.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes 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 these notes for $11.08. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

53068 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$11.08  3x  sold
  • (3)
Add to cart
Added