Interview

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/24

encourage image

There's no tags or description

Looks like no tags are added yet.

25 Terms

1
New cards

Object Oriented Programming

Encapsulation, Abstraction, Inheritance, and Polymorphism

2
New cards

Encapsulation

Bundling an object's data and methods together while restricting direct outside access to internal state

3
New cards

Abstraction

Hiding implementation details behind an interface so callers work with what an object does rather than how it functions internally

4
New cards

Inheritance

Allowing a child (subclass) to derive attributes and behaviors from a parent (superclass), enabling shared structure and code reuse

5
New cards

Polymorphism

Allowing different object types to respond to the same interface or method call in their own specific way

6
New cards

Interface

Defines what an object can do. Define behavioral capability across unrelated types.

7
New cards

Abstract Class

Defines what an object is. Provide a partial implementation and shared base state/behavior for closely related types

8
New cards

HashMap

Like a dictionary in Python, stores key-value pairs

9
New cards

Array List

Resizable array of contiguous slots. Use when you read elements by index frequently, iterate sequentially through collections, or stream/sort data.

10
New cards

Linked List

Nodes containing value + prev / next references. Use when you frequently add or remove elements at the ends

11
New cards

Spring Boot (Java)

A ready-to-run setup for Java backend programs. Includes a built-in web server and auto-configuration

12
New cards

Java Backend Program

  1. Listens for requests (APIs / endpoints)

  2. Reads and writes data (databases & files)

  3. Communicates with other systems

  4. Enforces business rules

  5. Handles security, logging, and errors


13
New cards

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.

14
New cards

Principles of REST

  1. Resource-Based URIs: Everything is treated as a "resource" (e.g., shipments, trucks, drivers), represented by nouns in the URL path

  2. 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.

  3. Uniform Interface: The API uses standard HTTP methods consistently to perform operations on resources.

  4. Representation-Centric: Data is typically exchanged in lightweight, human-readable formats like JSON or XML.


15
New cards

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)

16
New cards

Django (Python)

A full-stack web framework suited for complete web applications with built-in authentication and an admin panel.

17
New cards

FastAPI (Python)

Python web framework designed for building APIs quickly using standard Python type hints.

18
New cards

Flask (Python)

Lightweight Python web framework used to build web applications and websites.

19
New cards

TensorFlow

Deep learning library for building and deploying neural networks

20
New cards

Scikit-Learn

The standard toolkit for classical machine learning. Includes regression, classification, clustering, cross-validation, etc.

21
New cards

Python Data Structures (list, dict, set, int, float, bool, str, tuple, frozenset)

Know these

22
New cards

Data Cleaning

  1. Inspect: Missing/Null entries

  2. Normalize: Trim whitespace, standardize case

  3. Standardize: Standardize numerical types, convert timestamps/dates

  4. Handle missing values: Drop unusable rows, impute values

  5. Deduplicate: Define duplicates, decide which to keep


23
New cards

Data Validation

Verifying incoming data against rules.

  1. Boundary/Input validation

  2. Business rules validation

  3. Database constraints (NOT NULL, UNIQUE, etc)


24
New cards

Exception Handling

Controls how unexpected or failed operations are logged, translated into clear errors, and recovered from safely

25
New cards

API Handling

Constructing HTTP requests with proper headers and timeouts, parsing structured JSON responses, checking status codes, handling errors and edge cases cleanly.

  1. Validate inputs and outputs: Check required fields and types at the boundary rather than assuming external JSON always matches what you expect.