QUISPE LAB REPORT

QUISPE LAB REPORT - Quispe Lab 1 By Daniel Fore def45...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
Quispe! Lab # 1 By Daniel Fore def45 CSE1284 Introduction to Computer Programming Class Section # 01 Ms. Lisa G. Henderson October 08, 2007
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Problem Specification: I was to design a program that would be a Dice Rolling Game. This program should have two players; The user and the Computer. The user will roll two die and should be given the opportunity to pick a die to re-roll. The computer should be allowed to re-roll a die as well. The user should be allowed to play as long as he/she wishes. Program Design: Scoring works as follows: Die 1 Die 2 Score 1 5 15 2 4 24 3 3 330 4 4 440 1 1 110 2 2 220 1 2 1000(Quispe) 2 1 1000(Quispe) Testing Plan: We were given a specific set of specifications as stated above. I decided before I even started to write the code that I would run the program after every little addition to the code. Every time I would add something I would check and make sure it ran as expected. Test Cases: This is one example of a test I ran after I was finished. Initial Output Input Post Output Press any key to Begin b Computer’s Roll….User’s Roll…Reroll? Enter Y or N: Y Which Die to reroll. . Which Die? 1 or 2 1 New 1 st Die, score and total. .No rolls left C to continue, S to stop S Ending statement Press any key to escape Space Window exits
Background image of page 2
Sample Execution: Analysis and Conclusions: • What were the goals or objectives of the lab? The goals of this lab were to give us experience in designing and creating our own program given certain criteria.
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
• Did you achieve these goals? Yes, I achieved these goals. I took what I knew and applied it to Visual Basic to create a program to accomplish a program that did exactly what was specified in the requirements. • Looking back on the project what would you do differently in the design phase and in the coding and testing phases? The ONE THING I would do different would be to make POSSITIVLY sure that I put every stupid little ending bracket were I needed to so I wouldn’t have to spend (literally) 2 ½ hours trying to figure out WHY it wouldn’t work. • What additions would you suggest to improve the working of your program? I would love to have added pictures, but I was not quite sure on how to do that. Feedback:
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page1 / 10

QUISPE LAB REPORT - Quispe Lab 1 By Daniel Fore def45...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online