MIS 505 Week 6 Homework Assignment Chapter 6 p. 269 Logic Ex. 4-a

This preview shows page 1 - 2 out of 2 pages.

Week 6 Homework Homework Assignment Grading Rubric Week 6 Homework Assignment- Total Points: 40 Chapter 6 p. 269 Logic Ex. # 4-a: Data Dictionary: 5 Points Hierarchy Chart: 5 Points Flowchart: 15 Points Pseudocode: 15 Points 4a. The Midville Park District maintains five soccer teams, as shown in  the table. Design a program that accepts a player's team number and displays the player's team name. Team Number Team Name 1 Goal Getters 2 The Force 3 Top Guns 4 Shooting Stars 5 Midfield Monsters SOLUTION: Data Dictionary-Input Area Name Description Type numTEAMNUM Unique number for each soccer team Numeric Work Area Name Description Type Calculation num VALID_TEAMNUM[SIZE] Array organizing teams 1-5 Num Sub=1,2,3,4,5 STRING VALID_TEAMNAME[SIZE} Array organizing team names Non-num Sub=GOAL GETTERS, THE FORCE, TOP GUNS, SHOOTING STARS, MIDFIELD MONSTERS Outputs Name Description Type stringTEAMNAME Name of soccer team

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture