CIS 115 (Devry) help Making Decisions/uophelp.com CIS 115 (Devry) help Making Decisions/uophelp.com | Page 22
1. Show the result of each pseudocode program.
2. Also rewrite the pseudocode statements using Assignment statements.
Rubric:
When completed compile the following documents together neatly in 1
& 2 order:
1) This instruction sheet first
2) Your answer sheet, second
Point distribution for this activity:
Pseudocode Activity
Document:
Points possible:
Points received
Problem #1
6
Problem #2
6
Problem #3
8
Total Points
20
Problem #1:
The variable X starts with the value 0.
The variable Y starts with the value 5.
Add 1 to X.
Add 1 to Y.
Add X and Y, and store the result in Y.
Display the value in Y on the screen.
Output #1:
Pseudocode #1:
Problem #2:
The variable J starts with the value 10.
The variable K starts with the value 2.
The variable L starts with the value 4.
Store the value of J times K in J.
Store the value of K times L in L.