20 November 2025

#Data_Science

#Data_Science

Key Concepts


Topic SubTopics (comma separated) Basic Intermediate Advanced Expert
Python for Data Science NumPy, Pandas, Matplotlib, Seaborn, SciPy ✔️ ✔️ ✔️
Statistics & Probability Descriptive Stats, Inferential Stats, Probability Dist., Hypothesis Testing, Sampling ✔️ ✔️ ✔️ ✔️
Machine Learning Supervised, Unsupervised, Model Evaluation, Regularization, Feature Engineering ✔️ ✔️ ✔️ ✔️
Deep Learning Neural Networks, CNN, RNN, LSTM, Attention ✔️ ✔️ ✔️
Data Wrangling Cleaning, Missing Values, Outliers, Encoding, Transformation ✔️ ✔️ ✔️
Data Visualization Matplotlib, Seaborn, Plotly, Dash, Storytelling ✔️ ✔️ ✔️ ✔️
Big Data Technologies Hadoop, Spark, Hive, HDFS, Streaming ✔️ ✔️ ✔️
SQL & NoSQL Joins, Window Functions, Aggregations, MongoDB, Indexing ✔️ ✔️ ✔️ ✔️
Cloud for Data Science AWS S3, Lambda, SageMaker, GCP BigQuery, Azure ML ✔️ ✔️ ✔️
MLOps CI/CD, Model Deployment, Monitoring, ML Pipelines, Docker & Kubernetes ✔️ ✔️ ✔️
Feature Engineering Scaling, Encoding, PCA, Feature Selection, Time-Series Features ✔️ ✔️ ✔️ ✔️
Time Series Analysis ARIMA, SARIMA, ETS, Prophet, LSTM, Forecasting ✔️ ✔️ ✔️
NLP Tokenization, Embeddings, Transformers, LLMs, Text Classification ✔️ ✔️ ✔️
Data Engineering ETL, Data Pipelines, Airflow, DB Design, Data Lakes ✔️ ✔️ ✔️
Model Optimization Hyperparameter Tuning, Grid/Random Search, Bayesian Opt., Pruning ✔️ ✔️ ✔️
Deployment & Scaling REST APIs, Flask/FastAPI, Batch vs Real-Time, Scaling Models ✔️ ✔️ ✔️
Data Ethics & Governance Fairness, Bias, Explainability (XAI), GDPR, Security ✔️ ✔️ ✔️ ✔️
Mathematics for DS Linear Algebra, Calculus, Optimization, Vectorization ✔️ ✔️ ✔️ ✔️
Business Analytics KPI Analysis, Dashboards, A/B Testing, Insights ✔️ ✔️ ✔️
Research & Experimentation Experiment Design, AB Testing, Simulation, Causal Inference ✔️ ✔️ ✔️

Interview question

🟢 Basic Level

  1. What is Data Science?
  2. Difference between Data Science, Data Analytics, and Machine Learning?
  3. What are structured and unstructured data?
  4. What is a dataset?
  5. What is the role of a data scientist?
  6. What is sampling? Why is it used?
  7. Explain mean, median, and mode.
  8. What is standard deviation?
  9. What is variance?
  10. What is correlation?
  11. What is a histogram?
  12. What is a box plot?
  13. What is a scatter plot used for?
  14. Difference between a population and a sample.
  15. What is a null hypothesis?
  16. What are outliers?
  17. What is data cleaning?
  18. What is feature scaling?
  19. What is normalization?
  20. What is a train-test split?
  21. What is supervised learning?
  22. What is unsupervised learning?
  23. What is a classification problem?
  24. What is a regression problem?
  25. What is overfitting?

🟡 Intermediate Level

  1. What is underfitting?
  2. What is cross-validation?
  3. What is k-fold cross-validation?
  4. What is a confusion matrix?
  5. Explain precision and recall.
  6. What is F1-score?
  7. What is ROC-AUC?
  8. What is logistic regression?
  9. How does k-NN work?
  10. What is Naive Bayes?
  11. What is decision tree?
  12. Explain Random Forest.
  13. What is gradient boosting?
  14. What is XGBoost?
  15. What is feature engineering?
  16. What is one-hot encoding?
  17. What is label encoding?
  18. What is PCA (Principal Component Analysis)?
  19. What is multicollinearity?
  20. What is regularization?
  21. Difference between L1 and L2 regularization.
  22. What is a cost function?
  23. What is bias?variance tradeoff?
  24. What is EDA (Exploratory Data Analysis)?
  25. What are missing value handling techniques?

