Programming Languages

213 articles in this topic

Static vs Dynamic Binding MCQs: 11 Solved Questions on Scope, Aliasing and Dispatch

Solve 11 binding questions from GATE and UGC NET papers by tracing lexical scope, runtime call chains, declared types and shared storage cells. Each answer shows why the tempting shortcuts fail.

Updated 8 Oct 20267 min readProgramming Languages Survey

C++ Virtual Functions and Polymorphism: Trace Dynamic Dispatch Step by Step

Trace a Shape hierarchy line by line to see how static type, dynamic type, final overriders, object slicing, and virtual destructors determine C++ output.

Updated 7 Oct 20265 min readC++

Abstraction and Interfaces in Java: Abstract Classes, Contracts and Runnable Examples

Learn when Java needs an abstract class, when it needs an interface, and how both work together in one runnable charge-calculation program with exact outputs.

Updated 6 Oct 20266 min readJava

Python Control Flow and Loops: if, for, while and Worked Traces

Learn to trace Python branches and loops without skipping a state change. Worked examples cover GCD, break and continue, loop else, nested loops, and common mistakes.

Updated 6 Oct 20265 min readPython

ctype.h Functions in C: Classify Characters and Convert Case Safely

Learn which character test to choose, trace a complete C classifier, and avoid signed-char and EOF mistakes. Worked examples separate classification from case conversion.

Updated 5 Oct 20266 min readC

TypeScript vs C# Typing: Structural Compatibility, Nominal Identity, Generics and Runtime Checks

Follow one User/Admin example through TypeScript and C# to predict assignments, generic conversions, branded IDs, and JSON behaviour at runtime.

Updated 3 Oct 20266 min readProgramming Languages Survey

C++ unordered_map and unordered_set: Hashing, Equality and a Custom-Key Frequency Counter

Build a correct mental model for C++ unordered containers, then trace a custom-key counter through a real collision without merging distinct keys.

Updated 2 Oct 20266 min readC++

Wrapper Classes and Autoboxing in Java: Worked Examples and Null Traps

Learn why Java wrapper classes exist, how boxing and unboxing work, and where nulls, reference identity, and overload selection create surprises.

Updated 1 Oct 20265 min readJava

Python for GATE: CS vs DA Syllabus, Past-Paper Evidence and a 10-Week Plan

Choose the right Python preparation path for GATE CS or DA, then use two worked traces and three diagnostic gates to test your progress.

Updated 1 Oct 20264 min readPython

Key Features of the C Programming Language: Code Examples

What do C's features actually do in a program? Follow an even-number sum and a pointer update, then test your understanding with small code changes.

Updated 30 Sep 20266 min readC

TypeScript Learning Roadmap: 20 Weeks from Everyday Types to a Full-Stack App

Follow a dependency-led TypeScript plan through BudgetLens, IssueBoard and TaskBoard, with exact weekly gates, strict checks and tested API boundaries.

Updated 28 Sep 20265 min readProgramming Languages Survey

C++ STL Containers: Choose by Access Pattern, Mutation Cost and Ownership

Choose a C++ STL container from the workload, not from habit. Trace sequence operations, keyed counts, invalidation and object lifetime through exact examples.

Updated 27 Sep 20266 min readC++