SlideShare une entreprise Scribd logo
1  sur  2
SOLUTIONJUG.COM
CIS/339 iLab 7 of 7
CLICK HERE TO GET THE SOLUTION !!!!!!!!
Your demonstrations of how to create both method contract and the method specification for the
GetCourseByCourseID() method of the CourseList class were very well received by your team
members. They then asked you for one final demonstration of how to implement the method
specification using an object-oriented (OO) programming language and see the method actually
execute.
You realize that it is easy to implement the method specification in an OO programming language,
but it is hard to test it because the rest of the application is not developed yet. You decided,
therefore, to write two pieces of code.
Code that implements the GetCourseByCourseID() method
1. Code that implements a unit test for that method alone (outside of any other
application code)
This way you can demonstrate the method implementation and also verify its correct behavior.
You are under a deadline constraint for this deliverable, so you asked some of your peer architects
for help. They each are well versed in different OO languages like VB.NET, C#, and Java and they all
have done unit testing before so they are familiar of how to construct one.
Your peer architects provided you with partially-completed shells for your demonstration. Each shell
contains:
complete code for the Course class;
partially completed code for CourseList class; and
1. complete code for the CourseListTest class that unit tests the
CourseList.GetCourseByCourseID() method.
Your task is now easy. Just select one of these shells and complete the code for the partially
completed CourseList by coding it GetCourseByCourseID() method. When you compile and run the
shell, it will automatically test your GetCourseByCourseID() code to ensure its correct behavior.
Deliverables
One Word file that contains the following.
A copy of the code you wrote for the GetCourseByCourseID method() of the
CourseList class in your favorite OO programming language
A screen shot of the output of running the provided unit test in the shell (the
CourseListTest class) showing that your code works as expected. Note that
these unit tests only print out messages of testing problems. If your code is
correct, the unit tests will succeed silently without any success messages.
An explanation of your work and the decisions you made to arrive at your
proposed code
1. A zip file of the completed shell after you added your code so that the shell
could be executed on a different machine
i L A B S T E P S
STEP 1: Review the Method Contract, Method Specification for the GetCDByCDID()
Method, and Coding & Unit Testing GetCDByCDID() Method using Java (not Graded)
Download the Method Contract for GetCDByCDID() Method and review it
prior to reviewing this week’s video tutorial.
Download the Method Specification for the GetCDByCDID() Method and
review it prior to reviewing this week’s video tutorial
STEP 2: Code & Unit Test the GetCourseByCourseID() method of the CourseList class
Decide on your OO programming language that you will use for this lab and
then download the corresponding shell from the following.
1. Visual Basic Shell
2. C# Shell
3. Java Shell
Both the Visual Basic and C# shells are Visual Studio projects while the Java shell include only the
*.java source files that could be loaded into any Java IDE.
Code and unit test the CourseList.GetCourseByCourseID() method in your
favorite programming language. You only need to add code for the
GetCourseByCourseID() method and then run the application (the unit test will
automatically test your code), then print out problem messages, if any
1. Explain your work and the decisions you made to arrive at your proposed
solution.
STEP 3: Submit your assignment
Copy and paste into a Word document:
your code for the GetCourseByCourseID() method;
a screen shot of running your unit test; and
1. your explanation of your work and the decisions you made to arrive at your
code.
Save your document with the file name CIS339_Lab7_YourName.
Then, zip all the lab file into one zip file so that the entire project would run on a different machine.
Save your zip file with the file name CIS339_Lab7_YourName.zip.
CLICK HERE TO GET THE SOLUTION !!!!!!!!

Contenu connexe

En vedette

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

En vedette (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Cis 339 ilab 7 of 7

  • 1. SOLUTIONJUG.COM CIS/339 iLab 7 of 7 CLICK HERE TO GET THE SOLUTION !!!!!!!! Your demonstrations of how to create both method contract and the method specification for the GetCourseByCourseID() method of the CourseList class were very well received by your team members. They then asked you for one final demonstration of how to implement the method specification using an object-oriented (OO) programming language and see the method actually execute. You realize that it is easy to implement the method specification in an OO programming language, but it is hard to test it because the rest of the application is not developed yet. You decided, therefore, to write two pieces of code. Code that implements the GetCourseByCourseID() method 1. Code that implements a unit test for that method alone (outside of any other application code) This way you can demonstrate the method implementation and also verify its correct behavior. You are under a deadline constraint for this deliverable, so you asked some of your peer architects for help. They each are well versed in different OO languages like VB.NET, C#, and Java and they all have done unit testing before so they are familiar of how to construct one. Your peer architects provided you with partially-completed shells for your demonstration. Each shell contains: complete code for the Course class; partially completed code for CourseList class; and 1. complete code for the CourseListTest class that unit tests the CourseList.GetCourseByCourseID() method. Your task is now easy. Just select one of these shells and complete the code for the partially completed CourseList by coding it GetCourseByCourseID() method. When you compile and run the shell, it will automatically test your GetCourseByCourseID() code to ensure its correct behavior. Deliverables One Word file that contains the following. A copy of the code you wrote for the GetCourseByCourseID method() of the CourseList class in your favorite OO programming language A screen shot of the output of running the provided unit test in the shell (the CourseListTest class) showing that your code works as expected. Note that these unit tests only print out messages of testing problems. If your code is correct, the unit tests will succeed silently without any success messages.
  • 2. An explanation of your work and the decisions you made to arrive at your proposed code 1. A zip file of the completed shell after you added your code so that the shell could be executed on a different machine i L A B S T E P S STEP 1: Review the Method Contract, Method Specification for the GetCDByCDID() Method, and Coding & Unit Testing GetCDByCDID() Method using Java (not Graded) Download the Method Contract for GetCDByCDID() Method and review it prior to reviewing this week’s video tutorial. Download the Method Specification for the GetCDByCDID() Method and review it prior to reviewing this week’s video tutorial STEP 2: Code & Unit Test the GetCourseByCourseID() method of the CourseList class Decide on your OO programming language that you will use for this lab and then download the corresponding shell from the following. 1. Visual Basic Shell 2. C# Shell 3. Java Shell Both the Visual Basic and C# shells are Visual Studio projects while the Java shell include only the *.java source files that could be loaded into any Java IDE. Code and unit test the CourseList.GetCourseByCourseID() method in your favorite programming language. You only need to add code for the GetCourseByCourseID() method and then run the application (the unit test will automatically test your code), then print out problem messages, if any 1. Explain your work and the decisions you made to arrive at your proposed solution. STEP 3: Submit your assignment Copy and paste into a Word document: your code for the GetCourseByCourseID() method; a screen shot of running your unit test; and 1. your explanation of your work and the decisions you made to arrive at your code. Save your document with the file name CIS339_Lab7_YourName. Then, zip all the lab file into one zip file so that the entire project would run on a different machine. Save your zip file with the file name CIS339_Lab7_YourName.zip. CLICK HERE TO GET THE SOLUTION !!!!!!!!