Programming Languages

117 articles in this topic

var vs let vs const in JavaScript: Scope, Hoisting and the Temporal Dead Zone

Trace block scope, early reads, loop callbacks, and const object mutation using the rules behind common JavaScript output questions.

Updated 19 Aug 20265 min readJava

Python Introduction and Setup Tutorial: Install, Verify, and Run Your First Programs

Set up Python with confidence by checking the command, isolating a project in .venv, and running a saved program whose output you can verify step by step.

Updated 19 Aug 20266 min readPython

Object-Oriented Programming: Classes, Objects and Inheritance with a Worked Java Example

Trace two Java objects from construction to output, and see how independent state, inheritance and runtime method dispatch work together.

Updated 18 Aug 20267 min readProgramming Languages Survey

Lambda Expressions in C++: Syntax, Captures and Worked Examples

Learn how C++ lambdas store captured state, accept parameters and work with STL algorithms. Follow each example from creation to exact output.

Updated 18 Aug 20266 min readC++

Header Files and Linking in C: Build a Multi-File Program Step by Step

Build and debug a three-file C program while learning where declarations, definitions, external symbols, and storage belong.

Updated 18 Aug 20266 min readC

this Keyword in JavaScript: call, apply, bind and Arrow Functions with Interview Traps

Determine this from the call site, compare explicit binding methods, and see why arrows behave differently in callbacks and object methods.

Updated 17 Aug 20265 min readJava

Python Functions and Modules: Complete Guide with Worked Examples

Build a reliable mental model for Python functions, scope, imports, and packages, then trace a two-module score report from call to printed result.

Updated 17 Aug 20266 min readPython

Inheritance MCQs: 12 Solved Questions on Code Reuse and Class Hierarchies

Solve 12 inheritance MCQs, then use clear explanations to separate hierarchy shape, access rules, assignment compatibility, constructor order and method lookup.

Updated 16 Aug 20268 min readProgramming Languages Survey

Algorithms Header in C++: Sort, Search and Transform with Runnable Examples

Learn the iterator-range model behind C++ standard algorithms through complete programs for sorting, searching, transforming and erase-remove.

Updated 16 Aug 20267 min readC++

C to C++ Transition: Syntax Changes, Classes and Runnable Examples

Move a working C record into an encapsulated C++ class, then replace common pointer, buffer, and allocation patterns with clearer C++ alternatives.

Updated 16 Aug 20267 min readC

JavaScript Promises and async/await Explained: Error Handling, Execution Order, and Output Questions

Build a precise call-stack and queue model, use it to predict six output lines, and see why one missing await can move a rejection beyond try/catch.

Updated 15 Aug 20266 min readJava

Python Tuples Tutorial: Packing, Unpacking, Methods and Examples

Learn how Python tuples work through runnable examples, a fixed-record route program, precise error fixes and four predict-before-running exercises.

Updated 15 Aug 20266 min readPython