Create test data and import real-world data

Assignment Help Programming Languages
Reference no: EM132329956

Introductions to Programming Assignment -

The aim of this course is to introduce students to the development of software.

This assignment addresses the learning objective: "apply knowledge of standards and tools to build, test and document systems".

For this assignment, you will:

  • create a portfolio that explains what you learned as you Made Stuff Go.
  • design, code and test a program.
  • create test data and import real-world data.
  • write software that passes automated tests.
  • plan and document how you went about developing the software.
  • explain how the code and the designs are fit-for-purpose.
  • You may only submit code that you have written all by yourself for this assignment.
  • You may use other student's code, but must acknowledge the author.

This assignment involves creating a Scorebook for a game of Cricket. Each student must choose a different game of cricket from the files. You should choose a T20 Match in YAML format.

For the Python version of this assessment will need to install PyYAML. Do this in Pycharm under Setting | Project Interpreter | Package. Click the + button at the top right of the package viewer , find pyYAML in the list of available packages and then click the Install Packages button at the bottom left of the dialog.

For the JavaScript version of this assessment, you will need to convert the match data from YAML to JSON.

JavaScript: Create the directories, files and constructor methods.

1. Create directories and build the necessary classes.

Look at the provided index.html code on the previous page to see the required directory and file structure.

Look at the data displayed by readJSON.html to work out what attributes are needed in classes.

Plan this by drawing a UML package diagram.

2. Write constructor functions for the classes.

  • Model your code on the Toybox-Toy example code.
  • Look at the data displayed by readJSON.html to work out what attributes to put in classes.

Python: Create the .py modules, __init__ functions and import statements.

1. Create files and build the necessary classes.

  • Look at the data displayed by readYAML.py to work out what classes and attributes to put in classes.
  • Model your code on the Toybox-Toy example code.

Plan this by drawing a UML class diagram.

2. Write __init__ functions for the classes.

TASKS -

1. Create the Match class and populate with info.

2. Display the information about the Match.

3. Add Teams to Match.

4. Add Innings to the Match.

5. Add Batters to each Team.

6. Display Batters for each Team.

7. Add Bowlers to each Team.

8. Display Bowlers for each Team.

9. Add Deliveries.

10. Display Deliveries.

11. Add Wickets to some Deliveries.

12. Display Deliveries by Over.

13. Display statistics about Batters.

14. Display statistics about Bowlers.

15. Display match Statistics.

SECTION C - For a task listed in section B, draw a design level UML class diagram and a UML sequence diagram of how the code works.

SECTION D - Produce graphical displays.

NOTE: You will do a lab class on how to create graphs and charts in both Python and JavaScript.

You can produce a display for any of the following:

  • Display information about the Match
  • Display Batters for each Team
  • Display Bowlers for each Team
  • Display Deliveries
  • Display Deliveries by Over
  • Display statistics about Batters
  • Display statistics about Bowlers
  • Display match Statistics

For a task listed in section B, create a unit tests that establish that the code is working correctly.

NOTE: You will do a lab class on creating unit tests in JavaScript and in Python using the Jasmine testing framework.

SECTION F - Assemble a portfolio of code that shows variations of the 'add a Part to a Whole' pattern. Evaluate the effectiveness of your work.

Assemble a portfolio of code that shows variations of the 'display the Parts that make up a Whole' pattern. Evaluate the effectiveness of your work.

Assemble a portfolio of code that shows variations of another pattern that you used in this assessment. Evaluate the effectiveness of your work.

Attachment:- Assignment Files.rar

Verified Expert

In this assignment, we have designed use case diagram, sequence diagram and other diagrams which include all the process.In these diagrams, we have included all the steps which are required for the mode of business and name of all the actors.

Reference no: EM132329956

Questions Cloud

What is the budget for your launch plan : List an overall timeline of all activities in the launch plan that need to happen - What is the budget for your launch plan? Provide a pie chart
What are your plans for future growth : NUR-670-Leadership in Health Care Organizations-Grand Canyon University-USA-Explain why you chose each individual leader. Identify, compare, and contrast.
Describe aspect of the mission relates to your personal life : For this Discussion, review Walden's mission, and focus on the social change aspect. Think about how this aspect of the mission relates to your personal.
In what ways would expanding the house : What ways would expanding the House make Members of Congress MORE representative of the American public? Make sure you provide an explanation as to WHY
Create test data and import real-world data : BCDE 101 Introductions to Programming Assignment, Ara Institute of Canterbury, New Zealand. Create test data and import real-world data
Use of capital controls in the banking industry : Critically evaluate the case for and against the use of capital controls in the banking industry and Your evaluation should be based on relevant theories
What is water and why is water essential to life : What is water and why is water essential to life - List three properties of water and how each is useful to many species on earth
Issues with theories od deviant behavior : A study of deviant behavior as an inescapable feature of modern, complex society. Incorporates contemporary issues with theories od deviant behavior
Provide sound methods for reconstructing a past event : Provide sound methods for reconstructing a past event based on three major sources of information: people, physical evidence and records.

Reviews

len2329956

6/28/2019 10:30:31 PM

This assignment is worth 50% of the total marks for BCDE101. The pass criterial for the course requires at least 50% in this assessment. You may selected tasks from the available sections up to the maximum for a section. NOTE: You will do a lab class on creating unit tests in JavaScript and in Python using the Jasmine testing framework. Submit all your code and other documentation digitally via the PORTFOLIO assignment DROPBOX on BCDE101 Moodle.

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd