# data[].attributes.body
why separate the methods so it could be easier to read and to work with

# data[].attributes.headline
17. Identify all the ways Greenfoot can help you find errors.

# data[].attributes.subject
17. Identify all the ways Greenfoot can help you find errors.

# data[].attributes.body
It will open a window and identify what and where the errors are.

# data[].attributes.headline
18.  Where can you access the source code and documentation?

# data[].attributes.subject
18.  Where can you access the source code and documentation?

# data[].attributes.body
You can access the source code and documentation by opening the editor and going to the top right corner

# data[].attributes.body
to refer to the current object

# data[].attributes.headline
10. Identify how many parameters are in a given signature.

# data[].attributes.subject
10. Identify how many parameters are in a given signature.

# data[].attributes.body
* Public void move(int distance)
1

# data[].attributes.body
Occurs in many different forms in programing. One of them is the technique to write code that can solve a whole class of problems, rather than a single specific problem.

# data[].attributes.headline
39. What is a method name and how do you identify one from a signature?

# data[].attributes.subject
39. What is a method name and how do you identify one from a signature?

# data[].attributes.body
A method name helps you identify the call of the method, for example: viod setDerrection(int direction)

# data[].attributes.body
The syntax of a while loop is − while(Boolean_expression) { // Statements } Here, statement(s) may be a single statement or a block of statements. The condition may be any expression, and true is any non zero value.

# data[].attributes.body
int, boolean and void
int returns integers, boolean returns true or false.
void returns an action.

# data[].attributes.headline
6. What is the syntax rule for class names?

# data[].attributes.subject
6. What is the syntax rule for class names?

# data[].attributes.body
The  first letter of a class name must be a capital letter.

# data[].attributes.headline
3.what are access modifiers? and how do we use them?

# data[].attributes.subject
3.what are access modifiers? and how do we use them?

# data[].attributes.body
they are private and public

# data[].attributes.body
A computer program is a collection of instructions that performs a specific task when executed.

# data[].attributes.headline
8. What does Greenfoot do when you compile? Can the computer understand Java?

# data[].attributes.subject
8. What does Greenfoot do when you compile? Can the computer understand Java?

# data[].attributes.body
Greenfoot saves and determines if their is a error when you compile. The computer can understand Java.

# data[].attributes.headline
14. What is a byte? Bit? And how many bits does a byte have?

# data[].attributes.subject
14. What is a byte? Bit? And how many bits does a byte have?

# data[].attributes.body
A byte is a group of binary numbers. A bit is the smallest number in binary. A bit has 1 byte and one byte has 8 bits.

# data[].attributes.body
What is the purpose of parameterizing a method?

To pass additional data and to make them more flexible and useful.

# data[].attributes.body
A instance is a object.
Violeta Cahue

# data[].attributes.body
19.How are curly braces used?

To enter info into a method as well as open and close a method.

20.Identify the structure of an if-statement? How do conditions and instructions work?

if (isTouching(Worm.class) )

{

removeTouching(Worm.class);

# data[].attributes.headline
15. Convert 10 to binary. And 00111000 to decimal.

# data[].attributes.subject
15. Convert 10 to binary. And 00111000 to decimal.

# data[].attributes.body
10 = 0101, 00111000 = 56

# data[].attributes.headline
28. What kind of return types are commands? Which return types are questions? 

# data[].attributes.subject
28. What kind of return types are commands? Which return types are questions? 

# data[].attributes.body
Commands usually have a void or nonvoid return type.  questions have a boolean return type.

Nathaniel Garcia

# data[].attributes.body
What do the following methods do and how can you use them to create movement?

getX() and getY()

it helps us put an object into a specific location.

# data[].attributes.headline
32.What is dot notation? Provide an example.

# data[].attributes.subject
32.What is dot notation? Provide an example.

# data[].attributes.body
A dot notation is when we wish to call a method and is not in our own class or inherited, we need to specify the class or object that has the method name, followed by a dot.
example
if(Greenfoot.isKeyDown("left"))
or
Greenfoot.stop()

Samantha Olivares

# data[].attributes.headline
26. Identify void and non-void return types. 

# data[].attributes.subject
26. Identify void and non-void return types. 

# data[].attributes.body
public void class () = void method, isAtEdge(); = void return types.
booleanisAtEdge() = non void return type.

# data[].attributes.headline
5. what is string concatenation?How is it used? 

# data[].attributes.subject
5. what is string concatenation?How is it used? 

# data[].attributes.body
A string concatenation is the operation of joining charecter string end-to-end. Example; "snow" ans "ball" is "snowball"

# data[].attributes.body
Why would you add an else-statement to an if-statement?

You would add an else statement to an if-statement , B/C
if the if statement's conditions are not true. So it will move on to the else statement and the program will execute it.

# data[].attributes.body
Define parameter and what they are used for?
Additional information can be passed to some methods within the parentheses.
Emily Garcia

# data[].attributes.headline
33. What are the logic operators for NOT and AND? 

# data[].attributes.subject
33. What are the logic operators for NOT and AND? 

# data[].attributes.body
NOT = !
AND =&&

# data[].attributes.body
Identify parts of the main window
interaction buttons, world and class buttons.
Emily Garcia

# data[].attributes.headline
12. What bases do decimal and binary use? 

# data[].attributes.subject
12. What bases do decimal and binary use? 

# data[].attributes.body
Decimal and Binary use base-10.

# data[].attributes.body
How do we avoid an infinite loop? What code do you use?
Avoid an infinite loop by initializing integer variable values to a set number so that the code will stop executing once it has counted to that set number.
Example: i<5

1. for(int i=0 ; i < 5 ; i++)

In this example the code stops after executing 5 times.

# data[].attributes.headline
7. What can you do with boolean methods?

# data[].attributes.subject
7. What can you do with boolean methods?

# data[].attributes.body
If the statement is true then it can act but if it's false then it won't act.

# data[].attributes.headline
21. How do you interact with Greenfoot objects?

# data[].attributes.subject
21. How do you interact with Greenfoot objects?

# data[].attributes.body
Place objects into the world, interact with them by right-clicking the object. The pop up " object menu" will show up or you can use the class diagram menu and make changes with the source code with many operations the  object can perform.
Violeta Cahue

# data[].attributes.headline
29.What did the makeKeys() method help us do in the piano scenario?  

# data[].attributes.subject
29.What did the makeKeys() method help us do in the piano scenario?  

# data[].attributes.body
it makes you help put the keys in the same location in the world.

# data[].attributes.body
Ex: setimage(); , mve();.

# data[].attributes.body
What is a loop? And how can you identify how many times it will execute?

A loop is a piece of code that will execute a set number of times(or infinitely is written incorrectly).
To identify the number of times locate the i variable or the integer variable used and see what number it has been set to stop at. Example:  i < 5
Loop example:

1. for(int i=0 ; i < 5 ; i++)

2. {

3.         System.out.println(“i is : “ + i);

4. }

# data[].attributes.headline
27. What is the difference between sub and super classes? 

# data[].attributes.subject
27. What is the difference between sub and super classes? 

# data[].attributes.body
Super clases are the main classes that may have a sub class. Sub classes are the classes that are under the super classes. They inherit the methods from the super class.

Nathaniel Garcia

# data[].attributes.headline
11. What are the resources that can help design the solution in the programming process? 

# data[].attributes.subject
11. What are the resources that can help design the solution in the programming process? 

# data[].attributes.body
Checking Syntax errors????

# data[].attributes.body
Variables can be used to store information ( objects or values) for later use.
Samantha Olivares

# data[].attributes.headline
9.Identify the structure and parts of a method signature.

# data[].attributes.subject
9.Identify the structure and parts of a method signature.

# data[].attributes.body
The description of each method shown in the object menu, access modifiers(public or private),return type, method name(boolean, void, int), parameter list(additional information)

# data[].attributes.headline
13.What are the differences between low and high  level languages?

# data[].attributes.subject
13.What are the differences between low and high  level languages?

# data[].attributes.body
The difference is that low level language is writen so the computer can understand it faster. High level language is abit harder to compile and understand