🔵 Advanced Level

  1. What is a neural network?
  2. What is backpropagation?
  3. Explain gradient descent.
  4. What is stochastic gradient descent?
  5. Explain vanishing gradient problem.
  6. Difference between CNN and RNN.
  7. What is LSTM?
  8. What is attention mechanism?
  9. What are word embeddings?
  10. Explain TF-IDF.
  11. What is time-series forecasting?
  12. What is ARIMA?
  13. What is stationarity in time series?
  14. What is autocorrelation?
  15. What is cross-correlation?
  16. What is anomaly detection?
  17. What is k-means clustering?
  18. What is hierarchical clustering?
  19. What is silhouette score?
  20. What is DBSCAN?
  21. What is model drift?
  22. What is data leakage?
  23. What is MLOps?
  24. What is Docker in ML deployment?
  25. Explain REST API for ML model.

🔴 Expert Level

  1. Explain transformer architecture.
  2. What are large language models (LLMs)?
  3. What is reinforcement learning?
  4. Explain Q-learning.
  5. What is Markov Decision Process (MDP)?
  6. What is approximate inference?
  7. Explain Bayesian networks.
  8. What is causal inference?
  9. What is counterfactual prediction?
  10. What is SHAP?
  11. What is LIME?
  12. Explain gradient boosting in detail.
  13. How does CatBoost handle categorical variables?
  14. What is feature store?
  15. Explain Data Lake vs Data Warehouse.
  16. What is delta lake?
  17. What is distributed training?
  18. What is parameter server architecture?
  19. What is vector database?
  20. What is embedding dimensionality reduction?
  21. Explain end-to-end ML lifecycle.
  22. What is model observability?
  23. What is multi-armed bandit algorithm?
  24. Explain optimization using Adam, RMSProp.
  25. Explain real-time ML pipelines (Kafka + Spark + ML model).

Related Topics


18 November 2025

#Exception-Handling

#Exception_Handling

Key Concepts


Topic Sub-Topic Basic Intermediate Advanced Expert
Exception Basics Exception, Error vs Exception, Exception hierarchy, Checked vs Unchecked
Try-Catch-Finally try block, catch block, multiple catch, finally block, nested try-catch
Throw & Throws throw keyword, throws keyword, difference, use cases
Custom Exceptions User-defined exceptions, Extending Exception class, Extending RuntimeException class
Exception Propagation Call stack propagation, rethrowing exceptions, handling vs declaring
Multi-Catch & Re-throw Multi-catch (Java 7+), Rethrowing exceptions, Exception wrapping
Try-with-Resources AutoCloseable, Suppressed exceptions, Resource management
Best Practices Checked vs unchecked choice, meaningful messages, logging, avoiding empty catch
Exception Hierarchy Throwable, Error, Exception, RuntimeException, Custom hierarchy
Overriding & Exceptions Exception rules in overriding, narrower exceptions, throws clause differences
Performance Impacts Cost of exceptions, Alternatives to exceptions, Avoiding overuse
Streams Stream pipelines, lambda expressions, handling checked exceptions in lambdas
Framework-Specific Spring @ExceptionHandler, REST Exception Mappers, JUnit expected exceptions
Advanced Scenarios Exception translation, Exception chaining, Domain-specific exceptions, Retry strategies
System-Level Exceptions JVM errors, OutOfMemoryError, StackOverflowError, Fatal exceptions
Design Patterns & Exceptions Try-catch-finally pattern, Command pattern with exceptions, Checked-to-unchecked conversion
Logging & Monitoring Logging frameworks (SLF4J/Log4j), Correlation IDs, Centralized monitoring
Distributed Systems Exception handling across services, retries, circuit breakers, fallback strategies
Expert Practices Fail-fast vs fail-safe, Error boundaries, Designing exception-safe APIs

Interview question

Basic Level

  • What is an exception?
  • What is the difference between an error and an exception?
  • What is the difference between checked and unchecked exceptions?
  • What is a try-catch block?
  • What is the purpose of the finally block?
  • How do you throw an exception explicitly?
  • What is the throws keyword?
  • What is the difference between throw and throws?
  • What is a custom exception?
  • How do you create a custom exception?
  • What is the call stack when an exception occurs?
  • How do you print a stack trace?
  • What is exception propagation?
  • What happens if an exception is not caught?
  • What is the default exception handler?
  • What is an InterruptedException and when is it thrown?
  • What is NullPointerException and common causes?
  • What is ArrayIndexOutOfBoundsException?
  • What is ArithmeticException?
  • What is ClassCastException?
  • How do you catch multiple exceptions in a single catch block?
  • What is multi-catch in Java?
  • What is the purpose of Exception class?
  • Can you catch Throwable? Should you?
  • What is the effect of returning from a finally block?

