1/24
Looks like no tags are added yet.
Object Oriented Programming
Encapsulation, Abstraction, Inheritance, and Polymorphism
Encapsulation
Bundling an object's data and methods together while restricting direct outside access to internal state
Abstraction
Hiding implementation details behind an interface so callers work with what an object does rather than how it functions internally
Inheritance
Allowing a child (subclass) to derive attributes and behaviors from a parent (superclass), enabling shared structure and code reuse
Polymorphism
Allowing different object types to respond to the same interface or method call in their own specific way
Interface
Defines what an object can do. Define behavioral capability across unrelated types.
Abstract Class
Defines what an object is. Provide a partial implementation and shared base state/behavior for closely related types
HashMap
Like a dictionary in Python, stores key-value pairs
Array List
Resizable array of contiguous slots. Use when you read elements by index frequently, iterate sequentially through collections, or stream/sort data.
Linked List
Nodes containing value + prev / next references. Use when you frequently add or remove elements at the ends
Spring Boot (Java)
A ready-to-run setup for Java backend programs. Includes a built-in web server and auto-configuration
Java Backend Program
Listens for requests (APIs / endpoints)
Reads and writes data (databases & files)
Communicates with other systems
Enforces business rules
Handles security, logging, and errors
REST API
Set of rules for communication protocols between systems over the web. Universal language for web frontends, mobile apps, and backend microservices (such as a Java/Spring Boot service or a Python FastAPI service) to talk to one another.
Principles of REST
Resource-Based URIs: Everything is treated as a "resource" (e.g., shipments, trucks, drivers), represented by nouns in the URL path
Statelessness: The server does not store any client session state between requests. Every request from the client must contain all the necessary context, authentication tokens, and parameters for the server to process it independently.
Uniform Interface: The API uses standard HTTP methods consistently to perform operations on resources.
Representation-Centric: Data is typically exchanged in lightweight, human-readable formats like JSON or XML.
Mutable vs Immutable Objects
Mutable objects can be modified in place. Any variable referencing that same object sees the change. (ex: List, dict, set).
Immutable objects cannot be altered in place. Operations that appear to change them create a new object with a new identity. (ex: Int, float, bool, str, tuple, frozenset)
Django (Python)
A full-stack web framework suited for complete web applications with built-in authentication and an admin panel.
FastAPI (Python)
Python web framework designed for building APIs quickly using standard Python type hints.
Flask (Python)
Lightweight Python web framework used to build web applications and websites.
TensorFlow
Deep learning library for building and deploying neural networks
Scikit-Learn
The standard toolkit for classical machine learning. Includes regression, classification, clustering, cross-validation, etc.
Python Data Structures (list, dict, set, int, float, bool, str, tuple, frozenset)
Know these
Data Cleaning
Inspect: Missing/Null entries
Normalize: Trim whitespace, standardize case
Standardize: Standardize numerical types, convert timestamps/dates
Handle missing values: Drop unusable rows, impute values
Deduplicate: Define duplicates, decide which to keep
Data Validation
Verifying incoming data against rules.
Boundary/Input validation
Business rules validation
Database constraints (NOT NULL, UNIQUE, etc)
Exception Handling
Controls how unexpected or failed operations are logged, translated into clear errors, and recovered from safely
API Handling
Constructing HTTP requests with proper headers and timeouts, parsing structured JSON responses, checking status codes, handling errors and edge cases cleanly.
Validate inputs and outputs: Check required fields and types at the boundary rather than assuming external JSON always matches what you expect.