Chapter 4 Flashcards
What is cryptic programming?
Only programmer could understand the code.
What is spaghetti programming?
tangled control structure, especially one using many GOTO statements, exceptions, threads, or other “unstructured” branching constructs
What is structured programming?
One way in
One way out
Does not use GOTO
What is object oriented programming?
organized around objects rather than “actions” and data rather than logic; uses objects
What are the features of object oriented programing?
inheritance, polymorphism, encapsulation
What is encapsulation?
packing of data and functions into a single component
What is an example of class interaction?
*
What is OOP?
Object Oriented Programming
What are action modules called?
Math methods
What is the Math square root shortcut?
Math.sqrt
What does floor rounding mean?
down to nearest whole number
What does ceil rounding mean?
up to nearest whole number
What does round rounding mean?
normal rounding
What is the Math power shortcut?
Math.pow
What is the Math maximum shortcut?
Math.max