SlideShare a Scribd company logo
1 of 2
Download to read offline
COMP122 Lab 6 Lab Report
and Source Code
Click Link Below To Buy:
http://hwcampus.com/shop/comp-122/comp122-lab-6-lab-report-and-source-code/
Or Visit www.hwcampus.com
Product Description
COMP122
Week 6 iLab
You are to design a program that will allow some number of grades (up to a max of
100) to be input by the user. After the data has been collected, your program should
calculate and output the mean and median of the collected data, as well as the sorted
grade information.
Design Constraints
Use an integer constant of 100 to specify the number of elements in the array you will
use to collect the grade information. Do not use any global variables in your program.
Declare any arrays you need in your main function and pass the arrays as needed into
the functions described below. The main function is the only function permitted to do
any output to the console!!! Do not do cout operations inside of any other function.
Your data collection loop in your main function must allow the user to enter less than
100 grades. It must also make sure that the user does not try to enter more than 100
grades. Each data value entered should be checked to make sure it is between 0 and
100. Any other value entered should be considered invalid and ignored (ie. not counted
as a valid input and not stored in an array). Once the data is collected, the array and
the number of grades collected must be passed to a function called mean. The mean
function must loop through the values in the array, summing them together. The result
of the function is the sum divided by the number of grades collected. The result must
be returned from the mean function to the main function, where is it output in an
appropriate manner (two digits after the decimal point). The main function should then
pass the array and the number of grades collected to the median function. The median
of a set of numbers is the number in the set where half the numbers are above it and
half the numbers are below it. In order to find the median, this function will need to
sort the original data. The simplest sorting procedure is called bubble sorting. The
following pseudocode describes bubble sorting for X valid array elements.
for ; outer < x;=”” outer++=””>
for ; inner < x-1;=”” inner++=””>
if array[inner] > array[inner+1]
swap(array[inner], array[inner+1]);
After the data has been sorted, the median value can be found. If the array has an odd
number of elements the median is the value of the middle element (Hint: arraySize/2 is
the middle element). If the array has an even number of elements then the median is
the average of the middle two elements (Hint: arraySize/2 and ( arraySize/2) – 1 are
the two middle elements). The median value should be returned by the median
function. The main routine should output the median value in an appropriate manner.
The main routine should also output the sorted array with 5 grades per line. Carefully
develop test cases for your program. Most of your test cases do not need to contain lots
of values. Make sure to include incorrect inputs such as negative grade values.
Calculate what your mean and median values should be for your test cases. Document
your test cases in a Word document. Run your test cases with your program to see if
your program generates the expected output. If not, troubleshoot your program and fix
the problem. When your program executes a test case correctly, take a screen shot of
the program output and paste it into your Word document to prove that your test case
executed correctly with your program. Make sure that your code is properly formatted!
You also need to make sure you include a comment block for each function which
documents the purpose, inputs, and outputs of each function!
Create a program using Visual C++.Net. Make sure to capture a screen shot of your
program running your test cases! The best way to do this is to click on the console
window you want to capture and then press the Alt and PrintScreen keys at the same
time. Then paste your captured screen image into your Word document. Your Word
document should contain your test cases, the screen shots documenting your test
cases, followed by a copy of your source code.

More Related Content

More from Laynevine

Crj 105 week 6 assignment 3 annotated bibliography
Crj 105 week 6 assignment 3   annotated bibliographyCrj 105 week 6 assignment 3   annotated bibliography
Crj 105 week 6 assignment 3 annotated bibliographyLaynevine
 
Com 295 week 2 knowledge check study guide
Com 295 week 2 knowledge check study guideCom 295 week 2 knowledge check study guide
Com 295 week 2 knowledge check study guideLaynevine
 
Cmgt400 entire class
Cmgt400 entire classCmgt400 entire class
Cmgt400 entire classLaynevine
 
Cmgt 583 entire class
Cmgt 583 entire classCmgt 583 entire class
Cmgt 583 entire classLaynevine
 
Cmgt 583 entire class
Cmgt 583 entire classCmgt 583 entire class
Cmgt 583 entire classLaynevine
 
Cmgt 554 entire course
Cmgt 554 entire courseCmgt 554 entire course
Cmgt 554 entire courseLaynevine
 
