CS Fundamentals

261 articles in this topic

NFA Basics and Design: Build and Trace Nondeterministic Automata

Learn how an NFA branches, trace complete state sets, handle epsilon-closure, and convert a worked three-state machine into its reachable-subset DFA.

Updated 1 Sep 20265 min readTheory of Computation

CPU Organization Basics: Registers, Instruction Cycle and Worked Examples

Follow PC, MAR, MDR, IR and AC through LOAD, ADD and STORE on a small 16-bit CPU. Then calculate opcode space, address capacity and common trace traps.

Updated 31 Aug 20265 min readComputer Organization & Architecture

Pixel and Color Models Explained: RGB, CMY and HSV Worked Examples

Follow one 8-bit RGB pixel through raster coordinates, raw storage, ideal CMY, HSV, two grayscale rules and 2-bit quantisation, with every convention stated.

Updated 31 Aug 20266 min readDigital Logic

C Programming for GATE: A 6-Week Topic-by-Topic Plan

Turn C revision into a 48-hour subject sprint. This plan moves from expressions and control flow to pointers, recursion, PYQ review, and timed mixed drills.

Updated 31 Aug 20265 min readC Programming & Data Structures

Routing Protocols in Computer Networks: Distance Vector, Link State, RIP, OSPF, BGP with Worked Examples

Build routing from the control plane to Internet-wide policy. Compare how RIP, OSPF, and BGP carry updates, use ports and timers, react to failure, and create common GATE CS traps.

Updated 31 Aug 20265 min readComputer Networks

Lexical Analysis and Tokens in Compiler Design: Worked Examples for GATE CS

See how a lexer turns source characters into tokens. The worked scan follows one complete line, builds symbol-table references, and exposes common traps.

Updated 31 Aug 20265 min readCompiler Design

Number of Simple Undirected Unlabeled Graphs: Counting Step by Step

Learn why labeled and unlabeled graph counts differ, enumerate every shape on three vertices, and use Burnside's lemma to obtain 11 shapes on four vertices.

Updated 31 Aug 20265 min readEngineering Mathematics

Linux Operating System: Kernel, Processes, Files and Worked Examples

Build a layer-by-layer model of Linux, then follow a system call, translate a virtual address and calculate file permissions by hand.

Updated 31 Aug 20265 min readOperating Systems

Big Data Systems for GATE CS: CAP Theorem, Sharding and MapReduce with Worked Examples

See what changes when a database spreads across machines. Build a clear mental model of shards, replicas, CAP choices, quorums, MapReduce and NoSQL.

Updated 31 Aug 20266 min readDBMS

Chomsky Hierarchy Explained: Grammar Types, Worked Classification and Exam Traps

Learn how to test a grammar from Type 3 outwards, distinguish all four production classes, classify a complete grammar, and derive its strings step by step.

Updated 31 Aug 20266 min readTheory of Computation

Computer Interfaces in COA: Registers, Handshaking and I/O Mode Numericals

Learn how an I/O interface decodes addresses, uses data, status and control registers, coordinates handshakes, and changes CPU occupancy across polling, interrupts and DMA.

Updated 30 Aug 20267 min readComputer Organization & Architecture

Image Fundamentals Explained: Sampling, Quantisation and Worked Examples

Follow one grayscale image from its pixel grid and histogram to downsampling, 2-bit quantisation, reconstruction error, neighbourhoods and distance measures.

Updated 30 Aug 20266 min readDigital Logic