# data[].attributes.headline
Q.19 Jorge Vargas   How are curly braces used? 

# data[].attributes.subject
Q.19 Jorge Vargas   How are curly braces used? 

# data[].attributes.body
they are use to mark the body in which you place your stamen.

# 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
Void is more of an interactive return type where it will be for commands for objects within the world while non-void is more informational, like how int can help you see stats on the scenario or be used to input numbers as parameters while something like boolean will answer true and false based on the conditions or question asked.

27.) What is the difference between sub and super classes?

A superclass holds the subclasses under one broad genre, for example the superclass in the piano scenario would be world while the class named piano in the world class is a subclass of the superclass world. Within the actor class, actor is a superclass of any object within the world. Any object would be a subclass of the actor class.

28.) What kind of return types are commands? Which return types are questions?

A void return type would be a command because it does not receive information back, for commanding within the scenario. Boolean and int are more informational as boolean returns true or false response and int is numbers, does not interact with the code directly.

- N.A.

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

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

# data[].attributes.body
by right clinking on actor or world. and left clinking on open documentation.

# data[].attributes.body
What is an instance?
Are Variables that belong to an object rather than a method.
R.S

# data[].attributes.body
Question 8: What does Greenfoot do when you compile? Can the computer understand Java?
Runs the game, if errors, won't load up game. Yes.
Question 9: Identify the structure and parts of a method signature.
Return type, name, and parameters.
Question 10: Identify how many parameter are in a given signature.

Public void move(int distance)

Two Parameters

# data[].attributes.body
Variables are used to store a value to a symbol

# data[].attributes.headline
Q.1What do the following methods do and how can you use them to create movement? 	• getX() and getY()

# data[].attributes.subject
Q.1What do the following methods do and how can you use them to create movement? 	• getX() and getY()

# data[].attributes.body
They return coordinates of the object's current location

# data[].attributes.body
How do you interact with Greenfoot objects?
We can interact with the objects by right clicking on the objects.
R.S

# data[].attributes.body
Alejandro Moreno q.25
a mistake in the code which the compiler checks to see whether there are any errors for example if you miss a semicolon.

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

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

# data[].attributes.body
Logical operators for NOT and AND is ! and &&

# data[].attributes.body
How Do we separate methods?
Curly Brackets

Q.39
What is a method name and how do you identify one from a signature?
The name that describes what the method does.

Q.40
Identify all return types.
Boolean: True or False
Void: Action
Int: Numbers

# data[].attributes.headline
define parameter and what are they used for?

# data[].attributes.subject
define parameter and what are they used for?

# data[].attributes.body
Alejandro Morenoq.24 a parameter is a mechanism to pass additional data to a method.

# data[].attributes.body
What is the syntax rule for class names?
the Class name has to be capital

# data[].attributes.body
boolean has two possible values: true or false. boolean will either the value true or the value of false to us

# data[].attributes.body
What are access modifiers? And how do we use them? they are keywords private and public and they determine who can see and call a method
ex.
private void addScore();
public void act();

# data[].attributes.body
Alejandro Moreno q.23 the main parts of the window are world class diagram and execution controls.

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

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

# data[].attributes.body
It created the white keys for the piano with different notes for every key.

30.What is abstraction?
-To hide certain details and only show the essential features of an object.

31.What are variables used for?
-they are variables that belong to an object, it can be used to store information.(objects or values).

# data[].attributes.headline
Q.35 A loop can repeat a specific piece of code infinitely. It can execute as many times as the user allows. Q.36 the code will repeat infinitely, but with a variable check, you can stop it from repeating infinitely. 

# data[].attributes.subject
Q.35 A loop can repeat a specific piece of code infinitely. It can execute as many times as the user allows. Q.36 the code will repeat infinitely, but with a variable check, you can stop it from repeating infinitely. 

# data[].attributes.body
Q.37 a While loop allows code to repeat as long as all the arguments are met.

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

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

# data[].attributes.body
Dot notation allows you to use special methods from greenfoot .

Ex. Greenfoot.stop();
Greenfoot.playSound("soundfile.wav")

# data[].attributes.headline
q.17     Jorge vargas                           Identify all the ways Greenfoot helps you find errors.  

# data[].attributes.subject
q.17     Jorge vargas                           Identify all the ways Greenfoot helps you find errors.  

# data[].attributes.body
it tells you were the errors at. underline the errors . gives you detail of why it doesn't work.

# data[].attributes.body
11. What are some resources that can help design the solution in the programming process?
/ Methods, Documentation

12. What bases do decimals and binary use ?
/

13. What are the differences between low and high level languages?
/Computer does not understand high level language and the code is written

# data[].attributes.body
14  | What is a byte? Bit? And how many bits does a byte have?  A byte is a group of binary digit, a bit is a small part something. A byte has 8 bits. |
15  | Convert 10 to binary. And 00111000 to decimal.   Ten in binary is written as 00001010 and 00111000 converted in decimal is 56. |
16  | What does a computer program do? A computer program works to process and function different activities conducted by the programmer.
(E.A.R.)   |

# data[].attributes.headline
Q.5 What is string concatenation? How is it used? string concatenation is written with a plus symbol (+), and merges two strings into one

# data[].attributes.subject
Q.5 What is string concatenation? How is it used? string concatenation is written with a plus symbol (+), and merges two strings into one

# data[].attributes.body
C.A

# data[].attributes.body
What is the purpose of parametirizing a method?  The purpose of parameterizing is to add data to the method G.M
ex.
move(5);

# data[].attributes.body
Identify the structure of an if-statement? How do conditions and instructions work?
An if statement is executed only when certain conditions are true.
R.S

# data[].attributes.headline
q.4 the this keyword do is select the current actor/object

# data[].attributes.subject
q.4 the this keyword do is select the current actor/object

# data[].attributes.body
G.M
Q.4
What does this keyword do? it selects the current object.
ex.
getWorld().removeObject(this);