Cmgt 441 complete course
Cmgt 441 complete courseCmgt 441 complete course
Cmgt 441 complete courseLaynevine
 
Cmgt 410 ver.13 entire class
Cmgt 410 ver.13 entire classCmgt 410 ver.13 entire class
Cmgt 410 ver.13 entire classLaynevine
 
Cis 329 wk 6 quiz 2
Cis 329 wk 6 quiz 2Cis 329 wk 6 quiz 2
Cis 329 wk 6 quiz 2Laynevine
 
Cis 329 week 11 quiz 4
Cis 329 week 11 quiz 4Cis 329 week 11 quiz 4
Cis 329 week 11 quiz 4Laynevine
 
Cis 329 week 8 quiz 3
Cis 329 week 8 quiz 3Cis 329 week 8 quiz 3
Cis 329 week 8 quiz 3Laynevine
 
Cis 329 week 4 quiz 1
Cis 329 week 4 quiz 1Cis 329 week 4 quiz 1
Cis 329 week 4 quiz 1Laynevine
 
Cis 329 lab 1 to 15
Cis 329 lab 1 to 15Cis 329 lab 1 to 15
Cis 329 lab 1 to 15Laynevine
 
Bus 650 managerial finance entire class
Bus 650 managerial finance entire classBus 650 managerial finance entire class
Bus 650 managerial finance entire classLaynevine
 
Bus 611 entire class all assignments
Bus 611 entire class all assignmentsBus 611 entire class all assignments
Bus 611 entire class all assignmentsLaynevine
 
Bus 611 entire class all assignments
Bus 611 entire class all assignmentsBus 611 entire class all assignments
Bus 611 entire class all assignmentsLaynevine
 
Bus 520 wk 3 assignment 1 finding the leader in you self-assessment johari ...
Bus 520 wk 3 assignment 1   finding the leader in you self-assessment johari ...Bus 520 wk 3 assignment 1   finding the leader in you self-assessment johari ...
Bus 520 wk 3 assignment 1 finding the leader in you self-assessment johari ...Laynevine
 
Bus 519 assignment 3 risk workshop and risk register
Bus 519 assignment 3   risk workshop and risk registerBus 519 assignment 3   risk workshop and risk register
Bus 519 assignment 3 risk workshop and risk registerLaynevine
 
Bus 519 assignment 2 risk management plan
Bus 519 assignment 2   risk management planBus 519 assignment 2   risk management plan
Bus 519 assignment 2 risk management planLaynevine
 
Bus 519 assignment 1 assess organizational readiness
Bus 519 assignment 1   assess organizational readinessBus 519 assignment 1   assess organizational readiness
Bus 519 assignment 1 assess organizational readinessLaynevine
 

More from Laynevine (20)

Crj 105 week 6 assignment 3 annotated bibliography
Crj 105 week 6 assignment 3   annotated bibliographyCrj 105 week 6 assignment 3   annotated bibliography
Crj 105 week 6 assignment 3 annotated bibliography
 
Com 295 week 2 knowledge check study guide
Com 295 week 2 knowledge check study guideCom 295 week 2 knowledge check study guide
Com 295 week 2 knowledge check study guide
 
Cmgt400 entire class
Cmgt400 entire classCmgt400 entire class
Cmgt400 entire class
 
Cmgt 583 entire class
Cmgt 583 entire classCmgt 583 entire class
Cmgt 583 entire class
 
Cmgt 583 entire class
Cmgt 583 entire classCmgt 583 entire class
Cmgt 583 entire class
 
Cmgt 554 entire course
Cmgt 554 entire courseCmgt 554 entire course
Cmgt 554 entire course
 
Cmgt 441 complete course
Cmgt 441 complete courseCmgt 441 complete course
Cmgt 441 complete course
 
Cmgt 410 ver.13 entire class
Cmgt 410 ver.13 entire classCmgt 410 ver.13 entire class
Cmgt 410 ver.13 entire class
 
Cis 329 wk 6 quiz 2
Cis 329 wk 6 quiz 2Cis 329 wk 6 quiz 2
Cis 329 wk 6 quiz 2
 
Cis 329 week 11 quiz 4
Cis 329 week 11 quiz 4Cis 329 week 11 quiz 4
Cis 329 week 11 quiz 4
 
