CS Fundamentals

451 articles in this topic

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

Duality in LP: Construct the Dual, Solve a Worked Example, and Apply Key Properties

Learn a reliable matrix-first method to form an LP dual, solve both programs to value 21, and use duality properties to check optimality and avoid sign errors.

Updated 17 Oct 20266 min readEngineering Mathematics

System Calls and Dual Mode in OS: Mode-Bit Trace, Worked Example and Exam Traps

Follow one read() call across the user-kernel boundary, calculate its stated overhead, and learn the distinctions that make system-call questions easier.

Updated 17 Oct 20265 min readOperating Systems

GROUP BY and HAVING in SQL: Syntax and Worked Examples

Trace eight sales rows through WHERE, GROUP BY, aggregates, and HAVING, then tackle multiple columns, NULLs, COUNT variants, and common query traps.

Updated 17 Oct 20265 min readDBMS

Regex and Finite Automata Equivalence: Conversions, Worked Examples and Exam Traps

Build and verify equivalent regex, NFA and DFA descriptions step by step. The worked conversions show what each state means and how to catch a false match.

Updated 17 Oct 20266 min readTheory of Computation

Assembly Language and Assembler Design: Two-Pass Translation with a Complete Worked Example

Follow a 16-bit Basic Computer program through pass one, pass two, hexadecimal encoding and execution, with every symbol, address and result shown.

Updated 15 Oct 20266 min readComputer Organization & Architecture

1's Complement Explained: Binary Conversion, Addition and Worked Examples

Learn how fixed-width 1's complement numbers represent negatives, why zero has two encodings, and how end-around carry works through exact examples.

Updated 15 Oct 20266 min readDigital Logic

Undefined Behavior in C: Common Causes, Examples, and Fixes

Learn to find the first undefined operation in common C programs, repair the missing invariant, and verify the corrected result with worked examples.

Updated 14 Oct 20266 min readC Programming & Data Structures

Basics of Cyber Security: CIA Triad, Risks and a Worked Defence

Learn a consistent security vocabulary, connect common attack paths to suitable controls, and calculate how two defensive layers reduce account takeovers.

Updated 14 Oct 20266 min readComputer Networks

Bottom-Up Parsing in Compiler Design: Shift-Reduce Trace, LR Items and Conflicts

Follow a nested-parentheses LR(0) parse from input to acceptance, derive every item set, and see why lookahead changes parser-family conflicts.

Updated 14 Oct 20265 min readCompiler Design

Commutative Property and Abelian Groups: Tests, Worked Examples and Exam Traps

Learn how to separate commutativity from the other group axioms, test custom operations step by step, and avoid the usual classification traps.

Updated 13 Oct 20266 min readEngineering Mathematics