Review Of Demonology Beginnings
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!
- What are some software application types?
- What is our class motto?
- Why was our motto not as important in the past?
- Can you name three things that have changed in software development?
- What is the ancestry of Java?
- What is a bug in a computer program?
- Understand compilers, interpreters, and Java's hybrid approach.
- What is the meaning of the mystical word provenance?
- How can you spot a class name?
- What four things can you say about the curly braces?
- What happens if you leave out a curly brace, or put in an extra?
- Are error messages true? Do they help much, or are they misleading right now?
- We have two incantations posted on the wall: what are they used for?
- What does a class body contain?
- What are the two parts of a method?
- What does the latter part contain?
- And those end in what?
- What are the things to the left and the right of the method name? Be sure they are in the right order!
- What are the source file names in Java programs? What is their suffix?
- When you click Compile in Dr. Java, object files are created. What is their suffix?
- How do class names differ from method names?
- What exception do we see in the names of constructor methods?
- Where does System.out.println("Hello world!"); print?
- How can you distinguish a call to a method from a method declaration?
- How can you call a method from another class? Two ways.
- If I see a statement such as q = Math.log(f);, what class and method can I infer?
- What does a double slash // signify?
- What is the alternative to // ?
- 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!