Cis 329 week 8 quiz 3
Cis 329 week 8 quiz 3Cis 329 week 8 quiz 3
Cis 329 week 8 quiz 3
 
Cis 329 week 4 quiz 1
Cis 329 week 4 quiz 1Cis 329 week 4 quiz 1
Cis 329 week 4 quiz 1
 
Cis 329 lab 1 to 15
Cis 329 lab 1 to 15Cis 329 lab 1 to 15
Cis 329 lab 1 to 15
 
Bus 650 managerial finance entire class
Bus 650 managerial finance entire classBus 650 managerial finance entire class
Bus 650 managerial finance entire class
 
Bus 611 entire class all assignments
Bus 611 entire class all assignmentsBus 611 entire class all assignments
Bus 611 entire class all assignments
 
Bus 611 entire class all assignments
Bus 611 entire class all assignmentsBus 611 entire class all assignments
Bus 611 entire class all assignments
 
Bus 520 wk 3 assignment 1 finding the leader in you self-assessment johari ...
Bus 520 wk 3 assignment 1   finding the leader in you self-assessment johari ...Bus 520 wk 3 assignment 1   finding the leader in you self-assessment johari ...
Bus 520 wk 3 assignment 1 finding the leader in you self-assessment johari ...
 
Bus 519 assignment 3 risk workshop and risk register
Bus 519 assignment 3   risk workshop and risk registerBus 519 assignment 3   risk workshop and risk register
Bus 519 assignment 3 risk workshop and risk register
 
Bus 519 assignment 2 risk management plan
Bus 519 assignment 2   risk management planBus 519 assignment 2   risk management plan
Bus 519 assignment 2 risk management plan
 
Bus 519 assignment 1 assess organizational readiness
Bus 519 assignment 1   assess organizational readinessBus 519 assignment 1   assess organizational readiness
Bus 519 assignment 1 assess organizational readiness
 

Recently uploaded

Monte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMMonte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMRavindra Nath Shukla
 
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdfRenandantas16
 
Lean: From Theory to Practice — One City’s (and Library’s) Lean Story… Abridged
Lean: From Theory to Practice — One City’s (and Library’s) Lean Story… AbridgedLean: From Theory to Practice — One City’s (and Library’s) Lean Story… Abridged
Lean: From Theory to Practice — One City’s (and Library’s) Lean Story… AbridgedKaiNexus
 
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...lizamodels9
 
Call Girls in Gomti Nagar - 7388211116 - With room Service
Call Girls in Gomti Nagar - 7388211116  - With room ServiceCall Girls in Gomti Nagar - 7388211116  - With room Service
Call Girls in Gomti Nagar - 7388211116 - With room Servicediscovermytutordmt
 
VIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service Jamshedpur
VIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service JamshedpurVIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service Jamshedpur
VIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service JamshedpurSuhani Kapoor
 
Catalogue ONG NUOC PPR DE NHAT .pdf
Catalogue ONG NUOC PPR DE NHAT      .pdfCatalogue ONG NUOC PPR DE NHAT      .pdf
Catalogue ONG NUOC PPR DE NHAT .pdfOrient Homes
 
Cash Payment 9602870969 Escort Service in Udaipur Call Girls
Cash Payment 9602870969 Escort Service in Udaipur Call GirlsCash Payment 9602870969 Escort Service in Udaipur Call Girls
Cash Payment 9602870969 Escort Service in Udaipur Call GirlsApsara Of India
 
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,noida100girls
 
7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...Paul Menig
 
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
Keppel Ltd. 1Q 2024 Business Update  Presentation SlidesKeppel Ltd. 1Q 2024 Business Update  Presentation Slides
Keppel Ltd. 1Q 2024 Business Update Presentation SlidesKeppelCorporation
 
Intro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdfIntro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdfpollardmorgan
 
GD Birla and his contribution in management
GD Birla and his contribution in managementGD Birla and his contribution in management
GD Birla and his contribution in managementchhavia330
 
RE Capital's Visionary Leadership under Newman Leech
RE Capital's Visionary Leadership under Newman LeechRE Capital's Visionary Leadership under Newman Leech
RE Capital's Visionary Leadership under Newman LeechNewman George Leech
 
