CS Fundamentals

263 articles in this topic

Probability for GATE CS

Translate the wording into events before calculating. Exact dice, Bayes and expectation examples show how to build the denominator and avoid the standard independence trap.

Updated 21 Jul 20265 min readEngineering Mathematics

Final Year Placement Preparation Plan: A 90-Day Schedule for Aptitude, Coding and Interviews

Run aptitude, coding and interviews as three connected streams across 90 days. The schedule includes weekly hours, phase checkpoints and a rule for missed days.

Updated 25 Jul 20266 min readOperating Systems

Relational Algebra for GATE: Operators, Tuple-Counting and Query Equivalence Drills

Calculate set, join, and outer-join cardinalities on concrete relations, then use selection and projection pushdown without changing query meaning.

Updated 21 Jul 20266 min readDBMS

Ambiguous Grammars, Precedence and Associativity for GATE: Two-Tree Proofs and Grammar Rewrites

Proving a grammar ambiguous takes one witness string and two parse trees. Removing the ambiguity takes precedence layers plus a chosen recursion direction.

Updated 21 Jul 20265 min readTheory of Computation

Booth's Algorithm for GATE: Signed Multiplication Traced Step by Step

Trace Booth multiplication through A, Q and Q-1, preserve the sign during every shift, and count additions and subtractions from bit transitions.

Updated 20 Jul 20265 min readComputer Organization & Architecture

Flip-Flop Conversion for GATE: Excitation Tables and the SR, JK, D, T Conversion Recipe, Solved

Convert one flip-flop into another with the target transition, the available device's excitation table and a K-map. The solved JK-to-T case shows every row.

Updated 20 Jul 20266 min read69 viewsDigital Logic

Pointers in C for GATE: Memory Diagrams and Output Traces

Draw pointers as addresses in boxes, then trace double pointers, arrays, swaps and precedence without guessing. The worked outputs show the method GATE rewards.

Updated 20 Jul 20265 min readC Programming & Data Structures

TCP Congestion Control for GATE

Track cwnd at one fixed point in every round, apply the correct growth rule, and reset it on the stated loss signal. A worked ten-RTT table follows the sawtooth.

Updated 20 Jul 20266 min readComputer Networks

LL(1) Parsing Table Construction for GATE

Build an LL(1) table cell by cell, test it for conflicts, and see how left recursion and common prefixes break predictive parsing.

Updated 20 Jul 20266 min read70 viewsCompiler Design

Linear Algebra for GATE CS: Rank, Consistency and Eigenvalues

Reduce matrices cleanly, classify Ax=b by ranks, and turn eigenvalue properties into fast calculations. Each result is checked against an independent property.

Updated 29 Jul 20265 min readEngineering Mathematics

fork() Questions in GATE

Trace three common fork() patterns without the off-by-one error, then handle return values, loops, printed output, and inherited buffers.

Updated 20 Jul 20265 min read95 viewsOperating Systems

ER Model to Relational Mapping for GATE: Minimum Number of Tables Questions Solved

Count the minimum relations from cardinality and participation, then check the special rules for weak entities, relationship attributes, and multivalued attributes.

Updated 20 Jul 20266 min read80 viewsDBMS