# GateAndNet > GATE, UGC NET & CSIR NET Computer Science Preparation Hub. Open educational resource providing official unit-wise syllabi, LaTeX-typeset Computer Science & Aptitude study notes, interactive algorithm & OS/Digital Logic visualizers, cheat-sheets, and solved MCQ/MSQ/NAT previous year questions (PYQs) for GATE CS, GATE DA, UGC NET Computer Science (Code 87), UGC NET Paper 1, and CSIR NET. ## Core Knowledge Hubs - [Home](https://gateandnet.com): Overview of all exam tracks, subject hubs, and featured study notes - [All Exam Tracks Hub](https://gateandnet.com/exams): Browse GATE CS, GATE DA, UGC NET CS, Paper 1 & CSIR NET curricula - [Official Exam Syllabi](https://gateandnet.com/syllabus): Complete unit-by-unit syllabi & mark weightages - [CS & ML Master Cheat-Sheets](https://gateandnet.com/cheatsheets): Complexity tables, TOC decidability, DBMS normal forms, CIDR, ML & 8085 - [Interactive Algorithm, OS & Logic Visualizers](https://gateandnet.com/visualizers): 19 frame-by-frame CSE animations and digital schematics - [2027 Study Planner & Rank Predictor](https://gateandnet.com/planner): Pacing calculator, GATE Score/AIR & UGC NET JRF cutoff estimator - [Solved PYQ & Mock Test Arena](https://gateandnet.com/practice): Solved MCQ, MSQ & NAT questions with step-by-step derivations - [Spaced-Repetition Flashcards](https://gateandnet.com/flashcards): High-yield formulas, theorems, and exam traps - [Full Knowledge Corpus for LLMs](https://gateandnet.com/llms-full.txt): Complete Markdown corpus of all published study notes ## Master Cheat-Sheets - [DSA & Sorting Algorithms Time and Space Complexity Cheat-Sheet (GATE & UGC NET)](https://gateandnet.com/cheatsheets/dsa-sorting-complexity): Complete Big-O, Theta, stability, and in-place comparison table for Arrays, Trees, Heaps, Hashing, Insertion, Merge, Quick, Heap, Counting & Radix Sort. - [TOC Closure Properties, Decidability & Compiler LR Parsers Cheat-Sheet](https://gateandnet.com/cheatsheets/toc-compiler-parsers): One-page reference for Regular, DCFL, CFL, CSL, Recursive & RE closure properties, decidability table, and LL(1)/LR(0)/SLR(1)/LALR(1)/CLR(1) hierarchy. - [DBMS Normal Forms (1NF–BCNF–4NF) & SQL Transaction Isolation Cheat-Sheet](https://gateandnet.com/cheatsheets/dbms-sql-isolation): Quick revision sheet for Functional Dependencies, Lossless & Dependency-Preserving Normal Forms (2NF, 3NF, BCNF, 4NF), and ANSI SQL Isolation Levels. - [Computer Networks OSI 7-Layer Protocols, Ports & IPv4 CIDR Subnet Cheat-Sheet](https://gateandnet.com/cheatsheets/computer-networks-osi-cidr): Rapid revision guide for OSI Layers, PDUs, Collision vs Broadcast Domains, TCP/UDP port numbers, and IPv4 CIDR /24 to /30 subnet masks. - [Machine Learning & Data Science Formulas Cheat-Sheet (GATE DA & UGC NET)](https://gateandnet.com/cheatsheets/machine-learning-data-science): Supervised & Unsupervised ML comparison matrix: OLS, Ridge/Lasso, SVM, k-NN, Random Forest, XGBoost, PCA, MLE vs MAP, and Precision/Recall/F1. - [NLP, Transformer Attention, A* Search & Reinforcement Learning Cheat-Sheet](https://gateandnet.com/cheatsheets/nlp-transformers-ai): Self-Attention vs RNN complexity, Perplexity, TF-IDF, Scaled Dot-Product Attention, BERT vs GPT, BFS/IDDFS/A* optimality, and Bellman/Q-Learning equations. - [C, C++, Java, Python, JavaScript & 8085 Assembly Exam Traps Cheat-Sheet](https://gateandnet.com/cheatsheets/c-cpp-java-python-8085): Polyglot programming semantics comparison (parameter passing, negative modulo, virtual dispatch, GC) and Intel 8085 interrupts & T-state reference. ## Interactive CSE Visualizers & Hardware Simulators - [Quick Sort (Lomuto Partition)](https://gateandnet.com/visualizers/quick-sort-lomuto-partition): Interactive step-by-step Quick Sort Lomuto partition visualizer showing pivot placement, i/j pointers, recursion depth, and worst-case O(n²) vs average Θ(n log n) analysis. - [Merge Sort (Divide & Merge)](https://gateandnet.com/visualizers/merge-sort-divide-and-conquer): Interactive Merge Sort animation illustrating recursive array halving, stable two-finger merge pass, inversion counting, and Master Theorem Θ(n log n) recurrence. - [Insertion Sort (Adaptive)](https://gateandnet.com/visualizers/insertion-sort-adaptive): Step-by-step adaptive Insertion Sort animation demonstrating sorted prefix invariant, element shifting, best-case Θ(n), and exact Θ(n + I) inversion bound. - [Selection Sort (Min-Swap)](https://gateandnet.com/visualizers/selection-sort-minimum-swaps): Visual Selection Sort simulator highlighting unsorted minimum scan, why comparisons are always n(n−1)/2, and why total swaps never exceed n − 1. - [Bubble Sort (Early-Exit Flag)](https://gateandnet.com/visualizers/bubble-sort-early-exit): Interactive Bubble Sort animation showing adjacent pairwise swaps, largest-element bubbling per pass, and early-termination swapped flag optimization. - [Binary Search (Interval Halving)](https://gateandnet.com/visualizers/binary-search-interval-halving): Step-by-step Binary Search animation tracking Low, Mid, and High pointers, overflow-safe midpoint calculation, and exact ⌊log₂ n⌋ + 1 worst-case comparisons. - [KMP String Matching (LPS Table)](https://gateandnet.com/visualizers/kmp-string-matching-lps-table): Knuth-Morris-Pratt (KMP) string matching visualizer showing Longest Proper Prefix-Suffix (LPS / π) table jumps and linear Θ(n + m) text scanning. - [Dijkstra Shortest Path (Greedy)](https://gateandnet.com/visualizers/dijkstra-shortest-path-greedy): Interactive Dijkstra single-source shortest path graph animation showing priority-queue extraction, edge relaxation d[v] = min(d[v], d[u]+w), and non-negative weight invariant. - [BFS Queue vs DFS Stack Traversal](https://gateandnet.com/visualizers/bfs-queue-vs-dfs-stack-traversal): Visual comparison of Breadth-First Search (FIFO Queue level-order waves) and Depth-First Search (LIFO Stack discovery/finish timestamps) for GATE & UGC NET. - [OS Page Replacement (LRU vs FIFO)](https://gateandnet.com/visualizers/os-page-replacement-lru-vs-fifo): Operating Systems Demand Paging simulator comparing FIFO and LRU page replacement frame-by-frame, including Belady’s Anomaly reference string trace. - [1-Bit Full Adder & Universal Gates](https://gateandnet.com/visualizers/full-adder-universal-logic-gates): Interactive 1-bit Full Adder digital logic circuit schematic with live A, B, Cin input toggles, XOR/AND/OR gate wire propagation, and NAND/NOR universal gate counts. - [CPU Scheduling Live Gantt Chart (SRTF / RR / SJF / FCFS)](https://gateandnet.com/visualizers/cpu-scheduling-gantt-chart-srtf-rr): Interactive Operating Systems CPU Scheduling Gantt chart simulator for FCFS, SJF, preemptive SRTF, and Round Robin (Quantum=2) with CT, TAT, and Waiting Time tables. - [Banker’s Deadlock Safety Sequence Step-by-Step](https://gateandnet.com/visualizers/bankers-deadlock-safety-algorithm): Step-by-step Banker’s Deadlock Avoidance algorithm animation computing Need = Max − Allocation and verifying Need[i] ≤ Work safe sequence for GATE OS. - [Disk Arm Seek Trajectory Drawing (SSTF / SCAN / C-SCAN / C-LOOK)](https://gateandnet.com/visualizers/disk-scheduling-sstf-scan-cscan): 2D SVG Disk Arm seek trajectory visualizer comparing FCFS, SSTF, SCAN (Elevator), C-SCAN, and C-LOOK total head movement across cylinders 0–199. - [Virtual Memory TLB + 2-Level Page Table Hardware Schematic](https://gateandnet.com/visualizers/virtual-memory-tlb-two-level-paging): Interactive 32-bit Virtual Address (10-10-12) TLB + 2-Level Page Table hardware bus diagram with live Effective Memory Access Time (EMAT) calculator. - [Interactive 4-Variable K-Map Grouping & Prime Implicants](https://gateandnet.com/visualizers/karnaugh-map-4-variable-solver): Clickable 4-Variable Karnaugh Map (K-Map) solver with Gray-code wrap-around octets/quads, Essential Prime Implicants (EPIs), and minimal SOP Boolean expression. - [3-Bit Synchronous Counter & Clock Divider Timing Waveforms](https://gateandnet.com/visualizers/synchronous-counter-timing-waveforms): Interactive 3-bit Synchronous Counter digital timing waveform diagram showing rising clock edges, Q0/Q1/Q2 frequency division (f/2, f/4, f/8), and state transitions. - [4×1 Multiplexer Universal Boolean Function Schematic](https://gateandnet.com/visualizers/multiplexer-4x1-boolean-synthesis): Interactive 4×1 MUX Boolean function implementation schematic using Shannon’s Expansion on select lines (A, B) with residue inputs {0, 1, C, C̅}. - [32-Bit IEEE-754 Floating-Point Bit-Field Decoder](https://gateandnet.com/visualizers/ieee-754-floating-point-decoder): Interactive 32-bit Single-Precision IEEE-754 Floating-Point bit toggle decoder illustrating Sign bit, Excess-127 biased Exponent, implicit 1.M Mantissa, Denormals, Inf & NaN. ## GATE Computer Science & Information Technology (GATE CS) - [Exam Curriculum Hub](https://gateandnet.com/exams/gate-cs): Complete topic-wise preparation for GATE CS & IT: Engineering Mathematics, Digital Logic, COA, C & DSA, Algorithms, TOC, Compiler Design, OS, DBMS, and Computer Networks. - [Official GATE CS Syllabus](https://gateandnet.com/syllabus/gate-cs) - [GATE CS PYQ & Mock Arena](https://gateandnet.com/practice/gate-cs) - [Subject Hub — Engineering Mathematics & Discrete Math](https://gateandnet.com/exams/gate-cs/engineering-mathematics) | [Unit PYQs](https://gateandnet.com/practice/engineering-mathematics) - [Propositional Logic, Equivalences, Implication Laws & Valid Inference](https://gateandnet.com/exams/gate-cs/engineering-mathematics/propositional-logic-and-inference) ([Markdown](https://gateandnet.com/api/raw/gate-cs/engineering-mathematics/propositional-logic-and-inference)): Truth tables, contrapositive vs converse, functional completeness, quantifier negations, and Modus Ponens/Tollens. - [Graph Theory Masterclass: Handshaking, Euler/Planar Formulas & Coloring](https://gateandnet.com/exams/gate-cs/engineering-mathematics/graph-theory-formulas-and-theorems) ([Markdown](https://gateandnet.com/api/raw/gate-cs/engineering-mathematics/graph-theory-formulas-and-theorems)): Degree sum identities, connected components bounds, Kuratowski planar inequalities, and chromatic numbers. - [Combinatorics, Pigeonhole Principle, Inclusion-Exclusion & Generating Functions](https://gateandnet.com/exams/gate-cs/engineering-mathematics/combinatorics-pigeonhole-generating-functions) ([Markdown](https://gateandnet.com/api/raw/gate-cs/engineering-mathematics/combinatorics-pigeonhole-generating-functions)): Stars-and-bars integer solutions, Generalized Pigeonhole Principle, Derangements, Catalan numbers, and Ordinary Generating Functions for linear recurrences. - [Relations, Equivalence Classes, POSETs, Lattices & Group Theory](https://gateandnet.com/exams/gate-cs/engineering-mathematics/relations-posets-lattices-and-groups) ([Markdown](https://gateandnet.com/api/raw/gate-cs/engineering-mathematics/relations-posets-lattices-and-groups)): Counting reflexive, symmetric, antisymmetric, and equivalence relations; Hasse diagrams, distributive/complemented lattices, cyclic groups, and Lagrange’s theorem. - [Math 2027 Rank-Decider: Indicator Expectation, Order Statistics, Memoryless Distributions & Projections](https://gateandnet.com/exams/gate-cs/engineering-mathematics/randomized-expectation-order-statistics-and-projections) ([Markdown](https://gateandnet.com/api/raw/gate-cs/engineering-mathematics/randomized-expectation-order-statistics-and-projections)): Indicator random variables without independence, Hat-Check fixed points, Coupon Collector, Uniform(0,1) k-th order statistics, Exponential memorylessness, and Orthogonal Projection trace-rank identity. - [Subject Hub — Digital Logic](https://gateandnet.com/exams/gate-cs/digital-logic) | [Unit PYQs](https://gateandnet.com/practice/digital-logic) - [IEEE-754 Floating-Point Standard & 2’s Complement Arithmetic](https://gateandnet.com/exams/gate-cs/digital-logic/ieee-754-floating-point-and-number-systems) ([Markdown](https://gateandnet.com/api/raw/gate-cs/digital-logic/ieee-754-floating-point-and-number-systems)): Exact bit layouts, implicit leading 1, biased exponent, denormalized subnormals, NaN, and range formulas. - [Boolean Minimization, K-Maps, Multiplexers & Sequential Flip-Flop Counters](https://gateandnet.com/exams/gate-cs/digital-logic/kmap-combinational-mux-and-flip-flops) ([Markdown](https://gateandnet.com/api/raw/gate-cs/digital-logic/kmap-combinational-mux-and-flip-flops)): Universal NAND/NOR gate counts, Prime vs Essential Prime Implicants in 4-variable K-Maps, MUX universal logic realization, and JK/D/T Flip-Flop synchronous & ripple counters. - [Combinational Adders, Carry-Lookahead & Bitwise Manipulation Logics (Animated)](https://gateandnet.com/exams/gate-cs/digital-logic/adders-carry-lookahead-and-bitwise-logics-animated) ([Markdown](https://gateandnet.com/api/raw/gate-cs/digital-logic/adders-carry-lookahead-and-bitwise-logics-animated)): Interactive 1-bit Full-Adder gate signal simulator, Ripple-Carry vs Carry-Lookahead (Generate/Propagate) delay formulas, Flip-Flop excitation tables, and O(1) C bitwise manipulation logics. - [Subject Hub — Computer Organization & Architecture](https://gateandnet.com/exams/gate-cs/computer-organization) | [Unit PYQs](https://gateandnet.com/practice/computer-organization) - [5-Stage Instruction Pipelining, Hazards & Cache Mapping Bit Math](https://gateandnet.com/exams/gate-cs/computer-organization/pipelining-hazards-and-cache-mapping) ([Markdown](https://gateandnet.com/api/raw/gate-cs/computer-organization/pipelining-hazards-and-cache-mapping)): Clock cycle formulas, stall penalties, operand forwarding, and Direct vs K-Way Set-Associative Tag/Index/Offset splits. - [Addressing Modes, Hardwired vs Microprogrammed Control Unit & DMA I/O](https://gateandnet.com/exams/gate-cs/computer-organization/addressing-modes-control-unit-and-dma) ([Markdown](https://gateandnet.com/api/raw/gate-cs/computer-organization/addressing-modes-control-unit-and-dma)): Effective address computation for PC-relative and indexed modes, horizontal vs vertical microinstructions control store size, and DMA cycle-stealing CPU slowdown. - [COA 2027 Rank-Decider: Write-Back Dirty Evictions, VIPT Cache Constraint & 2-Bit Branch Predictors](https://gateandnet.com/exams/gate-cs/computer-organization/cache-write-policies-vipt-and-branch-prediction) ([Markdown](https://gateandnet.com/api/raw/gate-cs/computer-organization/cache-write-policies-vipt-and-branch-prediction)): Write-Through vs Write-Back + Write-Allocate memory traffic numericals, Virtually Indexed Physically Tagged (VIPT) synonym-free page-size bound, 1-bit vs 2-bit saturating branch predictors, and MSI/MESI coherence. - [Subject Hub — Programming & Data Structures](https://gateandnet.com/exams/gate-cs/programming-and-ds) | [Unit PYQs](https://gateandnet.com/practice/programming-and-ds) - [C Pointers, Static Storage, Array Decay & Tricky Output Patterns](https://gateandnet.com/exams/gate-cs/programming-and-ds/c-pointers-and-recursion-traces) ([Markdown](https://gateandnet.com/api/raw/gate-cs/programming-and-ds/c-pointers-and-recursion-traces)): Precedence of * and ++, 2D array pointer arithmetic, static variables in recursion, and string literal traps. - [AVL Trees, Binary Heaps & Hashing Probe Complexity](https://gateandnet.com/exams/gate-cs/programming-and-ds/avl-trees-heaps-and-hashing) ([Markdown](https://gateandnet.com/api/raw/gate-cs/programming-and-ds/avl-trees-heaps-and-hashing)): Minimum nodes in AVL tree of height h, O(n) Build-Heap proof, and LL/RR/LR/RL rotation rules. - [Stacks, Queues, Linked Lists & Binary Tree Properties](https://gateandnet.com/exams/gate-cs/programming-and-ds/stacks-queues-linked-lists-and-binary-trees) ([Markdown](https://gateandnet.com/api/raw/gate-cs/programming-and-ds/stacks-queues-linked-lists-and-binary-trees)): Infix/Postfix evaluation, Circular Queue full/empty modular arithmetic, Linked List pointer complexities, Binary Tree degree handshaking lemma, and unique tree reconstruction rules. - [Advanced C Programming: Pointer Arithmetic, 2D Array Decay, Struct Padding & Bitwise Traps](https://gateandnet.com/exams/gate-cs/programming-and-ds/advanced-c-pointers-struct-padding-and-bitwise) ([Markdown](https://gateandnet.com/api/raw/gate-cs/programming-and-ds/advanced-c-pointers-struct-padding-and-bitwise)): Clockwise/Spiral C declaration rule, &a vs a+1 pointer scaling, 2D array row pointers, structure alignment padding vs union size, static persistence, and sequence-point undefined behavior. - [Subject Hub — Algorithms](https://gateandnet.com/exams/gate-cs/algorithms) | [Unit PYQs](https://gateandnet.com/practice/algorithms) - [Asymptotic Notation & Master Theorem for Divide-and-Conquer](https://gateandnet.com/exams/gate-cs/algorithms/master-theorem-and-recurrences) ([Markdown](https://gateandnet.com/api/raw/gate-cs/algorithms/master-theorem-and-recurrences)): Big-O, Omega, Theta bounds and solving divide-and-conquer recurrences in under 30 seconds. - [Shortest Path & MST Algorithms: Dijkstra, Bellman-Ford, Prim & Kruskal](https://gateandnet.com/exams/gate-cs/algorithms/shortest-path-and-mst-algorithms) ([Markdown](https://gateandnet.com/api/raw/gate-cs/algorithms/shortest-path-and-mst-algorithms)): Edge relaxation, negative edge traps, Disjoint-Set Union Kruskal complexity, and MST uniqueness theorem. - [Dynamic Programming Masterclass: 0/1 Knapsack, LCS & Matrix Chain Multiplication](https://gateandnet.com/exams/gate-cs/algorithms/dynamic-programming-knapsack-lcs-mcm) ([Markdown](https://gateandnet.com/api/raw/gate-cs/algorithms/dynamic-programming-knapsack-lcs-mcm)): Optimal substructure & overlapping subproblems, exact DP recurrences, time/space complexities, and pseudo-polynomial complexity of 0/1 Knapsack. - [Sorting Bounds, Stability, Inversions & P / NP / NP-Complete Reductions](https://gateandnet.com/exams/gate-cs/algorithms/sorting-bounds-and-np-completeness) ([Markdown](https://gateandnet.com/api/raw/gate-cs/algorithms/sorting-bounds-and-np-completeness)): Decision-tree Omega(n log n) lower bound, stability & in-place comparison table, counting array inversions, and polynomial-time Karp reductions (P, NP, NP-Hard, NP-Complete). - [Famous Sorting Algorithms (Animated): Bubble, Selection, Insertion, Merge, Quick & Heap Sort](https://gateandnet.com/exams/gate-cs/algorithms/famous-comparison-sorting-algorithms-animated) ([Markdown](https://gateandnet.com/api/raw/gate-cs/algorithms/famous-comparison-sorting-algorithms-animated)): Interactive animated traces, exact comparison/swap counts, inversion bounds, Lomuto vs Hoare QuickSort partitioning, Merge Sort divide-and-conquer, and O(n) Build-Heap proof. - [Non-Comparison Linear Sorting (Counting, Radix, Bucket) & O(n) Order Statistics](https://gateandnet.com/exams/gate-cs/algorithms/counting-radix-bucket-sort-and-order-statistics) ([Markdown](https://gateandnet.com/api/raw/gate-cs/algorithms/counting-radix-bucket-sort-and-order-statistics)): Beating the Omega(n log n) decision-tree bound with key-indexed Counting Sort, LSD Radix Sort stability requirement, Bucket Sort expected O(n), and deterministic O(n) Median-of-Medians. - [Searching & String Pattern Matching (Animated): Binary, Interpolation, Rabin-Karp & KMP](https://gateandnet.com/exams/gate-cs/algorithms/searching-algorithms-and-kmp-pattern-matching-animated) ([Markdown](https://gateandnet.com/api/raw/gate-cs/algorithms/searching-algorithms-and-kmp-pattern-matching-animated)): Overflow-safe Binary Search loop invariants, Rotated Array & Ternary Search, O(log log n) Interpolation Search, Rabin-Karp rolling modular hash & spurious hits, and animated KMP LPS matching. - [Graph Algorithms & Logics (Animated): BFS/DFS Edges, Topological Sort, SCCs & Dijkstra/Bellman-Ford](https://gateandnet.com/exams/gate-cs/algorithms/graph-traversals-scc-topological-and-shortest-paths-animated) ([Markdown](https://gateandnet.com/api/raw/gate-cs/algorithms/graph-traversals-scc-topological-and-shortest-paths-animated)): Animated BFS FIFO queue vs DFS LIFO stack, DFS parenthesis theorem & Back-Edge cycle detection, Kahn vs DFS topological sort, Kosaraju SCCs, and Dijkstra vs Bellman-Ford negative weight traps. - [Famous Algorithms & Proofs: Max-Flow Min-Cut, Huffman Trees, Kadane, Edit Distance & Cycle Detection](https://gateandnet.com/exams/gate-cs/algorithms/max-flow-huffman-kadane-edit-distance-and-floyd-cycle) ([Markdown](https://gateandnet.com/api/raw/gate-cs/algorithms/max-flow-huffman-kadane-edit-distance-and-floyd-cycle)): Ford-Fulkerson residual networks & Edmonds-Karp O(VE^2) bound, Max-Flow Min-Cut theorem, Huffman optimal prefix code tree properties, Kadane O(n) subarray, Levenshtein DP, and Floyd cycle pointer math. - [Subject Hub — Theory of Computation](https://gateandnet.com/exams/gate-cs/theory-of-computation) | [Unit PYQs](https://gateandnet.com/practice/theory-of-computation) - [Formal Languages Closure Properties & Decidability Master Matrix](https://gateandnet.com/exams/gate-cs/theory-of-computation/closure-properties-and-decidability) ([Markdown](https://gateandnet.com/api/raw/gate-cs/theory-of-computation/closure-properties-and-decidability)): One-stop matrix for Regular, DCFL, CFL, CSL, Recursive, and RE closure + Rice’s Theorem undecidability shortcuts. - [Minimal DFA Construction, Pumping Lemma, CFGs & Pushdown Automata](https://gateandnet.com/exams/gate-cs/theory-of-computation/dfa-minimization-pumping-lemma-and-pda) ([Markdown](https://gateandnet.com/api/raw/gate-cs/theory-of-computation/dfa-minimization-pumping-lemma-and-pda)): Exact state counts for common minimal DFAs, Myhill-Nerode theorem, Pumping Lemma traps, Chomsky Normal Form derivation steps (2n - 1), and DPDA vs NPDA expressive power. - [TOC 2027 Rank-Decider: Myhill-Nerode Minimal DFA Proofs, Inherent Ambiguity & Reductions](https://gateandnet.com/exams/gate-cs/theory-of-computation/myhill-nerode-inherent-ambiguity-and-reductions) ([Markdown](https://gateandnet.com/api/raw/gate-cs/theory-of-computation/myhill-nerode-inherent-ambiguity-and-reductions)): Computing exact minimal DFA state counts via Myhill-Nerode distinguishing extensions, Deterministic vs Nondeterministic CFL traps, inherently ambiguous languages, and RE vs co-RE reductions. - [Subject Hub — Compiler Design](https://gateandnet.com/exams/gate-cs/compiler-design) | [Unit PYQs](https://gateandnet.com/practice/compiler-design) - [LL(1) & LR(0), SLR(1), LALR(1), CLR(1) Parsing Power & Conflicts](https://gateandnet.com/exams/gate-cs/compiler-design/ll1-and-lr-parsers-hierarchy) ([Markdown](https://gateandnet.com/api/raw/gate-cs/compiler-design/ll1-and-lr-parsers-hierarchy)): FIRST/FOLLOW rules, parsing hierarchy Venn relationships, state count equality between SLR(1) and LALR(1), and ambiguity. - [Syntax-Directed Translation (SDT), Three-Address Code & Register Liveness](https://gateandnet.com/exams/gate-cs/compiler-design/sdt-three-address-code-and-liveness) ([Markdown](https://gateandnet.com/api/raw/gate-cs/compiler-design/sdt-three-address-code-and-liveness)): Synthesized vs Inherited attributes, S-attributed vs L-attributed SDTs, Basic Block leader identification, SSA static single assignment, and Chaitin register interference graph coloring. - [Compilers 2027 Rank-Decider: Basic-Block Leaders, SSA Phi-Functions, Dominators & Graph Coloring](https://gateandnet.com/exams/gate-cs/compiler-design/ssa-dominators-basic-blocks-and-register-coloring) ([Markdown](https://gateandnet.com/api/raw/gate-cs/compiler-design/ssa-dominators-basic-blocks-and-register-coloring)): Exact 3-rule Basic-Block Leader algorithm, Control-Flow Dominator trees & Natural Loops, Static Single Assignment (SSA) minimal phi-nodes, backward Liveness fixpoint, and Chaitin k-coloring. - [Subject Hub — Operating Systems](https://gateandnet.com/exams/gate-cs/operating-systems) | [Unit PYQs](https://gateandnet.com/practice/operating-systems) - [CPU Scheduling, Semaphores & Deadlock Banker’s Formula](https://gateandnet.com/exams/gate-cs/operating-systems/cpu-scheduling-semaphores-and-deadlocks) ([Markdown](https://gateandnet.com/api/raw/gate-cs/operating-systems/cpu-scheduling-semaphores-and-deadlocks)): TAT/WT numericals, counting semaphore wait/signal invariants, and minimum/maximum resource deadlock formulas. - [Virtual Memory, Multi-Level Paging & TLB Effective Access Time](https://gateandnet.com/exams/gate-cs/operating-systems/virtual-memory-paging-and-tlb) ([Markdown](https://gateandnet.com/api/raw/gate-cs/operating-systems/virtual-memory-paging-and-tlb)): Virtual/physical address bit calculations, optimal page size for multi-level page tables, EMAT, and Belady’s anomaly. - [Page Replacement (FIFO, LRU, Optimal), Unix Inodes & Disk Arm Scheduling](https://gateandnet.com/exams/gate-cs/operating-systems/page-replacement-inodes-and-disk-scheduling) ([Markdown](https://gateandnet.com/api/raw/gate-cs/operating-systems/page-replacement-inodes-and-disk-scheduling)): FIFO Belady’s anomaly vs stack algorithms (LRU/Optimal), Unix inode maximum file size formula, and FCFS / SSTF / SCAN / C-SCAN / C-LOOK disk head movement numericals. - [Page Replacement Logics (Animated): Belady’s Anomaly in FIFO vs LRU & Optimal Stack Property](https://gateandnet.com/exams/gate-cs/operating-systems/animated-page-replacement-belady-fifo-lru-optimal) ([Markdown](https://gateandnet.com/api/raw/gate-cs/operating-systems/animated-page-replacement-belady-fifo-lru-optimal)): Interactive frame-by-frame proof of Belady’s Anomaly (9 faults with 3 frames vs 10 faults with 4 frames under FIFO!), Mattson’s Stack Inclusion Property, Second-Chance Clock, and Working-Set Thrashing. - [OS 2027 Rank-Decider: Hardware CAS/TestAndSet, Priority Inversion, Copy-on-Write & File I/O](https://gateandnet.com/exams/gate-cs/operating-systems/atomic-cas-priority-inversion-cow-and-file-allocation) ([Markdown](https://gateandnet.com/api/raw/gate-cs/operating-systems/atomic-cas-priority-inversion-cow-and-file-allocation)): Why naive TestAndSet/CAS spinlocks violate Bounded Waiting, Priority Inversion & Priority Inheritance, Copy-on-Write (COW) fork() page sharing, and Contiguous vs Linked vs FAT vs Indexed disk block seeks. - [Subject Hub — Databases (DBMS)](https://gateandnet.com/exams/gate-cs/databases) | [Unit PYQs](https://gateandnet.com/practice/databases) - [Functional Dependencies, Candidate Keys & Normalization (1NF–BCNF)](https://gateandnet.com/exams/gate-cs/databases/functional-dependencies-and-normalization) ([Markdown](https://gateandnet.com/api/raw/gate-cs/databases/functional-dependencies-and-normalization)): Attribute closure algorithm, prime vs non-prime attributes, exact definitions of 2NF/3NF/BCNF, and lossless join test. - [Conflict Serializability (Precedence Graph) & B+ Tree Order Math](https://gateandnet.com/exams/gate-cs/databases/serializability-and-bplus-trees) ([Markdown](https://gateandnet.com/api/raw/gate-cs/databases/serializability-and-bplus-trees)): Testing conflict serializability via cycle detection, counting topological serial equivalents, and B vs B+ tree node equations. - [DBMS 2027 Rank-Decider: Relational Division (R ÷ S), SQL Double-NOT-EXISTS & ARIES WAL Recovery](https://gateandnet.com/exams/gate-cs/databases/relational-division-aries-wal-recovery-and-isolation) ([Markdown](https://gateandnet.com/api/raw/gate-cs/databases/relational-division-aries-wal-recovery-and-isolation)): Primitive operator expansion of Relational Division R(X,Y) ÷ S(Y), De Morgan double-NOT-EXISTS SQL pattern, Steal/No-Force Write-Ahead Logging (Undo vs Redo), and Blind-Write View Serializability. - [Subject Hub — Computer Networks](https://gateandnet.com/exams/gate-cs/computer-networks) | [Unit PYQs](https://gateandnet.com/practice/computer-networks) - [IPv4 CIDR Subnetting, CSMA/CD Minimum Frame & Sliding Window Math](https://gateandnet.com/exams/gate-cs/computer-networks/ipv4-cidr-csma-and-sliding-window) ([Markdown](https://gateandnet.com/api/raw/gate-cs/computer-networks/ipv4-cidr-csma-and-sliding-window)): Host count, subnet mask binary math, L >= 2Tp*B efficiency formula, Go-Back-N vs Selective Repeat window sizes, and TCP AIMD. - [TCP 3-Way Handshake, AIMD Congestion Control & Routing (Distance Vector vs OSPF)](https://gateandnet.com/exams/gate-cs/computer-networks/tcp-congestion-control-and-routing-protocols) ([Markdown](https://gateandnet.com/api/raw/gate-cs/computer-networks/tcp-congestion-control-and-routing-protocols)): TCP SYN/FIN sequence number consumption, Slow Start exponential growth vs Congestion Avoidance additive increase, 3-Dup-ACK vs Timeout cwnd transitions, and Count-to-Infinity. - [Networks 2027 Rank-Decider: Token Bucket Burst Math, TCP Wrap-Around, BGP Policies & DNS RTTs](https://gateandnet.com/exams/gate-cs/computer-networks/token-bucket-bgp-ospf-dns-and-tcp-wraparound) ([Markdown](https://gateandnet.com/api/raw/gate-cs/computer-networks/token-bucket-bgp-ospf-dns-and-tcp-wraparound)): Token Bucket vs Leaky Bucket maximum burst duration formula, 32-bit TCP sequence wrap-around time on high-speed fiber, Distance-Vector 3-node count-to-infinity, BGP AS valley-free routing, and DNS + HTTP RTTs. - [Subject Hub — General Aptitude (Mandatory)](https://gateandnet.com/exams/gate-cs/general-aptitude) | [Unit PYQs](https://gateandnet.com/practice/general-aptitude) ## UGC NET Computer Science & Applications (Code 87) (UGC NET CS) - [Exam Curriculum Hub](https://gateandnet.com/exams/ugc-net-cs): Complete coverage of NTA UGC NET Paper 2 Computer Science (200 Marks, 100 Questions): Discrete Math, Architecture, C++/Graphics, DBMS, OS, Software Engineering, DSA, TOC, Networks & AI. - [Official UGC NET CS Syllabus](https://gateandnet.com/syllabus/ugc-net-cs) - [UGC NET CS PYQ & Mock Arena](https://gateandnet.com/practice/ugc-net-cs) - [Subject Hub — Unit 1: Discrete Structures & Optimization](https://gateandnet.com/exams/ugc-net-cs/net-discrete-optimization) | [Unit PYQs](https://gateandnet.com/practice/net-discrete-optimization) - [Subject Hub — Unit 2 & 5: Computer Architecture & Operating Systems](https://gateandnet.com/exams/ugc-net-cs/net-architecture-os) | [Unit PYQs](https://gateandnet.com/practice/net-architecture-os) - [Subject Hub — Unit 3: Programming in C, C++, Java, JavaScript & Assembly](https://gateandnet.com/exams/ugc-net-cs/programming-languages) | [Unit PYQs](https://gateandnet.com/practice/programming-languages) - [C++ & OOP Internals: Virtual Tables (vptr/vtable), Constructors, Diamond Inheritance & STL](https://gateandnet.com/exams/ugc-net-cs/programming-languages/cpp-oop-virtual-functions-constructors-and-stl) ([Markdown](https://gateandnet.com/api/raw/ugc-net-cs/programming-languages/cpp-oop-virtual-functions-constructors-and-stl)): Compile-time vs runtime polymorphism, vptr/vtable dispatch, base-to-derived constructor vs reverse destructor order, virtual destructors, diamond virtual inheritance, and C++ STL time complexities. - [Java & JVM Architecture: String Pool, Integer Cache, Interfaces, Exceptions & Concurrency](https://gateandnet.com/exams/ugc-net-cs/programming-languages/java-jvm-memory-string-pool-interfaces-and-exceptions) ([Markdown](https://gateandnet.com/api/raw/ugc-net-cs/programming-languages/java-jvm-memory-string-pool-interfaces-and-exceptions)): Pass-by-value object references, String Constant Pool vs new String(), Integer缓存 [-128, 127], equals/hashCode contract, Java 8+ default interface methods, and try-catch-finally return overrides. - [JavaScript (ES6+) Runtime: Event Loop (Microtasks vs Macrotasks), Closures, Hoisting & Coercion](https://gateandnet.com/exams/ugc-net-cs/programming-languages/javascript-event-loop-closures-hoisting-and-prototypes) ([Markdown](https://gateandnet.com/api/raw/ugc-net-cs/programming-languages/javascript-event-loop-closures-hoisting-and-prototypes)): Single-threaded JS Call Stack, Microtask Queue (Promise/queueMicrotask/async-await) priority over Macrotask Queue (setTimeout), var hoisting vs let/const TDZ, prototypal chain, and == coercion. - [Assembly Languages (8085, 8086 & RISC): Registers, Flags, T-States, Interrupts & Traces](https://gateandnet.com/exams/ugc-net-cs/programming-languages/assembly-8085-8086-risc-instructions-and-interrupts) ([Markdown](https://gateandnet.com/api/raw/ugc-net-cs/programming-languages/assembly-8085-8086-risc-instructions-and-interrupts)): 8085 flag byte [S,Z,X,AC,X,P,X,CY], instruction byte sizes & T-states (MVI, LXI, LDA, STA, LHLD, CALL), hardware interrupt priority & vector addresses (TRAP 0024H), 8086 20-bit physical addressing, and RISC assembly. - [Subject Hub — Unit 3B & 4: Computer Graphics, DBMS & Data Mining](https://gateandnet.com/exams/ugc-net-cs/net-graphics-dbms) | [Unit PYQs](https://gateandnet.com/practice/net-graphics-dbms) - [Subject Hub — Unit 6: Software Engineering](https://gateandnet.com/exams/ugc-net-cs/net-software-engineering) | [Unit PYQs](https://gateandnet.com/practice/net-software-engineering) - [Software Engineering: COCOMO, Function Points, Cyclomatic Complexity & Cohesion](https://gateandnet.com/exams/ugc-net-cs/net-software-engineering/cocomo-cyclomatic-and-cohesion-coupling) ([Markdown](https://gateandnet.com/api/raw/ugc-net-cs/net-software-engineering/cocomo-cyclomatic-and-cohesion-coupling)): Guaranteed 6–8 marks in UGC NET CS: Basic COCOMO coefficients, McCabe V(G) formulas, and exact Cohesion/Coupling rankings. - [SDLC Agile/Spiral Models, Function Point Analysis (FPA) & Black/White-Box Testing](https://gateandnet.com/exams/ugc-net-cs/net-software-engineering/sdlc-agile-function-points-and-testing) ([Markdown](https://gateandnet.com/api/raw/ugc-net-cs/net-software-engineering/sdlc-agile-function-points-and-testing)): Spiral risk-driven SDLC vs Scrum Agile, Albrecht Function Point UFP & CAF calculation, Boundary Value Analysis (4n + 1 vs 6n + 1), Mutation Testing, and ISO/CMMI maturity levels. - [Subject Hub — Unit 7 & 8: DSA, Theory of Computation & Compilers](https://gateandnet.com/exams/ugc-net-cs/net-dsa-toc-compilers) | [Unit PYQs](https://gateandnet.com/practice/net-dsa-toc-compilers) - [Subject Hub — Unit 9: Data Communication & Computer Networks](https://gateandnet.com/exams/ugc-net-cs/net-computer-networks) | [Unit PYQs](https://gateandnet.com/practice/net-computer-networks) - [Nyquist vs Shannon Capacity & RSA Public-Key Cryptography Numericals](https://gateandnet.com/exams/ugc-net-cs/net-computer-networks/channel-capacity-and-rsa-cryptography) ([Markdown](https://gateandnet.com/api/raw/ugc-net-cs/net-computer-networks/channel-capacity-and-rsa-cryptography)): Noiseless vs noisy AWGN bit-rate limits, dB-to-linear SNR conversion, and Euler totient modular exponentiation in RSA. - [UGC NET 2027 Special: Cloud Hypervisors, Spark vs Hadoop, AES/PKI Security & Quantum Computing](https://gateandnet.com/exams/ugc-net-cs/net-computer-networks/cloud-spark-aes-digital-signatures-and-ugc-2027-trends) ([Markdown](https://gateandnet.com/api/raw/ugc-net-cs/net-computer-networks/cloud-spark-aes-digital-signatures-and-ugc-2027-trends)): IaaS/PaaS/SaaS shared responsibility, Type-1 vs Type-2 Hypervisors vs Containers, Hadoop MapReduce vs Spark RDD DAGs, DES vs AES-128/192/256 rounds, PKI Digital Signatures, and Grover/Shor Quantum speedups. - [Subject Hub — Unit 10: Artificial Intelligence & Soft Computing](https://gateandnet.com/exams/ugc-net-cs/net-artificial-intelligence) | [Unit PYQs](https://gateandnet.com/practice/net-artificial-intelligence) - [AI Search: A* Admissibility, Heuristics & Alpha-Beta Minimax Pruning](https://gateandnet.com/exams/ugc-net-cs/net-artificial-intelligence/astar-admissibility-and-alpha-beta-pruning) ([Markdown](https://gateandnet.com/api/raw/ugc-net-cs/net-artificial-intelligence/astar-admissibility-and-alpha-beta-pruning)): Evaluation function f(n) = g(n) + h(n), admissibility vs consistency, and best-case O(b^(d/2)) alpha-beta leaf inspection. ## UGC NET Paper 1: Teaching & Research Aptitude (NET Paper 1) - [Exam Curriculum Hub](https://gateandnet.com/exams/ugc-net-paper-1): High-scoring notes for all 10 official NTA Paper 1 units: Teaching, Research, Logic & Indian Philosophy (Pramanas), DI, ICT, Environment, and NEP 2020 Higher Education. - [Official NET Paper 1 Syllabus](https://gateandnet.com/syllabus/ugc-net-paper-1) - [NET Paper 1 PYQ & Mock Arena](https://gateandnet.com/practice/ugc-net-paper-1) - [Subject Hub — Teaching & Research Aptitude (Units 1 & 2)](https://gateandnet.com/exams/ugc-net-paper-1/teaching-and-research-aptitude) | [Unit PYQs](https://gateandnet.com/practice/teaching-and-research-aptitude) - [Research Methodology: Sampling, Hypothesis Testing & Type I / Type II Errors](https://gateandnet.com/exams/ugc-net-paper-1/teaching-and-research-aptitude/hypothesis-testing-and-research-errors) ([Markdown](https://gateandnet.com/api/raw/ugc-net-paper-1/teaching-and-research-aptitude/hypothesis-testing-and-research-errors)): Probability vs non-probability sampling, Null & Alternative hypotheses, p-value significance, and alpha/beta error matrix. - [Subject Hub — Indian Logic, Reasoning & Math Aptitude (Units 5, 6 & 7)](https://gateandnet.com/exams/ugc-net-paper-1/indian-logic-and-reasoning) | [Unit PYQs](https://gateandnet.com/practice/indian-logic-and-reasoning) - [Classical Indian Logic (Nyaya): Six Pramanas, Square of Opposition & Hetvabhasa](https://gateandnet.com/exams/ugc-net-paper-1/indian-logic-and-reasoning/pramanas-and-hetvabhasa) ([Markdown](https://gateandnet.com/api/raw/ugc-net-paper-1/indian-logic-and-reasoning/pramanas-and-hetvabhasa)): Pratyaksha, Anumana, Upamana, Shabda, Arthapatti, Anupalabdhi, A-E-I-O Square of Opposition, and the 5 Hetvabhasas. - [Subject Hub — ICT, Environment & Higher Education (Units 8, 9 & 10)](https://gateandnet.com/exams/ugc-net-paper-1/ict-environment-higher-ed) | [Unit PYQs](https://gateandnet.com/practice/ict-environment-higher-ed) - [NEP 2020 Higher Education Reforms, Kyoto/Paris Accords & ICT Hierarchy](https://gateandnet.com/exams/ugc-net-paper-1/ict-environment-higher-ed/nep-2020-environment-and-ict-revision) ([Markdown](https://gateandnet.com/api/raw/ugc-net-paper-1/ict-environment-higher-ed/nep-2020-environment-and-ict-revision)): 5+3+3+4 curricular structure, GER 50% target, PARAKH, NHERC, Montreal/Kyoto/Paris climate milestones & memory speed order. ## CSIR NET Mathematical & General Aptitude Sciences (CSIR NET) - [Exam Curriculum Hub](https://gateandnet.com/exams/csir-net): Complete CSIR NET preparation with Part A Quantitative/Analytical Reasoning (common to Life, Chemical, Physical, Earth & Math Sciences) plus Linear Algebra, Analysis & Markov Chains. - [Official CSIR NET Syllabus](https://gateandnet.com/syllabus/csir-net) - [CSIR NET PYQ & Mock Arena](https://gateandnet.com/practice/csir-net) - [Subject Hub — Part A: General Aptitude (Common to All 5 CSIR Streams)](https://gateandnet.com/exams/csir-net/csir-part-a-aptitude) | [Unit PYQs](https://gateandnet.com/practice/csir-part-a-aptitude) - [CSIR NET Part A: Pigeonhole, Unit Digits, Clocks & Mensuration Shortcuts](https://gateandnet.com/exams/csir-net/csir-part-a-aptitude/csir-part-a-quantitative-shortcuts) ([Markdown](https://gateandnet.com/api/raw/csir-net/csir-part-a-aptitude/csir-part-a-quantitative-shortcuts)): High-speed formulas for CSIR NET Part A (common across all 5 streams): Euler last-digit cyclicity, clock angles, and geometry. - [Subject Hub — Unit 1: Real Analysis & Linear Algebra](https://gateandnet.com/exams/csir-net/csir-analysis-linear-algebra) | [Unit PYQs](https://gateandnet.com/practice/csir-analysis-linear-algebra) - [Linear Algebra: Rank-Nullity, Minimal Polynomial, Diagonalizability & Jordan Form](https://gateandnet.com/exams/csir-net/csir-analysis-linear-algebra/rank-nullity-minimal-polynomial-jordan-form) ([Markdown](https://gateandnet.com/api/raw/csir-net/csir-analysis-linear-algebra/rank-nullity-minimal-polynomial-jordan-form)): Algebraic vs geometric multiplicity, idempotent/nilpotent/involutory eigenvalues, and CSIR Part B/C elimination tricks. - [Subject Hub — Units 2, 3 & 4: Complex, Algebra, ODE/PDE & Markov Chains](https://gateandnet.com/exams/csir-net/csir-complex-algebra-markov) | [Unit PYQs](https://gateandnet.com/practice/csir-complex-algebra-markov) ## GATE Data Science & Artificial Intelligence (DA) (GATE DA) - [Exam Curriculum Hub](https://gateandnet.com/exams/gate-da): Focused notes and derivations for all 7 technical sections of GATE DA: Linear Algebra, Probability, Calculus, Python DSA, Warehousing, Machine Learning, and AI. - [Official GATE DA Syllabus](https://gateandnet.com/syllabus/gate-da) - [GATE DA PYQ & Mock Arena](https://gateandnet.com/practice/gate-da) - [Subject Hub — Python Programming, Data Structures & Algorithms](https://gateandnet.com/exams/gate-da/python-programming-dsa) | [Unit PYQs](https://gateandnet.com/practice/python-programming-dsa) - [Python Internals & Exam Traps: Mutable Defaults, Slicing, Generators, LEGB & Hashing](https://gateandnet.com/exams/gate-da/python-programming-dsa/python-mutable-defaults-slicing-generators-and-legb) ([Markdown](https://gateandnet.com/api/raw/gate-da/python-programming-dsa/python-mutable-defaults-slicing-generators-and-legb)): Object binding model (is vs ==), mutable default argument trap, shallow vs deep copy, late-binding lambda closures, generators yield state machines, dict hash keys, and NumPy broadcasting rules. - [Subject Hub — Linear Algebra, Calculus & Optimization](https://gateandnet.com/exams/gate-da/linear-algebra) | [Unit PYQs](https://gateandnet.com/practice/linear-algebra) - [SVD, Eckart-Young Low-Rank Approximation, PSD Matrices & KKT Convex Optimization](https://gateandnet.com/exams/gate-da/linear-algebra/svd-spectral-theorem-psd-and-convex-optimization) ([Markdown](https://gateandnet.com/api/raw/gate-da/linear-algebra/svd-spectral-theorem-psd-and-convex-optimization)): Singular Value Decomposition A = U Sigma V^T, Frobenius & Spectral norm low-rank approximation, Positive Semi-Definite equivalences, Hessian convexity test, and Gradient Descent step-size bounds. - [Subject Hub — Data Science, Statistics & Data Warehousing](https://gateandnet.com/exams/gate-da/data-science) | [Unit PYQs](https://gateandnet.com/practice/data-science) - [Statistical Inference: MLE, MAP Estimation, Confidence Intervals & Hypothesis Testing](https://gateandnet.com/exams/gate-da/data-science/mle-map-estimation-and-hypothesis-testing) ([Markdown](https://gateandnet.com/api/raw/gate-da/data-science/mle-map-estimation-and-hypothesis-testing)): Maximum Likelihood vs Maximum A Posteriori derivations (Bernoulli/Beta & Gaussian priors), unbiased sample variance Bessel correction (n-1), Z vs t tests, p-values, and Type-I/II errors. - [Data Science Pipelines: EDA, Feature Scaling, OLAP Schemas & SQL Window Functions](https://gateandnet.com/exams/gate-da/data-science/eda-feature-engineering-olap-and-sql-analytics) ([Markdown](https://gateandnet.com/api/raw/gate-da/data-science/eda-feature-engineering-olap-and-sql-analytics)): Preventing train-test data leakage, Z-score vs Min-Max vs Robust IQR scaling, MCAR/MAR/MNAR missingness, Star vs Snowflake OLAP cube operations, and SQL ROW_NUMBER / RANK / DENSE_RANK. - [A/B Testing Power Analysis, Simpson’s Paradox & Correlation vs Causality Traps](https://gateandnet.com/exams/gate-da/data-science/experimental-design-ab-testing-and-time-series) ([Markdown](https://gateandnet.com/api/raw/gate-da/data-science/experimental-design-ab-testing-and-time-series)): Sample size scaling in online A/B experiments, Bonferroni multiple-testing correction, Pearson linear vs Spearman rank correlation, Anscombe’s quartet, and Simpson’s confounding paradox. - [Subject Hub — Machine Learning & Deep Learning](https://gateandnet.com/exams/gate-da/machine-learning-and-ai) | [Unit PYQs](https://gateandnet.com/practice/machine-learning-and-ai) - [Machine Learning: Bias-Variance, L1/L2 Regularization & Confusion Matrix Metrics](https://gateandnet.com/exams/gate-da/machine-learning-and-ai/bias-variance-regularization-and-metrics) ([Markdown](https://gateandnet.com/api/raw/gate-da/machine-learning-and-ai/bias-variance-regularization-and-metrics)): Expected test MSE decomposition, why L1 Lasso induces sparsity while L2 Ridge shrinks smoothly, Precision/Recall/F1 & PCA. - [Support Vector Machines (SVM): Margin Duality, KKT Conditions & Kernel Trick](https://gateandnet.com/exams/gate-da/machine-learning-and-ai/svm-margin-duality-and-kernel-trick) ([Markdown](https://gateandnet.com/api/raw/gate-da/machine-learning-and-ai/svm-margin-duality-and-kernel-trick)): Geometric margin 2/||w|| derivation, Soft-Margin slack variables & hinge loss, Lagrangian dual formulation, KKT complementary slackness, and Mercer RBF/Polynomial kernels. - [Decision Trees (Entropy vs Gini), Random Forests & Gradient Boosting (XGBoost)](https://gateandnet.com/exams/gate-da/machine-learning-and-ai/decision-trees-random-forests-and-gradient-boosting) ([Markdown](https://gateandnet.com/api/raw/gate-da/machine-learning-and-ai/decision-trees-random-forests-and-gradient-boosting)): Shannon Entropy, Information Gain, Gain Ratio (C4.5), CART Gini Impurity, Bagging out-of-bag variance formula, AdaBoost sample reweighting, and XGBoost second-order Newton boosting. - [PCA Eigen-Directions, K-Means/DBSCAN Clustering & Neural Net Backpropagation](https://gateandnet.com/exams/gate-da/machine-learning-and-ai/pca-clustering-and-backpropagation) ([Markdown](https://gateandnet.com/api/raw/gate-da/machine-learning-and-ai/pca-clustering-and-backpropagation)): Covariance matrix eigenvectors & proportion of variance explained in PCA, K-Means Lloyd objective vs DBSCAN density reachability, MLP Softmax Cross-Entropy gradient, and CNN output shapes. - [Subject Hub — Natural Language Processing (NLP) & LLMs](https://gateandnet.com/exams/gate-da/natural-language-processing) | [Unit PYQs](https://gateandnet.com/practice/natural-language-processing) - [N-Gram Language Models, Laplace/Kneser-Ney Smoothing & Perplexity](https://gateandnet.com/exams/gate-da/natural-language-processing/ngram-language-models-smoothing-and-perplexity) ([Markdown](https://gateandnet.com/api/raw/gate-da/natural-language-processing/ngram-language-models-smoothing-and-perplexity)): Markov chain N-gram MLE probabilities, Add-1 (Laplace) & Add-k smoothing formulas, Interpolation vs Backoff, Kneser-Ney continuation probability, and Cross-Entropy / Perplexity numericals. - [Lexical & Vector Semantics: TF-IDF, BM25, Word2Vec (Skip-Gram / CBOW) & GloVe](https://gateandnet.com/exams/gate-da/natural-language-processing/tfidf-bm25-word2vec-and-distributional-embeddings) ([Markdown](https://gateandnet.com/api/raw/gate-da/natural-language-processing/tfidf-bm25-word2vec-and-distributional-embeddings)): Sparse Bag-of-Words vs TF-IDF & Okapi BM25 saturation, Cosine Similarity invariance, Word2Vec CBOW vs Skip-Gram with Negative Sampling (SGNS), and vector analogy arithmetic. - [Sequence Labeling (HMM Viterbi) & Transformers (Self-Attention, BERT vs GPT)](https://gateandnet.com/exams/gate-da/natural-language-processing/hmm-viterbi-self-attention-and-transformers) ([Markdown](https://gateandnet.com/api/raw/gate-da/natural-language-processing/hmm-viterbi-self-attention-and-transformers)): HMM generative tagging & O(T * S^2) Viterbi DP decoding, Scaled Dot-Product & Multi-Head Self-Attention parameter counts, Causal Masking, Positional Encodings, and BERT vs GPT vs T5. - [Subject Hub — Artificial Intelligence, Reasoning & RL](https://gateandnet.com/exams/gate-da/artificial-intelligence) | [Unit PYQs](https://gateandnet.com/practice/artificial-intelligence) - [Informed Search (A*, IDA*), Adversarial Game Trees & CSP Arc Consistency (AC-3)](https://gateandnet.com/exams/gate-da/artificial-intelligence/informed-search-heuristics-and-csp-arc-consistency) ([Markdown](https://gateandnet.com/api/raw/gate-da/artificial-intelligence/informed-search-heuristics-and-csp-arc-consistency)): Tree-search vs Graph-search A* optimality conditions, heuristic dominance & relaxed problems, IDA* linear memory bound, Minimax Alpha-Beta cutoffs, and CSP MRV/LCV & AC-3 complexity. - [First-Order Logic Resolution, Bayesian Networks, D-Separation & Markov Blankets](https://gateandnet.com/exams/gate-da/artificial-intelligence/first-order-logic-unification-and-bayesian-networks) ([Markdown](https://gateandnet.com/api/raw/gate-da/artificial-intelligence/first-order-logic-unification-and-bayesian-networks)): Skolemization, Most General Unifier (MGU) & Robinson Resolution Refutation in FOL, Bayesian Network parameter savings, V-structures (Explaining Away), D-separation rules, and Markov Blankets. - [Markov Decision Processes (MDP), Bellman Equations & Q-Learning (RL)](https://gateandnet.com/exams/gate-da/artificial-intelligence/markov-decision-processes-bellman-and-q-learning) ([Markdown](https://gateandnet.com/api/raw/gate-da/artificial-intelligence/markov-decision-processes-bellman-and-q-learning)): Discounted Markov Decision Processes, Bellman Expectation vs Optimality equations, Value Iteration vs Policy Iteration convergence, and On-Policy SARSA vs Off-Policy Q-Learning.