Call Girls in Mehrauli Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Mehrauli Delhi 💯Call Us 🔝8264348440🔝Call Girls in Mehrauli Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Mehrauli Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
FULL ENJOY - 9953040155 Call Girls in Chhatarpur | Delhi
FULL ENJOY - 9953040155 Call Girls in Chhatarpur | DelhiFULL ENJOY - 9953040155 Call Girls in Chhatarpur | Delhi
FULL ENJOY - 9953040155 Call Girls in Chhatarpur | DelhiMalviyaNagarCallGirl
 
(8264348440) 🔝 Call Girls In Mahipalpur 🔝 Delhi NCR
(8264348440) 🔝 Call Girls In Mahipalpur 🔝 Delhi NCR(8264348440) 🔝 Call Girls In Mahipalpur 🔝 Delhi NCR
(8264348440) 🔝 Call Girls In Mahipalpur 🔝 Delhi NCRsoniya singh
 
VIP Call Girls Pune Kirti 8617697112 Independent Escort Service Pune
VIP Call Girls Pune Kirti 8617697112 Independent Escort Service PuneVIP Call Girls Pune Kirti 8617697112 Independent Escort Service Pune
VIP Call Girls Pune Kirti 8617697112 Independent Escort Service PuneCall girls in Ahmedabad High profile
 
Regression analysis: Simple Linear Regression Multiple Linear Regression
Regression analysis:  Simple Linear Regression Multiple Linear RegressionRegression analysis:  Simple Linear Regression Multiple Linear Regression
Regression analysis: Simple Linear Regression Multiple Linear RegressionRavindra Nath Shukla
 

Recently uploaded (20)

Monte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMMonte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSM
 
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
 
Lean: From Theory to Practice — One City’s (and Library’s) Lean Story… Abridged
Lean: From Theory to Practice — One City’s (and Library’s) Lean Story… AbridgedLean: From Theory to Practice — One City’s (and Library’s) Lean Story… Abridged
Lean: From Theory to Practice — One City’s (and Library’s) Lean Story… Abridged
 
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
 
Call Girls in Gomti Nagar - 7388211116 - With room Service
Call Girls in Gomti Nagar - 7388211116  - With room ServiceCall Girls in Gomti Nagar - 7388211116  - With room Service
Call Girls in Gomti Nagar - 7388211116 - With room Service
 
VIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service Jamshedpur
VIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service JamshedpurVIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service Jamshedpur
VIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service Jamshedpur
 
Catalogue ONG NUOC PPR DE NHAT .pdf
Catalogue ONG NUOC PPR DE NHAT      .pdfCatalogue ONG NUOC PPR DE NHAT      .pdf
Catalogue ONG NUOC PPR DE NHAT .pdf
 
Cash Payment 9602870969 Escort Service in Udaipur Call Girls
Cash Payment 9602870969 Escort Service in Udaipur Call GirlsCash Payment 9602870969 Escort Service in Udaipur Call Girls
Cash Payment 9602870969 Escort Service in Udaipur Call Girls
 
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
 
7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...
 
Best Practices for Implementing an External Recruiting Partnership
Best Practices for Implementing an External Recruiting PartnershipBest Practices for Implementing an External Recruiting Partnership
Best Practices for Implementing an External Recruiting Partnership
 
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
Keppel Ltd. 1Q 2024 Business Update  Presentation SlidesKeppel Ltd. 1Q 2024 Business Update  Presentation Slides
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
 
Intro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdfIntro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdf
 
GD Birla and his contribution in management
GD Birla and his contribution in managementGD Birla and his contribution in management
GD Birla and his contribution in management
 
RE Capital's Visionary Leadership under Newman Leech
RE Capital's Visionary Leadership under Newman LeechRE Capital's Visionary Leadership under Newman Leech
RE Capital's Visionary Leadership under Newman Leech
 
Call Girls in Mehrauli Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Mehrauli Delhi 💯Call Us 🔝8264348440🔝Call Girls in Mehrauli Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Mehrauli Delhi 💯Call Us 🔝8264348440🔝
 
FULL ENJOY - 9953040155 Call Girls in Chhatarpur | Delhi
FULL ENJOY - 9953040155 Call Girls in Chhatarpur | DelhiFULL ENJOY - 9953040155 Call Girls in Chhatarpur | Delhi
FULL ENJOY - 9953040155 Call Girls in Chhatarpur | Delhi
 
