Coding & Skills

369 articles in this topic

Foundations and Evolution of AI: Approaches, Timeline and a Worked Rational-Agent Example

Build a connected map of AI foundations, historical shifts and major paradigms, then calculate how a rational agent chooses under uncertainty.

Updated 19 Oct 20266 min readML & Data Science

Functions and Arrow Functions in JavaScript: Syntax, Scope and Runnable Examples

Build function declarations, expressions and arrows in JavaScript, then trace parameters, closures, lexical this and array callbacks through exact outputs.

Updated 19 Oct 20266 min readWeb Development

Packages and Access Modifiers in Java: Visibility Rules with Runnable Examples

Learn how Java package boundaries change member visibility. Compile a complete example covering public, protected, package-private and private access.

Updated 18 Oct 20265 min readJava

Exceptions in Python: Handle Errors with try, except and finally

Learn how Python exceptions change control flow, how to catch expected failures without hiding bugs, and when to use else, finally, raise, and custom exceptions.

Updated 18 Oct 20265 min readPython

Graphs in Data Structures: Complete Guide with BFS, DFS and Dijkstra Worked Examples

Learn graph terminology, representations and algorithm selection by tracing one unweighted graph with BFS and DFS, then solving a weighted graph with Dijkstra.

Updated 17 Oct 20266 min readDSA & Algorithms

Programming Language Syntax MCQs: 12 Solved Questions on Grammar, Tokens and Semantics

Solve 12 MCQs on syntax, tokens, pseudocode, C grammar and runtime behaviour. Each explanation identifies the rule and applies it.

Updated 16 Oct 20268 min readProgramming Languages Survey

C++ Diamond Problem: Ambiguity, Duplicate State and Virtual Inheritance

See why a C++ diamond duplicates base state, how virtual inheritance shares it, and when qualification, interfaces, or composition is the clearer design.

Updated 15 Oct 20265 min readC++

Natural Language Processing Explained: Pipeline, TF-IDF Worked Example and Exam Patterns

Start from raw text, build BoW and TF-IDF vectors, compute cosine similarity, examine ambiguity, and finish with evaluation and exam-style checks.

Updated 15 Oct 20266 min readML & Data Science

Modules in JavaScript: Import, Export, and Runnable Examples

Build JavaScript modules from scratch with a shopping-cart project that runs in Node.js and the browser. Learn live bindings, re-exports, lazy loading, and practical fixes.

Updated 15 Oct 20265 min readWeb Development

OOP Basics in Java: Classes, Objects and the Four Pillars with Runnable Examples

Connect Java's OOP syntax to design decisions with a complete Account example. Trace two objects through validation, overriding and runtime dispatch to exact output.

Updated 14 Oct 20265 min readJava

Context Managers in Python: with, __enter__, __exit__ and contextlib

Learn how Python's with statement guarantees cleanup, then build and trace class-based and generator-based context managers with runnable examples.

Updated 14 Oct 20266 min readPython

Physical Security and Cryptography Basics: Controls, Keys and Worked Examples

Learn how physical and cryptographic controls work together, then apply them in a four-asset server-room model and a step-by-step toy RSA example.

Updated 13 Oct 20265 min readDSA & Algorithms