Comp 122 lab 1 lab report and source code (devry)

Page 1

COMP 122 Lab 1 Lab Report and Source Code (Devry) To Purchase This Material Click below Link http://www.comp122tutor.com/product-29-COMP-122-Lab-1-Lab-Report-and-Sou rce-CodeFOR MORE CLASSES VISIT www.comp122tutor.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. 4. Identify two test cases, one using whole number values, and one using decimal number values. For each of the two test cases show what inputs you will use and what your expected outputs should be.


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.
Comp 122 lab 1 lab report and source code (devry) by naveencrzn36 - Issuu