CS Fundamentals

485 articles in this topic

Arrays and Strings in C: Array-to-Pointer Decay, sizeof Traps and 2D Address Arithmetic

Learn what an array name means in C, why sizeof changes across a function boundary, and how to calculate 1D and 2D element addresses without guessing.

Updated 30 Jul 20265 min read139 viewsC Programming & Data Structures

Application Layer in Computer Networks: Protocols, Worked Examples, and How GATE Tests It

Build a clear application-layer model, work through DNS and HTTP timing problems, revise the major protocols, and avoid the traps that cost easy marks.

Updated 29 Jul 20266 min readComputer Networks

Grammar and CFG in Compiler Design: Complete Guide with Worked Examples

Build grammar and CFG concepts from the formal definition to parse trees, parser-ready transformations and LL(1), using one expression grammar throughout.

Updated 29 Jul 20266 min readCompiler Design

Discrete Mathematics for GATE: Syllabus, Weightage Context and Preparation Order

Learn where Discrete Mathematics sits in GATE CS, how its syllabus areas connect, and how to cover them through a practical 45-hour study plan.

Updated 29 Jul 20265 min read208 viewsEngineering Mathematics

BTSC Lab Assistant (CS): Eligibility and the Selection and Merit Process

A practical way to verify your BTSC Lab Assistant CS qualification, read the selection clause correctly, and prepare the documents that decide candidature.

29 Jul 20267 min readOperating Systems

SQL Subqueries and Correlated Subqueries: How to Read, Write and Solve Placement-Test Questions

Read nested SQL from the inside out, distinguish once-only and per-row evaluation, and solve common placement questions with one small employee dataset.

Updated 29 Jul 20265 min readDBMS

Chomsky Hierarchy for GATE: Classifying a Grammar as Regular, Context-Free, Context-Sensitive or Type-0

Classify grammars mechanically from their production forms. Four worked boundary cases show exactly when a grammar moves from regular to CFG, CSG or Type-0.

Updated 29 Jul 20265 min readTheory of Computation

Coal India Management Trainee (Systems) Syllabus Decoded: the Technical and Aptitude Split

The MT Systems paper is two preparation jobs: a CS core revised for recall speed, and an aptitude half built beside it. The notification settles the numbers.

Updated 27 Jul 20265 min readComputer Organization & Architecture

Shift Registers, Ring and Johnson Counters for GATE: Frequency Division and Timing Numericals Solved

Build a 4-bit ring counter and Johnson counter state by state, then use their mod values to solve frequency-division and maximum-clock questions.

Updated 29 Jul 20265 min read50 viewsDigital Logic

Storage Classes in C (auto, static, extern, register): Scope, Lifetime and Exam Questions

Separate scope, lifetime, storage duration and linkage, then use one static-versus-auto program and a two-file extern example to predict exam answers.

Updated 29 Jul 20266 min read54 viewsC Programming & Data Structures

Express.js REST API Tutorial: Routing, Middleware, and Error Handling the Production Way

Build one small courses API and trace every request through parsing, routing, 404 handling, and a single error path.

Updated 27 Jul 20266 min readComputer Networks

Compiler Design for GATE: Syllabus Areas, Weightage Pattern and How to Prepare

See what GATE Compiler Design covers, where practice questions concentrate, how to solve a complete FIRST/FOLLOW example, and which topics to study first.

Updated 27 Jul 20264 min read61 viewsCompiler Design