CS Fundamentals
456 articles in this topic

C Programming Mixed-Concept Questions Explained: Arrays, Pointers, Functions and Output Tracing
Learn a four-pass method for tracing C programs that combine arrays, pointer aliases, function calls, static storage and side effects, with a complete worked output trace.

TCP/IP Model Explained: Four Layers, Worked Encapsulation and Exam Traps
Learn the four TCP/IP layers through one complete packet journey. The worked example calculates headers, MTU fit, frame efficiency and serialization time step by step.

LR(0) Parser Explained: Bottom-Up Parsing, Item Sets and a Worked Example
Build an LR(0) parser from one augmented grammar, then follow every state, table entry and stack operation until cdd$ is accepted.

Universal and Existential Quantifiers Explained: Scope, Meaning and Worked Examples
Learn universal and existential quantifiers from zero, then evaluate finite domains, translations, negations and nested formulas with worked examples.

Introduction to Operating System: Concepts, Types and a Worked System Call
Build a practical mental model of an operating system, then follow one read request across modes, process states and exact memory addresses.

RDBMS Concepts and SQL Basics: A Beginner Tutorial with Examples
Build a three-table college database in SQLite, then use exact rows and queries to understand relations, keys, constraints, joins and data anomalies.

P, NP and Polynomial-Time Reducibility: Definitions, Direction and a Worked Example
Separate solving from verification, learn what A <=p B really says, and follow a complete reduction from Vertex Cover to Independent Set on one five-vertex graph.

Memory Organisation and Performance: Cache Mapping, AMAT and Worked GATE Examples
Connect cache capacity, address fields and access time through one 32-bit worked system. Then compare mapping choices and solve a past GATE-style field relation.

Function Equivalence in Boolean Algebra: Three Proof Methods for GATE
Two Boolean expressions can look different yet describe the same function. Prove equivalence exactly with a truth table, Boolean algebra, a K-map, or an XOR miter.

Storage Classes in C: Worked Examples for Scope, Lifetime, Linkage and GATE Traps
Learn what auto, register, static and extern actually control. Classification tables, two-file code and exact traces turn similar-looking declarations into predictable C behaviour.

SMTP, POP3 and IMAP Explained with Worked Examples
Follow one email from sender to mailbox, then compare SMTP dialogue, POP3 deletion, IMAP synchronisation, timing and bandwidth through closed examples.

Attributes and SDT Types in Compiler Design: S-Attributed, L-Attributed and a Worked Trace
See how attributes add meaning to a parse tree, how S-attributed and L-attributed definitions differ, and how one expression becomes both a value and postfix output.