CS Fundamentals
460 articles in this topic

SQL SELECT Basics: Syntax, Output, and Runnable Examples
Learn how SELECT shapes a result without changing stored data. Run one small table through column lists, aliases, arithmetic expressions, and DISTINCT.

Regular Grammar and Finite Automata Explained: Conversion, Worked Example and Exam Traps
Connect right-linear productions to automaton transitions, carry one grammar through an NFA and a DFA, and learn the mistakes that change the language.

Instruction Formats and Addressing Modes for GATE: One Cross-Concept COA Problem Solved
Decode one teaching instruction from 0x2E35FFEC, calculate its effective address, read the little-endian value, and trace the result through a five-stage pipeline.

Hazards and Timing in Combinational Circuits: Worked Glitch Analysis and Exam Traps
Learn why correct Boolean logic can still glitch. Trace one static-1 hazard from gate delays to its 2 ns pulse, repair it with a consensus term, and check the timing safely.

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.