CS Fundamentals

203 articles in this topic

Functions in Discrete Mathematics: Types, Counting and Worked Examples

Learn how to recognise function types, count constrained mappings, compose rules in the correct order and decide when an inverse exists. Each idea is checked on finite sets.

Updated 11 Aug 20266 min readEngineering Mathematics

C Preprocessor and Macros: #define Traps, Macro vs Function and Output Questions

Macro questions become mechanical once you expand the text before applying C rules. Work through missing parentheses, repeated side effects and safer macro patterns.

Updated 10 Aug 20266 min readOperating Systems

File Organization and Indexing in DBMS: Complete Guide with Worked Block-Access Examples

Carry one 30,000-record EMPLOYEE file through heap, ordered, indexed, B+ tree, and hash access paths. See where every block-access figure comes from.

Updated 10 Aug 20266 min readDBMS

Deterministic Finite Automata (DFA): Design, Tracing and Minimisation with Worked Examples

Learn a repeatable way to design DFA states, trace binary inputs, build complements and products, and minimise a complete machine. Every transition is checked through exact tables and worked traces.

Updated 10 Aug 20266 min readTheory of Computation

Input Output Organisation in COA: Programmed I/O, Interrupts and DMA, with Worked Examples

See how Data, Status and Control registers support programmed I/O, interrupts and DMA. Then solve a complete cycle-stealing bandwidth calculation.

Updated 9 Aug 20266 min readComputer Organization & Architecture

Logic Gates in Digital Electronics: Truth Tables, Boolean Expressions and Worked Examples

Learn the seven basic logic gates, build and minimise a complete three-input truth table, then implement the result using only NAND gates. Hardware bubbles and delay paths are included.

Updated 9 Aug 20265 min readDigital Logic

Arrays and Pointers in C: Complete Guide with Worked Examples for GATE and Interviews

Build one clear mental model for C arrays and pointers. Trace addresses, decode tricky expressions, solve a 2D-array numerical, and practise an in-place reversal.

Updated 9 Aug 20266 min read139 viewsC Programming & Data Structures

Flow Control in the Data Link Layer: Stop-and-Wait, Sliding Window, and Worked Examples

See Stop-and-Wait, sliding windows, Go-Back-N, and Selective Repeat as parts of one system. One link carries every calculation from efficiency to sequence bits.

Updated 9 Aug 20266 min readComputer Networks

Run-Time Environment in Compiler Design: Activation Records, Access Links, and Worked Examples

Learn how code, static data, heap, and stack work together at run time. Follow worked examples for recursion depth, stack bytes, and nonlocal access.

Updated 8 Aug 20266 min readCompiler Design

Graph Theory for GATE CS: Concepts and Worked Examples

Build graph theory from two fully specified examples. Work through degree counts, connectivity, spanning trees, bipartiteness, planarity, and Euler and Hamilton checks.

Updated 8 Aug 20266 min readEngineering Mathematics

User-Level vs Kernel-Level Threads for GATE: The Three Multithreading Models, Decided

Decide thread-model statements by asking who schedules the thread and what a blocking call stalls. Six worked judgements make the comparison concrete.

Updated 8 Aug 20265 min readOperating Systems

SQL Tutorial: The Complete Learning Path from First Query to Transactions

Learn SQL in a deliberate order, using one small dataset to practise table creation, filtering, joins, grouping, subqueries and transactions.

Updated 8 Aug 20267 min readDBMS