(8264348440) 🔝 Call Girls In Mahipalpur 🔝 Delhi NCR
(8264348440) 🔝 Call Girls In Mahipalpur 🔝 Delhi NCR(8264348440) 🔝 Call Girls In Mahipalpur 🔝 Delhi NCR
(8264348440) 🔝 Call Girls In Mahipalpur 🔝 Delhi NCR
 
VIP Call Girls Pune Kirti 8617697112 Independent Escort Service Pune
VIP Call Girls Pune Kirti 8617697112 Independent Escort Service PuneVIP Call Girls Pune Kirti 8617697112 Independent Escort Service Pune
VIP Call Girls Pune Kirti 8617697112 Independent Escort Service Pune
 
Regression analysis: Simple Linear Regression Multiple Linear Regression
Regression analysis:  Simple Linear Regression Multiple Linear RegressionRegression analysis:  Simple Linear Regression Multiple Linear Regression
Regression analysis: Simple Linear Regression Multiple Linear Regression
 

Comp122 lab 6 lab report and source code

  • 1. COMP122 Lab 6 Lab Report and Source Code Click Link Below To Buy: http://hwcampus.com/shop/comp-122/comp122-lab-6-lab-report-and-source-code/ Or Visit www.hwcampus.com Product Description COMP122 Week 6 iLab You are to design a program that will allow some number of grades (up to a max of 100) to be input by the user. After the data has been collected, your program should calculate and output the mean and median of the collected data, as well as the sorted grade information. Design Constraints Use an integer constant of 100 to specify the number of elements in the array you will use to collect the grade information. Do not use any global variables in your program. Declare any arrays you need in your main function and pass the arrays as needed into the functions described below. The main function is the only function permitted to do any output to the console!!! Do not do cout operations inside of any other function. Your data collection loop in your main function must allow the user to enter less than 100 grades. It must also make sure that the user does not try to enter more than 100 grades. Each data value entered should be checked to make sure it is between 0 and 100. Any other value entered should be considered invalid and ignored (ie. not counted as a valid input and not stored in an array). Once the data is collected, the array and the number of grades collected must be passed to a function called mean. The mean function must loop through the values in the array, summing them together. The result of the function is the sum divided by the number of grades collected. The result must be returned from the mean function to the main function, where is it output in an appropriate manner (two digits after the decimal point). The main function should then pass the array and the number of grades collected to the median function. The median
  • 2. of a set of numbers is the number in the set where half the numbers are above it and half the numbers are below it. In order to find the median, this function will need to sort the original data. The simplest sorting procedure is called bubble sorting. The following pseudocode describes bubble sorting for X valid array elements. for ; outer < x;=”” outer++=””> for ; inner < x-1;=”” inner++=””> if array[inner] > array[inner+1] swap(array[inner], array[inner+1]); After the data has been sorted, the median value can be found. If the array has an odd number of elements the median is the value of the middle element (Hint: arraySize/2 is the middle element). If the array has an even number of elements then the median is the average of the middle two elements (Hint: arraySize/2 and ( arraySize/2) – 1 are the two middle elements). The median value should be returned by the median function. The main routine should output the median value in an appropriate manner. The main routine should also output the sorted array with 5 grades per line. Carefully develop test cases for your program. Most of your test cases do not need to contain lots of values. Make sure to include incorrect inputs such as negative grade values. Calculate what your mean and median values should be for your test cases. Document your test cases in a Word document. Run your test cases with your program to see if your program generates the expected output. If not, troubleshoot your program and fix the problem. When your program executes a test case correctly, take a screen shot of the program output and paste it into your Word document to prove that your test case executed correctly with your program. Make sure that your code is properly formatted! You also need to make sure you include a comment block for each function which documents the purpose, inputs, and outputs of each function! Create a program using Visual C++.Net. Make sure to capture a screen shot of your program running your test cases! The best way to do this is to click on the console window you want to capture and then press the Alt and PrintScreen keys at the same time. Then paste your captured screen image into your Word document. Your Word document should contain your test cases, the screen shots documenting your test cases, followed by a copy of your source code.