Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
35 Cards in this Set
- Front
- Back
the process of writing code to facilitate specific actions in a computer. |
Computer programming |
|
Fundamental object oriented concepts were first introduced via the class construct in the___________ |
Simula programming language in the 1960s. |
|
Simula is the name of two simulation programming languages, ___________ developed in the 1960s at ____________, by _______________. |
•Simula I and Simula 67 •Norwegian Computing Center in Oslo •Ole-Johan Dahl and Kristen Nygaard) |
|
is a computer programming model that organizes software design around data, or objects, rather than functions and logic. |
Object-oriented programming (OOP) |
|
which at times has been referred to as inline programming, takes on applications by solving problems from the top of the code down to the bottom. |
Procedural Programming (programming model) |
|
are also known as routines, subroutines or functions. Series of computational steps to be carried out. |
Procedures |
|
one for which the compiler copies the code from the function definition directly into the code of the calling function rather than creating a separate set of instructions in memory. |
inline programming |
|
breaking down data into pieces. The implementation and state of each object are privately held inside a defined boundary, or class. |
Encapsulation |
|
it adds another behavior in the class. Objects only reveal internal mechanisms that are relevant for the use of other objects, hiding any unnecessary implementation code. |
Abstraction |
|
Relationships and subclasses between objects can be assigned, allowing developers to reuse a common logic while still maintaining a unique hierarchy. |
Inheritance |
|
it cuts down the need to duplicate the code or adopt, and to avoid the code to be longer. Objects can take on more than one form depending on the context. |
Polymorphism |
|
First programmer: Ada Lovelace |
true |
|
collects all of the objects. |
Data modeling |
|
acts as the blueprint for individual objects. |
Classes |
|
4 Access Modifier: |
Protected Public Private Default |
|
Specimen of class |
Objects |
|
characteristics that define objects |
attributes |
|
function that are defined inside a class that describe the behavior of an object |
Methods |
|
predefined by the programming language. (int, float, Boolean, char) |
Primitive data types (simple data type) |
|
not defined by the programming language but are created by programmers. (string, arrays, classes, interface) |
Non-primitive data types |
|
NON PRIMITIVE in Java are homogeneous data structures implemented in Java as objects. |
Arrays |
|
NON-PRIMITIVE is a sequence of characters. But in Java, a _________ is an object that represents a sequence of characters.
|
Strings |
|
NON PRIMITIVE ____________ contains fields(variables) and methods to describe the behavior of an object. |
Classes |
|
NON PRIMITIVE
Like a class, an ________ can have methods and variables, but the methods declared in __________ are by default abstract (only method signature, no body) |
Interface |
|
Object Definition - which are defined via class constructs.A class construct in Java consists of the class keyword followed by the class name and braces { }. |
True |
|
Variable Declaration: involves specifying the variable's type and name. ex. int age Variable Initialization: Initialization is the process of assigning an initial value to a declared variable. ex. int age = 25 |
True |
|
VARIABLE DEFINITIONS Anticipating Values and Allocating Storage: specifying the type of data that a variable can hold.
Valid and Applicable Operations: Different types of data support different operations.
Compiler role: checks the types of variables and the operations being performed on them. |
True |
|
Three types of variables in Java:
A variable defined within a block or method or constructor |
Local Variables |
|
Three types of variables in Java: are non-static variables and are declared in a class outside any method, constructor or block. |
Instance Variables |
|
Three types of variables in Java:
are also known as Class variables. These variables are declared similarly as instance variables, the difference is that __________ are declared using the ______ keyword within a class outside any method constructor or block. |
Static Variables |
|
is a special method that is used to initialize objects. |
Constructor |
|
is created only when we don't declare any constructor in our code. |
Default constructor |
|
a constructor that does not accept any arguments. |
No arg Constructor |
|
can also accept one or more parameters. (constructor with parameters). |
Parameterized Constructor |
|
can also accept one or more parameters. (constructor with parameters). |
Parameterized Constructor |