Difference between revisions of "Be the Machine - if"

From Progzoo
Jump to: navigation, search
Line 18: Line 18:
 
}
 
}
 
</shell>
 
</shell>
 +
Predict the output of each of the following programs.
 
<table align="right" border="1" cellpadding="2" style="border-collapse:collapse;">
 
<table align="right" border="1" cellpadding="2" style="border-collapse:collapse;">
 
   <tr style="font-weight:bold;">
 
   <tr style="font-weight:bold;">

Revision as of 19:34, 1 October 2009

Predict the output of each of the following programs.

name region area pop
Chad Africa 1280 91
Cuba Americas 110 113
Fiji Asia-Pacific 18 8
Iran Middle East 1650 707
Iraq Middle East 438 265
Laos Asia-Pacific 236 59
Mali Africa 1250 138
Oman Middle East 309 30
Peru South America 1280 280
Togo Africa 56 51

Problem 1


[Font] [Default] [Show] [Resize] [History] [Profile]

Problem 2


[Font] [Default] [Show] [Resize] [History] [Profile]

Problem 3


[Font] [Default] [Show] [Resize] [History] [Profile]

Problem 4


[Font] [Default] [Show] [Resize] [History] [Profile]

Problem 5


[Font] [Default] [Show] [Resize] [History] [Profile]

Problem 6


[Font] [Default] [Show] [Resize] [History] [Profile]

Problem 7


[Font] [Default] [Show] [Resize] [History] [Profile]

Problem 8


[Font] [Default] [Show] [Resize] [History] [Profile]