Energy

/ˈɛnərdʒi/

noun … “Capacity to do work.”

Energy is a fundamental physical quantity that represents the ability of a system to perform work, produce heat, or cause physical change. In electrical systems, energy is the total work done by electric charges moving through a potential difference over time, typically measured in joules (J). Energy can exist in multiple forms, including kinetic, potential, thermal, chemical, and electrical.

Key characteristics of Energy include:

Boolean Logic

/ˈbuːliən ˈlɑːdʒɪk/

noun … “Algebra of true/false values.”

Boolean Logic is a system of mathematics and reasoning that operates on binary values—typically true (1) and false (0)—to perform logical operations. It is the foundation of logic gates, digital circuits, and computer programming, enabling decision-making, conditional execution, and binary computation. Boolean expressions combine variables and operators such as AND, OR, NOT, NAND, NOR, XOR, and XNOR to define logical relationships.

Pointer Arithmetic

/ˈpɔɪntər ˌærɪθˈmɛtɪk/

noun … “Calculating addresses with pointers.”

Pointer Arithmetic is a programming technique that performs mathematical operations on pointers to navigate through memory locations. It allows programmers to traverse arrays, structures, and buffers by adding or subtracting integer offsets from a pointer, effectively moving the reference to different memory addresses. This technique is widely used in low-level languages like C and C++ for efficient memory access and manipulation.

Global Scope

/ˈɡloʊbəl skoʊp/

noun … “Variables accessible from anywhere in the program.”

Global Scope refers to the outermost scope in a program where variables, functions, or objects are defined and accessible throughout the entire codebase. Any variable declared in global scope can be read or modified by functions, blocks, or modules unless explicitly shadowed. While convenient for shared state, overusing global scope can increase risk of naming collisions and unintended side effects.

Key characteristics of Global Scope include:

Block Scope

/blɑk skoʊp/

noun … “Variables confined to a specific block of code.”

Block Scope is a scoping rule in which variables are only accessible within the block in which they are declared, typically defined by curly braces { } or similar delimiters. This contrasts with function or global scope, limiting variable visibility and reducing unintended side effects. Block Scope is widely used in modern programming languages like JavaScript (let, const), C++, and Java.

Key characteristics of Block Scope include:

Lexical Scoping

/ˈlɛksɪkəl ˈskoʊpɪŋ/

noun … “Scope determined by code structure, not runtime calls.”

Lexical Scoping is a scoping rule in which the visibility of variables is determined by their position within the source code. In languages with lexical scoping, a function or block can access variables defined in the scope in which it was written, regardless of where it is called at runtime. This is fundamental to closures and scope management.

Scope

/skoʊp/

noun … “Where a variable is visible and accessible.”

Scope is the region of a program in which a variable, function, or object is accessible and can be referenced. Scope determines visibility, lifetime, and the rules for resolving identifiers, and it is a fundamental concept in programming languages. Understanding scope is essential for managing state, avoiding naming collisions, and enabling features like closures and modular code.

Key characteristics of scope include:

Closure

/ˈkloʊʒər/

noun … “A function bundled with its environment.”

Closure is a programming concept in which a function retains access to variables from its lexical scope, even after that scope has exited. In other words, a closure “closes over” its surrounding environment, allowing the function to reference and modify those variables whenever it is invoked. Closures are widely used in Functional Programming, callbacks, and asynchronous operations.

Key characteristics of closures include: