Coding & Skills

369 articles in this topic

Unions in C: Syntax, Shared Memory and Worked Examples

A C union reuses one storage region for alternative member types, while a separate enum tag keeps each payload read consistent. Safe member switching prevents stale reads, layout mistakes, and character-array errors.

Updated 15 Sep 20265 min readC

this Keyword in JavaScript: Call-Site Rules with Worked Examples

Trace JavaScript receivers through ordinary functions, arrows, callbacks, constructors, call, and bind. Worked examples turn this from a guess into a call-site rule.

Updated 15 Sep 20265 min readWeb Development

Loops in Java Tutorial: for, while, do-while and Worked Examples

Build one reliable control-flow model for every Java loop. Trace runnable examples, avoid boundary and update errors, and practise counting executions.

Updated 15 Sep 20266 min readJava

Python Classes and Objects Tutorial: Build a Student Model Step by Step

Build one Student class, create independent objects, and trace every value. The examples show how constructors, methods, and attribute lookup work in Python.

Updated 15 Sep 20265 min readPython

Dynamic Programming in Algorithms: Complete Guide with Worked Examples for GATE and Interviews

Stop memorising DP solutions. Learn how to define states and recurrences, fill a complete 0/1 knapsack table, trace chosen items, and avoid common GATE and interview mistakes.

Updated 15 Sep 20265 min readDSA & Algorithms

Kotlin Tutorial for Beginners: Build a Null-Safe Study Tracker

Learn core Kotlin by building one console project with nullable values, a data class, small functions and a collection pipeline whose output you can verify.

Updated 14 Sep 20265 min readProgramming Languages Survey

C++ Composition vs Inheritance: Choose the Stable Relationship

Follow one C++ notification design from eight combination subclasses to three replaceable policies. The worked trace shows exactly where inheritance still fits.

Updated 14 Sep 20266 min readC++

Fuzzy Arithmetic and Membership Functions: Alpha-Cuts, Worked Examples and Exam Traps

Learn what fuzzy membership grades mean, how alpha-cuts work, and how to calculate exact fuzzy sums, differences, products and quotients without shortcut errors.

Updated 14 Sep 20265 min read58 viewsML & Data Science

Enums and Typedef in C: Syntax, Worked Examples, and Common Errors

Learn how C enums name integer states and typedef aliases existing types. Trace two complete programs, then avoid collisions, hidden pointers, invalid values, and size assumptions.

Updated 14 Sep 20266 min read64 viewsC

Objects in JavaScript: Beginner Tutorial with Runnable Examples

Learn JavaScript objects through runnable examples that cover property access, updates, methods, nested data, iteration, and reference behaviour.

Updated 14 Sep 20265 min readWeb Development

Conditionals in Java: if, else if, switch and Worked Examples

Learn Java conditionals by tracing one student-result program from its inputs to its grade, eligibility, scholarship and lab-day outputs.

Updated 14 Sep 20266 min readJava

Python Tokens, Variables, Data Types and I/O: Worked Examples from Input to Output

Trace one Python program from keyboard text through name binding, numeric conversion, a Boolean decision and formatted output, then test the common traps.

Updated 14 Sep 20265 min readPython