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

# data[].attributes.headline
20.Identify the structure of an if-statement? How do conditions and instructions work?

# data[].attributes.subject
20.Identify the structure of an if-statement? How do conditions and instructions work?

# data[].attributes.body
if the condition is false, it just skippes the instruction inside the braces.. if the condition is true it will compile (run).

# data[].attributes.body
A character or strings incorrectly placed in a command or instructions that causes a failure in execution.

# data[].attributes.body
binary is base 2 and decimal is base 10

# data[].attributes.body
Through the process of abstraction, a programmer hides all but the relevant data about an object in order to reduce complexity and increase efficiency.

# data[].attributes.headline
28.  A method with a void return type present commands; & methods with non-void return types represent questions. 

# data[].attributes.subject
28.  A method with a void return type present commands; & methods with non-void return types represent questions. 

# 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
0b1010 =10

# 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
makeKeys() created the keys on the piano scenario.

# data[].attributes.headline
27. what is a sub class and what is a super-class?

# data[].attributes.subject
27. what is a sub class and what is a super-class?

# data[].attributes.body
A subclass is a class that represents a specialization of another. In Greenfoot, this is shown with an arrow in the class diagram.

# data[].attributes.body
Variables are typically used to store information which your program needs to d o its job.

# data[].attributes.headline
Question 34: Why would you add an else-statement to an if- statement?

# data[].attributes.subject
Question 34: Why would you add an else-statement to an if- statement?

# data[].attributes.body
To add a separate condition if the if-statement fails.

# data[].attributes.body
a parameterized method call enables you to specify the common base type of the methods arguments that should be the type of the container elements.

# data[].attributes.headline
23. Identify parts of the main window.World, Class diagram, Execution Controls, A class, an Object

# data[].attributes.subject
23. Identify parts of the main window.World, Class diagram, Execution Controls, A class, an Object

# data[].attributes.headline
Question 5 :What is the purpose of String Concatenation?

# data[].attributes.subject
Question 5 :What is the purpose of String Concatenation?

# data[].attributes.body
It merges two strings into one, can be spotted and written with the involvement of a + symbol.
Page 93 of the Greenfoot book.

# data[].attributes.body
Parameters are used to pass additional data to a method

# data[].attributes.body
What are the differences between low and high level languages?
Java and python are a type of high level language. The computer doesn't understand high level languages but humans do. The computer needs programs like Green foot to convert it into binary in order for the computer to understand

# 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.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 is a set of code which is referred to by name and can be called (invoked) at any point in a program simply by utilizing the method's name.

# 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
The editor.

# data[].attributes.headline
37. A loop is a programming language construct that allows us to express commands. 

# data[].attributes.subject
37. A loop is a programming language construct that allows us to express commands. 

# data[].attributes.headline
question 14. What is a byte? Bit? And how many bits does a byte have?  a byte is a unit of digital information that mostly consists of eight bits. 

# data[].attributes.subject
question 14. What is a byte? Bit? And how many bits does a byte have?  a byte is a unit of digital information that mostly consists of eight bits. 

# data[].attributes.body
They are used to enclose groups of statements.

# 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
if( condition)
{
instruction;
instruction:
...
}

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

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

# data[].attributes.body
Both  metods getX() and getY() get locations in your world to place actors.

# data[].attributes.body
Can create objects from it. (Objects are also often referred to as instances in programing--The two terms are synonyms.)

# data[].attributes.headline
q.36 How do we avoid an infinite loop? What code do you use?

# data[].attributes.subject
q.36 How do we avoid an infinite loop? What code do you use?

# data[].attributes.body
i = i +1 we put counter so it loop variable by every one time its excuted

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

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

# data[].attributes.body
A loop variable is a local variable that is used for counting the number of iterations in a loop. The way to identity it is by looking at the number in
int i =0
while (i < 100). For example, in this code it would loop 100 times.

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

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

# data[].attributes.body
c++,

# data[].attributes.body
To make them easier to read.

# 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
Dot notation is when you call a method not in the class or inherited. The class that has that method is followed by a dot and then the method.
Ex: Greenfoot.getRandomNumber(100)

# data[].attributes.body
"This" refers to the object in that instance
If you have multiple leaves to be eaten with removeObject(this); it will get rid of that one leaf not all the leaves.

# data[].attributes.body
Identify all the ways Greenfoot helps you find errors.  It highlights it red when its wrong.

# 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 means "nothing"
non void asks the question

void is just void
non void is "int" and "boolean"

# 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
To set conditions to make an if statement.

# 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
The keywords private and public are called access modifiers. They are put in the method signature to determine if a class can call that method from another class.

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

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

# data[].attributes.body
Flow chart, pseudocode, and plain english or outline.

# data[].attributes.headline
21. How do you interact with Greenfoot objects?-- Objects can interact ("talk to") other objects by calling methods on those other objects.

# data[].attributes.subject
21. How do you interact with Greenfoot objects?-- Objects can interact ("talk to") other objects by calling methods on those other objects.

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

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

# data[].attributes.body
it translate into computer languge which means they change into binary