CS Fundamentals

449 articles in this topic

C Operators and Expressions Explained: Precedence, Types and Worked Traces

Learn a repeatable way to parse and evaluate C expressions. Follow typed calculations, bitwise and short-circuit traces, and common exam traps.

Updated 22 Oct 20266 min readC Programming & Data Structures

Data Transmission Modes and Connection Types: Simplex, Half-Duplex and Full-Duplex

Learn to classify simplex, half-duplex, full-duplex, point-to-point and multipoint links, then calculate completion time without relying on memorised examples.

Updated 22 Oct 20265 min readComputer Networks

Code Optimization Mistakes in Compiler Design: How to Avoid Losing GATE Marks

A rewrite that looks familiar is not necessarily safe. Trace six common optimization errors, learn why each one changes program meaning, and use a five-step check before accepting an answer.

Updated 22 Oct 20265 min readCompiler Design

Graphical Method in Linear Programming: Feasible Region, Corner Points and Optimality with a Worked Example

Learn the two-variable graphical method in the right order, then solve and audit a complete maximisation model without trusting the sketch alone.

Updated 21 Oct 20265 min readEngineering Mathematics

Critical Section in Process Synchronization: Race Conditions and Correctness Worked Step by Step

See how two sensible updates to x can finish at 6, 7, or 8. The worked trace connects race conditions to mutual exclusion, progress, bounded waiting, and safe synchronization choices.

Updated 21 Oct 20266 min readOperating Systems

SQL Joins Explained: INNER, LEFT, RIGHT, FULL, CROSS and SELF with Runnable Examples

Trace all six SQL join types on one support-agent dataset, with runnable queries, exact outputs, NULL behaviour, row counts and filter-placement traps.

Updated 21 Oct 20265 min readDBMS

Regex Basics and Definitions: Operators, Worked Examples and Exam Patterns

Learn how regular expressions denote languages, how their three core operators bind, and how to build and check expressions with exact binary examples.

Updated 21 Oct 20265 min readTheory of Computation

Data Manipulation Micro-Operations in COA: Arithmetic, Logic and Shift Operations Worked Step by Step

Learn a fixed-width method for tracing arithmetic, logic, and shift micro-operations. Every example tracks register values, result bits, carry, and overflow.

Updated 19 Oct 20265 min readComputer Organization & Architecture

Binary Arithmetic Operations Explained: Rules and Worked Examples

Learn binary addition, subtraction, multiplication and division with aligned worked examples, then separate carry, borrow and two's-complement overflow.

Updated 19 Oct 20266 min readDigital Logic

Introduction to Flowcharts: Symbols, a Worked Example and Exam Traps

Learn how flowchart symbols express sequence, decisions and loops. Then trace a complete even-sum example, translate it into C and repair common logic defects.

Updated 18 Oct 20266 min readC Programming & Data Structures

Computer Networks Interview Questions: Trace OSI, TCP/IP and Routing Step by Step

Follow one synthetic web request across DNS, ARP, TCP, NAT and longest-prefix routing, then turn each step into a strong interview answer.

Updated 18 Oct 20266 min readComputer Networks

Compiler Design Semester Guide: Trace One Program from Tokens to Target Code

Follow one assignment through lexical analysis, parsing, semantic checks, TAC, optimization and abstract target instructions, with every hand-off made visible.

Updated 18 Oct 20267 min readCompiler Design