Create the method contract for getcoursebycourseid method

Assignment Help Computer Engineering
Reference no: EM131172894

iLab: CRCs, Contracts, and Method Specifications

iLab Overview

Scenario/Summary

The design phase of the SRS project is in full swing and every developer on the team is assigned a group of packages to work on and to complete the design details of the classes in the package. To help speed up the design process, you-as the software architect of the project-were assigned the task of providing a sample method contract and a sample method specification to demonstrate to your team how these two documents are developed.

You decided to use the CourseList and the Course classes for your demonstrations. The CourseList class maintains and populates the current list of courses that the end user is working with while registering for clases. You will demonstrate the contract and the specification of the GetCourseByCourseID() of the CourseList class.

The GetCourseByCourseID() method searches the current list of courses for a course whose CourseID matches the ID supplied to the method. If a matched course is found, it is returned by the GetCourseByCourseID() method; otherwise a null value is returned, indicating there are no matching courses.

Deliverables

NOTE

Submit your assignment to the Dropbox, located at the top of this page. For instructions on how to use the Dropbox, read these step-by-step instructions.

1. Method contract of the GetCourseByCourseID() method of the CourseList class

2. Method specification of the GetCourseByCourseID() method of the CourseList class

Remember This!

Connect to the iLab here.

Lab Steps

STEP 1: Create a Public Method Contract

1. Download and review the CRC Card for the CourseList class, the Maintain Course Sequence Diagram, and the Class Diagram to prepare for your deliverables this week.

2. Download the Method Contract Template and use it for your deliverables this week.

3. Create the method contract for the GetCourseByCourseID() method of the CourseList class.

4. Explain your work and the decisions you made to arrive at your proposed solution.

STEP 2: Create a Method Specification

1. Download the Method Specification TEMPLATE and use it for your deliverables this week.

2. Create the method specification for the GetCourseByCourseID() method of the CourseList class.

3. Explain your work and the decisions you made to arrive at your proposed solution.

STEP 3: Save and Upload

Copy and paste all assignments (method contract and method specification) into one Word document. Save your document with the file name CIS339_Lab6_YourName.

Submit your assignment to the Dropbox, located at the top of this page. For instructions on how to use the Dropbox, read these step-by-step instructions.

Reference no: EM131172894

Questions Cloud

Spent most of her time training for the olympics : When asked in a television interview what she felt she was missing out on because she spent most of her time training for the Olympics, a rower answered, “A normal social life.” She also revealed that she had given up a job that paid $20,000 per year..
Describe what types of policies : Briefly interpret and analyze the data. Describe what types of policies and practices you would institute to satisfy the needs of the employees within your organization.
Why value based leadership important to influence of culture : Why is values-based leadership so important to the influence of culture? -Does a symbolic act communicate more about company values than an explicit statement? Discuss.
Borrow money using the equity in their home for collateral : A couple wishes to borrow money using the equity in their home for collateral. A loan company will loan them up to 70% of their equity. They purchased their home 11 years ago for $74,102. The home was financed by paying 15% down and signing a 30-year..
Create the method contract for getcoursebycourseid method : Create the method contract for the GetCourseByCourseID() method of the CourseList class. Explain your work and the decisions you made to arrive at your proposed solution.
The decision was affected more by individual moral values : Do you think the decision was affected more by individual moral values or by the accepted values within the team or company? Explain.
Will this object float stably in seawater : A proposed design for a part of a seawall consists of a rectangular solid weighing 3840 lb with dimensions of 8.00 ft by 4.00 ft by 2.00 ft. The 8.00-ft side is to be vertical. Will this object float stably in seawater?
Draw the new demand curve : Identify the quantity of output the monopoly wishes to supply and the price it will charge. Suppose demand for the monopoly’s product increases dramatically. Draw the new demand curve.
Describe the organizational structure and design : Examine the organization's differentiation and growth strategy. Analyze strategic options and a management approach the organization uses as it relates to the organization's goals and strategies.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Provide a historical timeline of homeland security incidents

Provide a historical timeline of homeland security incidents/events (natural and man-made) along with the call for improved preparedness, response and recovery needs that lead to the creation of NIMs and the NRF documents

  1explain three different ways that freedom of expression

1.explain three different ways that freedom of expression is limited in spite of the unequivocal language of the

  How can state the units for each metric

express the units for each metric, such as dollars per hour, rejects per day, schedule slippage per task in days, budgeted versus actual cost expenditure per task,etc. One character in a group I once had expressed the progress of laying a cable in..

  Explain how a dfs can be used to look for cycles in a graph

question 1choose one of the exercised from the award winning book computer science unplugged. record a creative

  Executive management asks you to design a decision support

you are a senior information analyst at a major it firm.executive management asks you to design a decision support

  Calculate and show the mortgage payment amount

Write down the program in Java (with a graphical user interface) and have it calculate and display the mortgage payment amount from user input of the amount of the mortgage, the term of the mortgage, and the interest rate of the mortgage. Allow th..

  Can you give the corresponding e-r diagram

For each following statement, please give the corresponding E-R diagram (entities and relationship), and the structural constraints (Cardinality and Participation)

  Develop a program to read a list of words as input

Develop a program to read a list of words as input. As these words are read store them into a dynamically allocated binary search tree. After all words are stored do a "pre-order" traversal of the tree.

  Design and implement a class called monetarycoin

Design and implement a class called MonetaryCoin that is derived from the Coin class presented in Chapter 5. Store an integer in the MonetaryCoin that represents its value and add a method that returns its value.

  Questionthis is related to principle networks give leads to

questionthis is related to principle networks. give leads to solve this problem second additional question a jewel was

  Program to display temperature in table

Write down a C program that accepts three numbers input by the user, and outputs a table of the temperatures in Celsius, Fahrenheit, and Kelvin.

  Do you believe this company can continue to grow rapidly

identify the key software applications used by the tea collection.how does the geo-mapping software help the company

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