CS Fundamentals

478 articles in this topic

SQL Query Optimization Basics: EXPLAIN, Indexes, and Worked Examples

Learn to read row flow, choose composite index order, rewrite date predicates, and compare before and after plans on a deterministic PostgreSQL fixture.

Updated 7 Sep 20265 min readDBMS

DFA Basics and Definitions: 5-Tuple, Transition Table and Worked String Traces

Understand what makes a finite automaton deterministic and complete. Build one DFA for strings ending in 01, trace inputs, test acceptance, and repair a missing transition.

Updated 7 Sep 20266 min readTheory of Computation

Booth’s Algorithm Explained: Signed Binary Multiplication, Full Trace and Exam Traps

Learn how Booth’s Algorithm reads bit pairs, updates fixed-width registers, and shifts them as one field. A four-cycle trace proves why 0011 × 1011 gives -15.

Updated 7 Sep 20266 min read83 viewsComputer Organization & Architecture

Digital Electronics for GATE: A 6-Week Topic-by-Topic Study Plan

Build Digital Electronics in dependency order with seven focused hours each week. The plan includes worked examples, timed practice and an error-log routine.

Updated 7 Sep 20265 min readDigital Logic

Recursion with Pointers in C: Concepts, Traces and Worked Examples

Learn how local pointer copies interact with shared array memory, then trace one mutating sum and one reverse-print function from descent to unwind.

Updated 6 Sep 20266 min readC Programming & Data Structures

DLL Framing in Computer Networks: Methods, Bit Stuffing and Worked Examples

Learn how the data link layer finds frame boundaries and preserves transparency. Work through corrupted counts, escaped bytes and bit stuffing with exact overhead calculations.

Updated 6 Sep 20265 min readComputer Networks

LALR(1) Parser Merging Explained: LR(1) States, Tables and Conflicts

Build ten canonical LR(1) states, merge them into seven LALR(1) states, construct the parsing table, and trace an accepted string without skipping steps.

Updated 6 Sep 20266 min readCompiler Design

Inverse Property in Group Theory: Concepts and a Complete Worked Example

Learn how identity and inverses work in a group, then prove and use every inverse in U(10). Includes a Cayley table, solved equations, and key inverse laws.

Updated 6 Sep 20266 min readEngineering Mathematics

Disk Scheduling in Operating Systems: 6 Algorithms with Worked Examples

Use one request queue to compare all six disk-scheduling algorithms. Every service path, endpoint rule, total movement and per-request average is worked out.

Updated 6 Sep 20266 min read52 viewsOperating Systems

DBMS for GATE CS: Syllabus Areas, Question Weightage and Prep Order

Learn the DBMS syllabus in dependency order, see which areas recur most in PYQs, and practise the exact reasoning used in normalization, schedules, indexing and SQL questions.

Updated 6 Sep 20265 min read81 viewsDBMS

String Operations in Theory of Computation: Basics, Definitions and Worked Examples

Build string notation from alphabet and epsilon through prefixes, reversal, language products and Kleene closure. Every rule is checked with exact worked values.

Updated 6 Sep 20265 min readTheory of Computation

Input and Output Devices in COA: Interfaces, Interrupts and DMA with a Worked Example

Input and output devices in COA explained through interfaces, polling, interrupts and DMA, plus a FIFO that fills in 640 microseconds and loses 6 bytes at 700 microseconds.

Updated 5 Sep 20267 min readComputer Organization & Architecture