comp 122 (devry) course tutorial/tutorialoutlet

10
For more course tutorials visit www.tutorialoutlet.com

Upload: naresh27

Post on 30-Dec-2015

20 views

Category:

Documents


1 download

DESCRIPTION

For more course tutorials visit\nwww.tutorialoutlet.com\n\nCOMP 122 Lab 1 Lab Report and Source Code\nCOMP 122 Lab 2 Lab Report and Source Code\nCOMP 122 Lab 3 Lab Report and Source Code\nCOMP 122 Lab 4 Lab Report and Source Code\nCOMP 122 Lab 5 Lab Report and Source Code\nCOMP 122 Lab 6 Lab Report and Source Code\nCOMP 122 Lab 7 Lab Report and Source Code\n\n\n - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: COMP 122 (Devry)  course tutorial/tutorialoutlet

For more course tutorials visitwww.tutorialoutlet.com

Page 2: COMP 122 (Devry)  course tutorial/tutorialoutlet

COMP 122 Entire Course (Devry)

For more course tutorials visitwww.tutorialoutlet.com

  COMP 122 Lab 1 Lab Report and Source CodeCOMP 122 Lab 2 Lab Report and Source CodeCOMP 122 Lab 3 Lab Report and Source CodeCOMP 122 Lab 4 Lab Report and Source CodeCOMP 122 Lab 5 Lab Report and Source Code

Page 3: COMP 122 (Devry)  course tutorial/tutorialoutlet

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

For more course tutorials visitwww.tutorialoutlet.com

       Week 1 iLab - Part 1Follow the instructions in COMP 122_W1_iLab_Part1_instructions.docx.COMP 122Week 1 iLab - Part 2Complete the following two programs:Programming Problem 1John 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

Page 4: COMP 122 (Devry)  course tutorial/tutorialoutlet

COMP 122 Lab 2 Lab Report and Source Code (Devry)

For more course tutorials visitwww.tutorialoutlet.com

      Week 2 iLabComplete the following two programs:Programming Problem 1Write a program that calculates and outputs the monthly paycheck information for an employee, including all the amounts deducted from an employee’s gross pay, and the net pay that is due to the employee. The user of your program will know the employee’s name and the gross pay for the employee

Page 5: COMP 122 (Devry)  course tutorial/tutorialoutlet

COMP 122 Lab 3 Lab Report and Source Code (Devry)

For more course tutorials visitwww.tutorialoutlet.com

       COMP 122Week 3 iLabComplete the following two programs:Programming Problem 1Write a program that generates all the factors of a number entered by the user. For instance, the number 12 has the factors 2 * 2 * 3. This program has the following requirements:A. The user must enter a positive integer. If the user enters something else, your program should output an error message and let the user enter a new value. Use a do/while loop to make sure the user input is

Page 6: COMP 122 (Devry)  course tutorial/tutorialoutlet

COMP 122 Lab 4 Lab Report and Source Code (Devry)

For more course tutorials visitwww.tutorialoutlet.com

 

   

 

  

COMP 122 Week 4 Lab Part 1

Part 1 of this week’s lab will give you an opportunity to use the debugging capabilities of Visual Studio. Part 2 will present a problem for which you will need to create a test plan and actually test an executable program to determine if it behaves correctly.

Part 1 – Using the Debugger

To begin this exercise, create a VC++ project and copy the following code into your project.

Page 7: COMP 122 (Devry)  course tutorial/tutorialoutlet

  COMP 122 Lab 5 Lab Report and Source Code (Devry)

For more course tutorials visitwww.tutorialoutlet.com

     COMP 122Week 5 iLabObjectivesApply structured and modular design principles to write programs that meet written specifications and requirements. Develop a pseudo-code design using appropriate program structure (sequence, selection, repetition and nesting) to solve a given programming problem

Page 8: COMP 122 (Devry)  course tutorial/tutorialoutlet

COMP 122 Lab 6 Lab Report and Source Code (Devry)

For more course tutorials visitwww.tutorialoutlet.com

  COMP 122Week 6 iLabYou 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.

Page 9: COMP 122 (Devry)  course tutorial/tutorialoutlet

COMP 122 Lab 7 Lab Report and Source Code (Devry)

For more course tutorials visitwww.tutorialoutlet.com

    COMP 122Week 7 iLabThe focus of this lab is on using strings. You will have an opportunity to work with both C style strings and the string data type. This lab also gives you an opportunity to use what you have learned previously, including using functions, array processing, repetition, and selection. You will also have an opportunity to work with file input and output.

Page 10: COMP 122 (Devry)  course tutorial/tutorialoutlet