design OO words Debug Variables Data types 100 100 100 100 100 200 200 200 200 200 300 300 300 300 300 400 400 400 400 400 500 500 500 500 500
RE-order the steps of good design: 1 debug 2 plan 3 compile 4 code
What is plan code compile debug
Name the three design structures
What are Sequence decision and Loops
To set the variable age equal to 19 you would use an?
What is a assignment statement?
John, reads his statement, writes a check, and mails the check to the company, John is using a? structure
What is sequence?
I want to go to the show, if I am 17 my ticket is $5 but if I am 18 my ticket is $7.50. In code this would be solved with a?
What is decision?
A group or collection of objects with common properties?
What is a class?
The characteristics that define an object as part of a class
What are attributes?
A Self contained block of program code?
What is A METHOD?
An existing Object of a class?
What is an Instance?
Names for computer memory locations
What are Variables?
Alan creates a variable to hold the clients name… String 1clientName;
What is String clientName;
Sara wants to add 4 to her cost variable she write the following statement… 4 + cost = answer;
What is answer = cost + 4;
Correct the logic error studentName = “Jeffery”; String studentName;
String studentName; studentName = “Jeffery”; Why?
Correct the bug: char myMiddleI =‘MI’;
Char myMiddleI = ‘M’; why?
Correct the logic error int partCost = 44.50;
float partCost = 44.50; why?
A variable must start with?
What is a letter?
Variables have three parts?
What are memory Name address value
A variable can hold one to three types of data
What are numbers, alphanumeric and Boolean data
What are the two values of a Boolean Variable?
What are true or false?
A variable named to hold the value ‘*’ would be what type?
What is char?
Name three type of Integral data types.
What are int, long, and short?
Data that is not used in math calculations should be what type?
What is String?
To get data from the user at run time we can use what gui?
What is JOption.Pane.showInputDialog?
Which one of the following is not required in a variable declaration? Type, identifier, assigned value, semicolon
What is Assigned value?
When data cannot be change after a class is complied the data is?
What is a constant?