Create directories and build the necessary classes

Assignment Help Programming Languages
Reference no: EM132320198

Assignment Portfolio

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.

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.

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.

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 can be done in either (or both of) Python or JavaScript.

• You may add your work to another student’s code, but may only claim marks for code that you have written.

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

11. Add Wickets to some Deliveries

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

SECTION E

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.

Reference no: EM132320198

Questions Cloud

Increased prevalence of social media : Given the increased prevalence of social media, how has your personal perspective of multiculturalism and diversity been impacted?
Define a function named getlifespan that returns : Also define a function named getLifespan that returns a string with the value "unknown lifespan."
Information system analysis and design : In information system analysis and design, what are some types of maintenance, and how do they differ from each other?
Worst case time that is faster : Can counting sort or radix sort be used to sort in worst case time that is faster than T(n log n)? Justify your answer
Create directories and build the necessary classes : BCDE 101 Introduction to Programming-Ara Institute of Canterbury-New Zealand- Create directories and build the necessary classes.
Explain why it might be x : Let x be the last element that was inserted. For each element in the heap, explain why it might be x, or why it cannot be.
What are the basic components required to set up : Assume you want to set up a simple network that allows two or more PCs to share files. You also want these PCs to be able to access the public Internet.
Which type of knowledge would yield the best results : From the e-Activity, compare the results of the two (2) quizzes / tests that you have taken. Distinguish the common thread(s)-or lack thereof-that the results.
Build and allows for sharing of resources : Peer-to-Peer has no governance or control. Meaning all users have equal access to the network to transmit. So what might be a problem with this?

Reviews

len2320198

6/11/2019 3:34:44 AM

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.

Write a Review

Programming Languages Questions & Answers

  Calculate and displays rose plant sales for n customers

NIT5150 – Advanced Object Oriented Programming - Create a C# application that calculate and displays rose plant sales for N customers who registered for online

  Program to compute percentage and final grade for students

Write a program which will permit teacher to compute percentage and final grade for students in a class.

  Create program in visual studio-produce summary of ammounts

Create the program in Visual Studio, C#, 3.5 .Net that will produce the summary of amounts due for Pat's Auto Repair Shop. Display splash screen first.

  Who is the mother of beatrice

CS-205: Declarative Programming (Prolog) Assignment. Translate the following questions into Prolog queries and try them out: Who is the mother of Beatrice? Who has a child (one or more)? Who is a desencendant of the Queenmother

  Display the sine cosine and tangent of the angle

Write a program that asks the user for an angle, entered in radians. The program should then display the sine, cosine, and tangent of the angle

  Program to track hourly employee arrival and departure times

A company hires you to write a program to track hourly employee arrival and departure times from work. In essence, you are tasked to make an online time clock

  Create constructor by allotting value to gpa attribute

We have provided the super call, which does some of the work of constructor. Your code must complete constructor by allotting value of g to gpa attribute.

  Design a program that asks the user to enter the amount

Design a program that asks the user to enter the amount that he or she has budgeted for a month. Use labels to list expediencies and text boxes to hold the expense (such as housing, entertainment, fuel, power, misc, etc).

  Draw application to display button and label on a screen

Draw and implement application which displays a button and a label on a screen. Every time button is pushed, the label will display random number between 1 and 1000,

  Advantages cloud computing

advantages Cloud computing

  Add comment lines for the different sections.

Add comment lines for the different sections.

  Write java program which declares the array alpha

Write the Java program which declares the array alpha of 50 elements. Initialize array so that first 25 elements are equal to square of the index variable and the last 25 elements

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