Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/e5m7uo8vro0d/public_html/mediawiki/includes/MagicWord.php on line 860

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/e5m7uo8vro0d/public_html/mediawiki/includes/MagicWord.php on line 860

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/e5m7uo8vro0d/public_html/mediawiki/includes/MagicWord.php on line 834

Warning: Invalid argument supplied for foreach() in /home/e5m7uo8vro0d/public_html/mediawiki/includes/MagicWord.php on line 835

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/e5m7uo8vro0d/public_html/mediawiki/includes/MagicWord.php on line 839

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/e5m7uo8vro0d/public_html/mediawiki/includes/MagicWord.php on line 834

Warning: Invalid argument supplied for foreach() in /home/e5m7uo8vro0d/public_html/mediawiki/includes/MagicWord.php on line 835

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/e5m7uo8vro0d/public_html/mediawiki/includes/MagicWord.php on line 839

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/e5m7uo8vro0d/public_html/mediawiki/includes/MagicWord.php on line 834

Warning: Invalid argument supplied for foreach() in /home/e5m7uo8vro0d/public_html/mediawiki/includes/MagicWord.php on line 835

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/e5m7uo8vro0d/public_html/mediawiki/includes/MagicWord.php on line 839

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/e5m7uo8vro0d/public_html/mediawiki/includes/MagicWord.php on line 834

Warning: Invalid argument supplied for foreach() in /home/e5m7uo8vro0d/public_html/mediawiki/includes/MagicWord.php on line 835

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/e5m7uo8vro0d/public_html/mediawiki/includes/MagicWord.php on line 839

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/e5m7uo8vro0d/public_html/mediawiki/includes/MagicWord.php on line 860

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/e5m7uo8vro0d/public_html/mediawiki/includes/MagicWord.php on line 860

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/e5m7uo8vro0d/public_html/mediawiki/includes/MagicWord.php on line 860

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/e5m7uo8vro0d/public_html/mediawiki/includes/MagicWord.php on line 860

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/e5m7uo8vro0d/public_html/mediawiki/includes/MagicWord.php on line 860
The Mind Of Sauron - Huben's Wiki

The Mind Of Sauron

From Huben's Wiki
Jump to: navigation, search
Line 35: Line 35:
 
*** Start with a cackle!
 
*** Start with a cackle!
 
*** Chant the spell in your field, then chant another spell you make up.
 
*** Chant the spell in your field, then chant another spell you make up.
 +
*** Send 9 ringwraiths to The Shire.
 
*** Print the number of Hobbits needed as food for your army every week.
 
*** Print the number of Hobbits needed as food for your army every week.
 
*** Print the number of Hobbits needed as food for your army every week if you double the number of Orcs.
 
*** Print the number of Hobbits needed as food for your army every week if you double the number of Orcs.
  
 
When you are done, put the code and the results from running it into a document, then print it for me to grade.  You can also show me what you've done at the computer any time.  Do not get stuck: you should be able to get this done today if you persevere.  If you can't then finish it for homework.
 
When you are done, put the code and the results from running it into a document, then print it for me to grade.  You can also show me what you've done at the computer any time.  Do not get stuck: you should be able to get this done today if you persevere.  If you can't then finish it for homework.
 +
 +
<!--
 +
What we should have learned:
 +
* How to translate an English description into a field or method.
 +
* You don't need to know the context to program something.
 +
* How to follow instructions closely and completely.
 +
* How to use a method more than once with different arguments.
 +
* How to make a method and use it more than once rather than duplicate code.
 +
* How to make and use arrays.
 +
* How to initialize Strings and arrays of Strings.
 +
* The difference between int and double, especially for division.
 +
* How to pick meaningful names for methods and variables (fields and local variables.)
 +
* The meaning of static, public and private can still be a mystery.
 +
* We can write a large, awesome program that does real stuff!
 +
-->

Revision as of 12:40, 30 September 2013

translate