CS Fundamentals

261 articles in this topic

C Programming Data Types Explained: Concepts, Conversions and Worked Examples

Learn how C declarations, literal types, conversions, sizeof and format specifiers work. Follow one complete calculation and correct common objective-question traps.

Updated 5 Sep 20266 min readC Programming & Data Structures

UDP and Congestion Control in Computer Networks: Headers, Timers and Worked Examples

UDP datagrams preserve message boundaries, while checksum arithmetic, congestion windows, RTT timers and socket calls solve different transport-layer problems. Worked calculations expose the exam traps.

Updated 5 Sep 20266 min readComputer Networks

First and Follow Sets Explained: Rules, Worked Example and LL(1) Checks

Learn a repeatable way to compute FIRST and FOLLOW sets, handle nullable suffixes, and use the results to test a grammar and fill its LL(1) parsing table.

Updated 5 Sep 20265 min readCompiler Design

Trees in Graph Theory: Properties, Eccentricity, Diameter, Radius and Center

Build every important tree metric from one eight-vertex example, then use structural tests, a distance table and the two-sweep method to check each answer.

Updated 5 Sep 20265 min readEngineering Mathematics

Distributed Systems in Operating Systems: Clocks, Consistency and Worked Examples

Build a connected understanding of distributed systems through exact examples of duplicate RPC calls, logical clocks, leader election, replica quorums and block recovery.

Updated 4 Sep 20266 min readOperating Systems

Basics of DBMS: Full Concept Set with Worked Examples for GATE and Interviews

Connect the core DBMS ideas through concrete tables: why databases beat files, how keys and normalization work, how ER designs become relations, and how ACID protects a bank transfer.

Updated 4 Sep 20266 min readDBMS

Decidability in Regular Languages: DFA Tests, Worked Example and Exam Traps

Learn why DFA decision problems halt, how graph searches settle key language properties, and how a product automaton exposes the counterexample 10.

Updated 4 Sep 20265 min readTheory of Computation

Computer Architecture Evolution and History: From Stored Programs to Multicore Systems

Follow the causal path from physical reconfiguration to stored programs, integrated processors, memory hierarchy and multicore, with checked numerical examples.

Updated 4 Sep 20265 min readComputer Organization & Architecture

Shift Registers Explained: Types, Timing and a 4-Bit Worked Trace

Learn one reliable method for tracing shift registers. Fix the bit order, apply simultaneous next-state equations, and follow a complete four-clock example.

Updated 4 Sep 20266 min readDigital Logic

Data Types in C Explained: Ranges, Conversions and Worked Exam Examples

Learn how C types control ranges and conversions, then apply the rules to overflow, mixed arithmetic, sizeof and signed-unsigned exam questions.

Updated 3 Sep 20266 min readC Programming & Data Structures

Node.js Routing and Controllers Tutorial: Build a Runnable Express API

Build a small Express users API from scratch, separate routes from controllers, and test successful and failed requests against predictable responses.

Updated 3 Sep 20266 min readComputer Networks

Symbol Table in Compiler Design: Errors, Passes and Worked Examples

Follow one scoped program from symbol-table insertion to type checking and error recovery, then see why a compiler phase is not the same thing as a pass.

Updated 3 Sep 20266 min readCompiler Design