Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- A) Design a computer programming experiment in C++ to determine what happens when a variable of type int is incremented above its range or decremented below its range. Repeat your experiment to determine what happens with a short int or long int. Next, modify your experiment to find out how unsigned variants of the integer types behave when their range is exceeded.
- B) Write up and submit a laboratory report of your experiment. The report must be 3-5 pages including the cover page. Please staple the pages together.
- Your write-up must have the following sections:
- • Cover page (name, class, assignment number, due date)
- • Introduction (research question and hypothesis)
- • Experimental methodology (how you answered the questions and source code)
- • Results (explain what happened and why)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement