7. Software Development Flashcards
4 types of programming languages
Interpretive code; compiled code; assembly languages; query languages
pseudo code
plain language description of an algorithm that can be written in any language
Arrays (3)
store elements of the same data type; perform operations on an entire set of values at once; zero indexed
constants are
numeric values that never change in our code
Conditional execution, 3 main types
if/then/else (boolean); for loops; while loops
Functions are used to
create reusable code segments that can be called many times (avoids mistakes)
Object oriented programming uses
a class (series) of objects that have common components (products, etc.). not step by step instructions
2 major components of objects
attributes and methods
attributes are
the properties or variables associated with an object (name, weight, price)
methods are
the functions or procedures (actions) we can take on an object (get price, set price). Tied to the object, not generally available like functions
Each copy of an object is called an
instance of the object (bicycle, TV, etc). Each instance is referenced by name, and we can call methods on that instance