Programming Languages

118 articles in this topic

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

Functions in C: 12 Solved MCQs on Declarations, Definitions and Function Types

Separate a C function's prototype, body and call, then practise the details through 12 explained questions covering parameters, return values and linking.

Updated 14 Aug 20268 min readProgramming Languages Survey

Templates in C++: Function and Class Templates with Runnable Examples

Learn how C++ templates turn one type-safe blueprint into reusable functions and classes. Trace deduction, fix compiler errors, and test each idea with runnable examples.

Updated 14 Aug 20266 min readC++

Strings in C Tutorial: Declaration, Input, Functions and Worked Examples

Learn how C strings use character arrays and the null terminator, then practise safe input, traversal, reversal, library calls and capacity checks.

Updated 13 Aug 20266 min readC

Interface vs Abstract Class in Java: Differences, Default Methods and Exam Questions

Replace the old textbook rule with a current comparison, then solve the two-default-method conflict that appears in Java output and compilation questions.

Updated 13 Aug 20267 min readJava

Python Lists Tutorial: Create, Update, Slice and Use Lists with Examples

Learn Python lists through one clear path, from creation and indexing to mutation, comprehensions, copying, and exam-style output questions.

Updated 13 Aug 20266 min readPython

Visual Basic Programming Language: Core Concepts with a Worked VB.NET Example

Connect VB.NET syntax to a real Windows Forms event. Build and trace an invoice calculator that validates text input, applies a discount, and displays the exact result.

Updated 12 Aug 20267 min readProgramming Languages Survey

Map and Set in C++: Runnable STL Examples, Traps and Exercises

Learn when to choose std::map or std::set through complete programs, an event-by-event trace, complexity guidance, common mistakes and practice tasks.

Updated 12 Aug 20266 min readC++

Multidimensional Arrays in C: 2D Arrays, Row-Major Memory and Runnable Examples

Learn how C lays out and traverses fixed-size multidimensional arrays. A complete 3-by-4 sales program connects indexing, totals, addresses and function parameters.

Updated 11 Aug 20267 min readC

Exception Handling in Java: Checked vs Unchecked, finally Traps and Output Questions

Replace guesswork with precise Java exception rules. Trace two classic finally outputs, order catches correctly, and preserve causes when wrapping failures.

Updated 11 Aug 20266 min readJava

Python Dictionaries Tutorial: Syntax, Methods and Worked Examples

Learn how Python dictionaries store, retrieve and transform key-value data through runnable examples, common traps and one complete marks-processing task.

Updated 11 Aug 20266 min readPython

Object-Oriented Programming (OOP): Four Pillars and a Worked Dynamic-Binding Example

Build a precise OOP mental model, then follow two Employee objects through a Java program to see overloading, overriding and runtime dispatch in action.

Updated 10 Aug 20266 min readProgramming Languages Survey