DEVRY COMP 122 Lab 4 Lab Report and Source Code Check this A+ tutorial guideline at

Slides:



Advertisements
Similar presentations
Problem Solving and Program Design. COMP104 Problem Solving / Slide 2 Our First Program // a simple program #include using namespace std; int main() {
Advertisements

COMP102 – Programming Fundamentals I LA2B (Mon 5-7pm) LA2E (Fri 3-5pm) LA2F (Fri 5-7pm) TA: Jackie Lo.
CS 1400 Chapter 5, section 2. Loops! while (rel-expression)while (rel-expression) {statements statement } if the relational-expression is true, execute.
Software Engineering 1 (Chap. 1) Object-Centered Design.
Computer Programming and Basic Software Engineering 4. Basic Software Engineering 1 Writing a Good Program 4. Basic Software Engineering.
1 Programming and Problem Solving — Software Engineering (Read Chap. 2)
Programming and Problem Solving — Software Engineering (Read Chap. 2) 1.
CS 114 – Class 02 Topics  Computer programs  Using the compiler Assignments  Read pages for Thursday.  We will go to the lab on Thursday.
Testing and Debugging Version 1.0. All kinds of things can go wrong when you are developing a program. The compiler discovers syntax errors in your code.
1 Original Source : and Problem and Problem Solving.ppt.
Basics of Most C++ Programs // Programmer: Clayton Price date: 9/4/ // File: fahr2celc.cpp 03. // Purpose:
Lecture 4 Function example. Example1 int max (int a, int b) { int c; if (a > b) c = a; else c = b; return (c); } void main ( ) {int x, y; cin>>x>>y; cout.
Exercise 1 #include int main() { printf(“Hello C Programming!\n”); return 0; } 1.Run your Visual Studio 2008 or Create a new “project” and add.
3. The Nuts and Bolts of C++ Computer Programming 3. The Nuts and Bolts of C++ 1 Learning the C++ language 3. The Nuts and Bolts of C++ 16 September 2008.
CSE202: Lecture 5The Ohio State University1 Selection Structures.
DEVRY BIS 155 W EEK 1 TO W EEK 7 A LL Q UIZ Check this A+ tutorial guideline at quiz.
DEVRY CIS 115 All Exercises Week 1 to Week 7 Check this A+ tutorial guideline at
DEVRY CIS 115 Entire Course With Final Exam Check this A+ tutorial guideline at For more classes.
DEVRY CIS 321 All iLabs (Week 1 to Week 7) Check this A+ tutorial guideline at ilabs For.
DEVRY CIS 321 iLab 1 Check this A+ tutorial guideline at For more classes visit
DEVRY CIS 321 iLab 2 Check this A+ tutorial guideline at For more classes visit
DEVRY CIS 321 iLab 2 Check this A+ tutorial guideline at For more classes visit
DEVRY BUSN 460 Week 7 Final Project Consulting Check this A+ tutorial guideline at
DEVRY CIS 321 Week 6 Milestone 5 Part 2 Check this A+ tutorial guideline at milestone-5-part-2 For.
DEVRY CIS 407 iLab 2 of 7 User Input Web Pages Check this A+ tutorial guideline at input-web-pages.
DEVRY COMP 122 L AB 1 L AB R EPORT AND S OURCE C ODE C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / COMP -122/ COMP LAB.
DEVRY COMP 122 L AB 6 L AB R EPORT AND S OURCE C ODE C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / COMP -122/ COMP LAB.
DEVRYCOMP 122 L AB 5 L AB R EPORT AND S OURCE C ODE C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / COMP -122/ COMP LAB.
DEVRY COMP 220 I L AB 2 R ESISTOR L AB R EPORT AND S OURCE C ODE C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / COMP -220/ COMP.
DEVRY FIN 515 First Course Project Check this A+ tutorial guideline at For more.
DEVRY FIN 515 Second Course Project Check this A+ tutorial guideline at project For.
DEVRY BSOP 209 Week 7 Case Study 2 Check this A+ tutorial guideline at case-study-2 For more classes.
DEVRY BSOP 334 Complete Week 3 Check this A+ tutorial guideline at week-3 For more classes visit
DEVRY CIS 170 C I L AB 1 OF 7 G ETTING S TARTED Check this A+ tutorial guideline at
DEVRY CIS 170 C I L AB 2 OF 7 D ECISIONS Check this A+ tutorial guideline at decisions For.
DEVRY CIS 170 C I L AB 3 OF 7 L OOPING Check this A+ tutorial guideline at looping For more.
DEVRY CIS 170 C I L AB 4 OF 7 F UNCTIONS Check this A+ tutorial guideline at For.
DEVRY CIS 170 C I L AB 5 OF 7 A RRAYS AND S TRINGS Check this A+ tutorial guideline at
DEVRY PROJ 410 W EEK 7 C ASE S TUDY Check this A+ tutorial guideline at For more classes.
DEVRY PROJ 420 W EEK 1 S ELECTING A P ROJECT Check this A+ tutorial guideline at project.
Check this A+ tutorial guideline at proposal For more classes visit
DEVRY ACCT 212 Week 4 Midterm Check this A+ tutorial guideline at For more classes visit.
SEC 340 Week 1 Summary Check this A+ tutorial guideline at For more classes visit
SEC 340 Week 2 Summary Check this A+ tutorial guideline at For more classes visit
SEC 340 Week 3 Summary Check this A+ tutorial guideline at For more classes visit
SEC 340 Week 4 Summary Check this A+ tutorial guideline at For more classes visit
SEC 340 Week 5 Summary Check this A+ tutorial guideline at For more classes visit
WEB 434 Week 2 Summary Check this A+ tutorial guideline at Week-2-Summary For more classes visit
WEB 434 Week 4 Summary Check this A+ tutorial guideline at Week-4-Summary For more classes visit
BSHS 342 Week 3 Learning Team Rite of Passage Paper Check this A+ tutorial guideline at 3-Learning-Team-Rite-of-Passage-Paper.
BSHS 401 Week 5 Individual Documenting and Monitoring Check this A+ tutorial guideline at 401/BSHS-401-Week-5-Individual-
BSHS 402 Week 5 Learning Team Case Manager Interviews Check this A+ tutorial guideline at 5-Learning-Team-Case-Manager-Interviews.
BIS 220 Week 1 Individual Information Technology Acts Paper Check this A+ tutorial guideline at 220/BIS-220-Week-1-Individual-Information-
BIS 220 Week 2 Individual Information Systems Proposal Check this A+ tutorial guideline at 220/BIS-220-Week-2-Individual-Information-
BIS 303 Week 3 Individual Assignment Hospitality Information Systems and Users Paper Check this A+ tutorial guideline at
BIS 320 Week 2 Reflection Check this A+ tutorial guideline at 320/BIS-320-Week-2-Reflection For more classes visit.
BIS 320 Week 4 Reflection Check this A+ tutorial guideline at S-320/BIS-320-Week-4-Reflection For more classes visit.
BIS 320 Week 5 Reflection Check this A+ tutorial guideline at 320/BIS-320-Week-5-Reflection For more classes visit.
BSA 375 Week 3 Individual Service Request SR-rm-022, Part 2 Check this A+ tutorial guideline at 375/BSA-375-Week-3-Individual-Service-
BSA 375 Week 4 Individual Service Request SR-rm-022, Part 3 Check this A+ tutorial guideline at 375/BSA-375-Week-4-Individual-Service-
BSA 375 Week 5 DQ 2 How would you handle numerous requests for change to a system that has just been implemented? Check this A+ tutorial guideline at
The Ohio State University
Chapter 2 Assignment and Interactive Input
Dynamic Array Multidimensional Array Matric Operation with Array
Starting Out with C++: From Control Structures through Objects
الوحدة الرابعة البرمجة وصياغة حل المسائل البرمجة وأهميتها أهداف الدرس الأول مفهوم البرمجة. الفرق بين المبرمج ومستخدم البرنامج. الحاجة إلى البرامج.
Lab 1 Introduction to C++.
Life is Full of Alternatives
Life is Full of Alternatives
Introduction to Algorithms and Programming COMP151
Presentation transcript:

DEVRY COMP 122 Lab 4 Lab Report and Source Code Check this A+ tutorial guideline at For more classes visit 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. Make sure that the project compiles successfully. #include using namespace std; int main() { int input;

INT, ; INT ; COUT COUT CIN >> INPUT ; WHILE ( INPUT { COUT CIN >> INPUT ; } IF ( INPUT > 2) { FOR ( INT ; I { ; ; + BACK 2; } } COUT CIN. IGNORE (2); RETURN 0; } P ART 2 – B LACK B OX T ESTING

A CUSTOMER HAS REQUESTED A PROGRAM BE DEVELOPED TO MEET THE FOLLOWING CRITERION : 1. T HE PROGRAM NEEDS TO CONVERT FROM CELCIUS TEMPERATURES TO FAHRENHEIT TEMPERATURES. 2. T HE USER SHOULD BE ABLE TO ENTER TEMPERATURES CONTAINING FRACTIONAL DEGREES ( IE. 12.3) 3. T HE CONVERTED TEMPERATURES SHOULD BE ACCURATE TO WITHIN 1/10 TH OF A DEGREE. 4. T HE USER SHOULD BE ABLE TO ENTER THE NUMBER OF TEMPERATURES TO BE CONVERTED UP TO A MAXIMUM OF T HE OUTPUT SHOULD BE TABULAR WITH EACH ROW INCLUDING THE INPUT AND CONVERTED TEMPERATURE. W RITE A TEST PLAN TO THOROUGHLY TEST THIS PROGRAM. T HE EXECUTABLE FOR THIS PROGRAM IS INCLUDED IN WITH THIS LAB. Y OU SHOULD HAVE TEST CASES WHICH VERIFY THAT THE PROGRAM DOES ALL OF WHAT IS REQUIRED IN THE PROBLEM SPECIFICATION ABOVE. Y OU SHOULD ALSO TEST TO SEE HOW ROBUST THE PROGRAM IS, THAT IS, HOW DOES IT HANDLE INPUTS OUTSIDE THE EXPECTED RANGES. D OCUMENT YOUR TEST PLAN IN A TABLE. F OR EACH TEST CASE, DOCUMENT THE EXPECTED PROGRAM BEHAVIOR AND THE ACTUAL PROGRAM BEHAVIOR. I F THE PROGRAM DOES NOT BEHAVE ACCORDING TO YOUR PREDICTION, WRITE A BRIEF EXPLANATION OF WHAT THE PROGRAM DID WRONG.