Review Of Demonology Beginnings

From Huben's Wiki
Jump to: navigation, search


Do you honestly think you know the merest dribble of demonological lore? Please amuse us with your efforts to evade the terrors of error messages and bloody red ink all over your test papers!

Bear in mind that any of the bold terms in your lessons may be required at my whim, so you must know them!

  1. What are some software application types?
  2. What is our class motto?
  3. Why was our motto not as important in the past?
  4. Can you name three things that have changed in software development?
  5. What is the ancestry of Java?
  6. What is a bug in a computer program?
  7. Understand compilers, interpreters, and Java's hybrid approach.
  8. What is the meaning of the mystical word provenance?
  9. How can you spot a class name?
  10. What four things can you say about the curly braces?
  11. What happens if you leave out a curly brace, or put in an extra?
  12. Are error messages true? Do they help much, or are they misleading right now?
  13. We have two incantations posted on the wall: what are they used for?
  14. What does a class body contain?
  15. What are the two parts of a method?
  16. What does the latter part contain?
  17. And those end in what?
  18. What are the things to the left and the right of the method name? Be sure they are in the right order!
  19. What are the source file names in Java programs? What is their suffix?
  20. When you click Compile in Dr. Java, object files are created. What is their suffix?
  21. How do class names differ from method names?
  22. What exception do we see in the names of constructor methods?
  23. Where does System.out.println("Hello world!"); print?
  24. How can you distinguish a call to a method from a method declaration?
  25. How can you call a method from another class? Two ways.
  26. If I see a statement such as q = Math.log(f);, what class and method can I infer?
  27. What does a double slash // signify?
  28. What is the alternative to // ?
  29. You should now know enough to write a simple class, with one solitary method that prints "Don't worry, be happy!". Choose the names of your class and method yourself. No arguments, no return value, yet the method should still have a return type: the mystical value void. Worry not about public and static: you may omit them for now.

On the test, you will answer questions of these sorts and more! You will have to examine some dread and loathsome code and answer questions about it. Conundrums and riddles of mythic proportions! Gird your mystic loins to do battle with the wits of I, your mentor!

Personal tools