27.07.2015 Views

COMP 122 Lab 1 Lab Report and Source Code (Devry) / comp122dotcom

For more course tutorials visit www.comp122.com COMP 122 Week 1 iLab - Part 1 Follow the instructions in COMP 122_W1_iLab_Part1_instructions.docx. COMP 122 Week 1 iLab - Part 2 Complete the following two programs: Programming Problem 1 John wants to know the values of the area and perimeter of a rectangle. John can take measurements of the length and width of the rectangle in inches. John's measurements are expected to be accurate to within 0.1 inch. 1. Identify the inputs and outputs of the problem. 2. Identify the processing needed to convert the inputs to the outputs. 3. Design an algorithm in pseudo code to solve the problem. Make sure to include steps to get each input and to report each output. 5. Write the program to implement your algorithm. Test your program using your test cases. Did your program produce the values predicted in your test cases? Explain.

For more course tutorials visit
www.comp122.com
COMP 122
Week 1 iLab - Part 1
Follow the instructions in COMP 122_W1_iLab_Part1_instructions.docx.
COMP 122
Week 1 iLab - Part 2
Complete the following two programs:
Programming Problem 1
John wants to know the values of the area and perimeter of a rectangle. John can take measurements of the length and width of the rectangle in inches. John's measurements are expected to be accurate to within 0.1 inch.
1. Identify the inputs and outputs of the problem.
2. Identify the processing needed to convert the inputs to the outputs.
3. Design an algorithm in pseudo code to solve the problem. Make sure to include steps to get each input and to report each output.
5. Write the program to implement your algorithm. Test your program using your test cases. Did your program produce the values predicted in your test cases? Explain.

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>COMP</strong> <strong>122</strong> <strong>Lab</strong> 1 <strong>Lab</strong> <strong>Report</strong> <strong>and</strong> <strong>Source</strong> <strong>Code</strong> (<strong>Devry</strong>)<br />

Click Here to Buy the Tutorial<br />

http://www.comp<strong>122</strong>.com/product-29-<strong>COMP</strong>-<strong>122</strong>-<strong>Lab</strong>-1-<strong>Lab</strong>-<strong>Report</strong>-<strong>and</strong>-<br />

<strong>Source</strong>-<strong>Code</strong>-<br />

<strong>COMP</strong> <strong>122</strong><br />

Week 1 i<strong>Lab</strong> - Part 1<br />

For more course tutorials visit<br />

www.comp<strong>122</strong><br />

comp<strong>122</strong>.com<br />

Follow the instructions in <strong>COMP</strong> <strong>122</strong>_W1_i<strong>Lab</strong>_Part1_instructions.docx.<br />

<strong>COMP</strong> <strong>122</strong><br />

Week 1 i<strong>Lab</strong> - Part 2<br />

Complete the following two programs:<br />

Programming Problem 1<br />

John wants to know the values of the area <strong>and</strong> perimeter of a rectangle. John can take<br />

measurements of the length <strong>and</strong> width of the rectangle in inches. John's measurements are<br />

expected to be accurate to within 0.1 inch.<br />

1. Identify the inputs <strong>and</strong> outputs of the problem.<br />

2. Identify the processing needed to convert the inputs to the outputs.<br />

3. Design an algorithm in pseudo code to solve the problem. Make sure to include steps to get<br />

each input <strong>and</strong> to report each output.<br />

5. Write the program to implement your algorithm. Test your program using your test cases.<br />

Did your program produce the values predicted in your test cases? Explain.<br />

4. Identify two test cases, one using whole number values, <strong>and</strong> one using decimal number<br />

values. For each of the two test cases show what inputs you will use <strong>and</strong> what your expected<br />

outputs should be.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!