Intermediate Level

  • What is exception chaining (cause)?
  • How do you set the cause of an exception?
  • What is suppression of exceptions?
  • How does try-with-resources work?
  • What are suppressed exceptions in try-with-resources?
  • What is the AutoCloseable interface?
  • How do you design exception messages?
  • What is exception translation/wrapping and why use it?
  • What are best practices for logging exceptions?
  • When should you rethrow an exception?
  • What is a fatal exception vs recoverable exception?
  • How do you implement retry logic safely?
  • What is circuit breaker pattern related to exceptions?
  • How do you handle exceptions in API boundaries?
  • What is error handling strategy in layered architecture?
  • How to avoid swallowing exceptions?
  • What is defensive programming with exceptions?
  • How do you test exception-throwing code?
  • How do you assert exceptions in unit tests?
  • What is the role of exception handling in transactions?
  • How do exceptions affect transactions (rollback)?
  • How to create meaningful exception hierarchies?
  • What are checked exceptions vs unchecked in API design?
  • When to use checked exceptions?
  • When to use unchecked exceptions?

Advanced Level

  • How do exceptions affect performance?
  • What is the cost of throwing exceptions vs checking conditions?
  • How does JVM handle stack traces for exceptions?
  • What is enabling/disabling stack trace generation (Throwable.fillInStackTrace)?
  • What is exception-safe code and strong exception safety guarantees?
  • How to implement circuit breakers with exception patterns?
  • How to design retry/backoff strategies for transient exceptions?
  • How to map exceptions to appropriate HTTP status codes?
  • What is the role of correlation IDs when handling exceptions in distributed systems?
  • How do you implement global exception handlers in web frameworks (e.g., Spring)?
  • How to propagate exceptions across threads and executors?
  • How to capture exceptions from CompletableFuture or async APIs?
  • How to implement exception translation across layers?
  • How do you differentiate transient vs permanent exceptions programmatically?
  • What is the role of idempotency when retrying after exceptions?
  • How to perform fault injection and chaos testing for exception scenarios?
  • How to detect and handle resource exhaustion exceptions?
  • How to design resilient fallbacks for failed operations?
  • What are common anti-patterns in exception handling?
  • How to handle exceptions in streaming or reactive pipelines?
  • How to debug memory leaks caused by exception-related resource leaks?

Expert Level

  • How to design a global error handling strategy for microservices?
  • How to ensure observability of exception events (traces, metrics, logs)?
  • How to design exception taxonomies for large codebases?
  • How to perform exception-driven feature flags and graceful degradation?
  • How to use typed error responses in public APIs while hiding internal details?
  • How to ensure security when exposing exception information?
  • How to correlate user requests with exception traces across services?
  • How to build a centralized exception collection and analysis pipeline?
  • How to use machine learning to detect anomalous exception patterns?
  • How to design for eventual consistency and exception recovery in distributed transactions?
  • How to handle partial failures in distributed systems?
  • What are best practices for exception handling in high-throughput low-latency systems?
  • How to minimize exception overhead in hot code paths?
  • How to use custom exception serializers for cross-language systems?
  • How to implement graceful shutdown with exception cleanup in concurrent services?
  • How to design contract-based error handling (e.g., gRPC status codes)?
  • How to handle exceptions originating from third-party libraries effectively?
  • How to manage breaking changes in exception types across API versions?
  • How to perform post-mortem and RCA for recurring exceptions?
  • How to build automated remediation for known exception patterns?

Bonus: Quick Practicals / Coding Prompts

  • Write code that demonstrates try-with-resources with multiple resources and suppressed exceptions.
  • Implement a custom checked exception and use it in a sample API.
  • Create a utility that converts stack traces to a structured JSON format for logging.
  • Implement retry logic with exponential backoff for a transient IO exception.
  • Demonstrate exception propagation across threads using ExecutorService and Future.
  • Show how to safely close resources even when exceptions are thrown.
  • Implement a global exception handler in a Spring Boot REST API.
  • Write unit tests that assert specific causes of exceptions.
  • Demonstrate wrapping and unwrapping exceptions while preserving the original cause.
  • Implement a simple circuit breaker that trips on repeated exceptions.

Related Topics


   Exception Basics   
   Exception Hierarchy   
   Throw & Throws   
   Custom Exceptions   
   Built-in Exceptions