1/23
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
Object-Oriented Programming
about creating objects that contain both data and methods
Procedural programming
writing procedures or methods that perform operations on the data,
WHY OOP PROGRAMMING
faster and easier to execute, provides a clear structure for the programs, makes the code easier to maintain, modify and debug, full reusable applications with less code and shorter development time.
BASIC PRINCIPLE OF OOP
Abstraction, Encapsulation, Inheritance, and Polymorphism, There are also objects and classes.
Class
a blueprint or template for creating objects
object
a fundamental building block, self-contained unit that combines data (attributes) and the functions (methods) that operate on that data.
Programming Logic
a set of principles describes how elements shoud be arranged
Algorithm
Series of instructions, how to transfrom a set of facts about the world into useful information.
Computer Programming
set of instructions helps developer to perform certain tasks.
computer
machine that processes data that can be any information that is provided by the user.
Primary Memory / RAM (Random Access Memory)
accessed or modified quickly in any order or random, stored in RAM is lost when the computer is turned off.
Secondary Memory / ROM (Read-Only Memory)
stored in ROM is read-only and stored permanently, Stored instruction required to start a computer.
BASIC PROGRAMMING CONCEPTS
Algorithm
Source Code
Compiler
Data Type
Variable
Condtionals
Array
Loop
Function
Class
Algorithm
set of steps or instruction statements
Source code
actual text that used to construct program using the language of choice.
Compiler
software program that helps in converting source code into binary code or byte code, AKA (machine language)
Data Type
classification specifies which type of value a variable has.
Variable
space holder or a data holder for the value stored in the memory.
Conditionals
Knowledge of how to use a certain condition, A set of codes should execute only if a certain condition is true.
Array
variable that stores elements of a similar data type.
Loop
used to execute the series of code until the condition is true.
Function
Functions or methods are used to accomplish a task in programming, used to reuse them whenever required at any place repeatedly.
Class
Like Template that containe state and behavior
Java (Language)
Revolves around classes and objects