The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | May 2017 |
| Last Sign in: | 399 Weeks Ago |
| Questions Answered: | 66690 |
| Tutorials Posted: | 66688 |
MCS,PHD
Argosy University/ Phoniex University/
Nov-2005 - Oct-2011
Professor
Phoniex University
Oct-2001 - Nov-2016
1. Describe the function computed by the following Bare Bones program, assuming the function’s inputs are represented by X and Y and its output by Z:
copy X to Z;
copy Y to Aux;
while Aux not 0 do;
decr Z;
decr Aux;
end;
2. Describe the function computed by the following Bare Bones program, assuming the function’s inputs are represented by X and Y and its output by Z:
clear Z;
copy X to Aux1;
copy Y to Aux2;
while Aux1 not 0 do;
while Aux2 not 0 do;
decr Z;
decr Aux2;
end;
decr Aux1;
end;
Hel-----------lo -----------Sir-----------/Ma-----------dam----------- Â----------- Th-----------ank----------- Yo-----------u f-----------or -----------usi-----------ng -----------our----------- we-----------bsi-----------te -----------and----------- ac-----------qui-----------sit-----------ion----------- of----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill-----------