Send Close Add comments: (status displays here)
Got it!  This site uses cookies. You consent to this by clicking on "Got it!" or by continuing to use this website.nbsp; Note: This appears on each machine/browser from which this site is accessed.
Common computer terms and definitions


1. Common computer terms and definitions
Here are some summarized computer terms with short definitions. There are exceptions to almost everything, but these short definitions are useful to commit to quick-access memory when programming.

2. Type
A type is a set of allowable values. Short definition: type = set of allowable values

3. Literal
A literal is an expressly written entity.

Short definition: literal = expressly written entity

A literal value literally expresses a value. The word comes from the Latin that means "letter", as in "letter of the law".

The word "entity" is a nice way to say "thing" or "something".

4. Constant
A constant is a named literal.

Short definition: constant = named literal

5. Variable
A variable is a named storage location that contains the value of the variable.

Short definition: variable = named storage location

6. Declaration
A declaration is a way to request memory storage for a variable name.

Short definition: declaration = reservation of storage by name

When you "declare" something, like the "Declaration of Independence", you state that something is what you want it to be.

7. Expression
An expression is a formula that evaluates to and can be expressed as a literal value.

Short definition: expression = formula that evaluates to a literal value

The word "expression" comes from the Latin and means, literally, to "press out", as someone who has an expression on their face.

8. Statement
A statement is a command that is executed for effect.

Short definition: statement = command executed of effect

9. Assignment
An assignment statement destructively moves data around computer memory.

Short definition: assignment = way to move data around in memory

An assignment statement has a variable on the LHS (Left Hand Side) , an expression on the RHS (Right Hand Side) , and is executed in two steps. This operation is known as a destructive update as the value is gone forever.

10. Procedure
A procedure allows repeated statements to be shared, acting as a statement that is called for effect.

Effect means that something is changed. This something sometimes called a side-effect. Short definition: procedure = acts as a command of repeated commands and called for effect

11. Function
A function allows repeated expressions to be shared, acting as an expression that is called to provide a value.

Short definition: function = acts as formula of repeated formulas and called for a value

12. Formal parameter
A formal parameter is a name that acts as a placeholder in a function or procedure for an actual value to be supplied when the function or procedure is called.

Short definition: formal parameter = name that acts as a placeholder value to be supplied

13. Actual parameter
An actual parameter supplies an actual value to be matched with the corresponding formal parameter in the procedure or function when the procedure or function is called.

Short definition: actual parameter = supplies an existing value matched with a parameter

14. Value parameter
A value parameter is a formal parameter whose corresponding actual parameter value is passed to a procedure or function If the actual parameter represents a memory location (e.g., a variable), assigning a value to the formal parameter within the procedure or function does not change the contents of the memory location represented by the actual parameter. A copy of the value is passed.

Short definition: value parameter = copy is supplied to the called routine

15. Reference parameter
A reference parameter is a formal parameter whose actual parameter represents a memory location. So assigning a value to the formal parameter within the procedure or function changes the contents of the memory location represented by the actual parameter.

Short definition: reference parameter = location is supplied to the called routine

16. Global variable
A global variable is a variable that can be directly accessed by using its name from anywhere in a program/class.

In some languages, a local variable with the same name can hide the global variable.

Short definition: global variable = can be accessed from anywhere in the program

17. Local variable
A local variable is a variable that can only be directly accessed by name within the procedure/function in which it is defined.

A formal parameter is treated as a variable local to the procedure/function/block in which it is declared.

Short definition: local variable = only available within a routine or block of code

18. Array
An array is a structured data type consisting of elements of the same type that are accessed by an index expression.

Short definition: array = structured data type of elements of one type accessed by an index expression

19. Record
A record is a structured data type consisting of elements called fields of varying data types that are accessed by name.

Short definition: record = structured data type of elements called fields of varying types accessed by name

20. Object
An object is an instance of a class.

Short definition: object = instance of a blueprint

21. Class
A class is a general blueprint used to create instances.

Short definition: class = blueprint for making instances

22. Term summary
Here is a summary of the above terms using the quick definitions.

23. End of page

24. Multiple choice questions for this page

25. Acronyms and/or initialisms for this page