© 2008 D. J. ForemanHW 21 Current PC Operating Systems Uni-programming – DOS Multi-programming – UNIX, Linux – Mac OS/X – OS/2 – Windows XP, Vista, 2003/2008 Server – Note: Windows 3.x is NOT an Operating System
© 2008 D. J. ForemanS 50 A table with 2 answer columns A B C D E F G H TLC
© 2010 D. J. ForemanP 3 LOOPS -1 J=1; A=1; B=4; /* these are “initializations” */ DO WHILE (A<B) J=J*2; A=A+1; /* do some other work here */ LOOP PRINT J operation results J = the output is "8" A= because A is no longer < B
© 2010 D. J. ForemanP 4 LOOPS - 2 J=1; A=1; B=4; DO J=J*2; A=A+1; /* do some other work here */ LOOP UNTIL (A=B) PRINT J operation results J= output is "8" A= because A is now equal to B