NULL (COMPUTER)
(Redirected from Null (Computer))
'Null' has several meanings in computer programming.
;Null pointer or value
★ Null is a special pointer value (or other kind of object reference) used to signify that a pointer intentionally does not point to (or refer to) an object. Such a pointer is called a null pointer. Many implementations use a value of 0 (all bits zero) to represent the null pointer, as this is at the bottom of the address space of most CPUs (e.g., the INMOS Transputer has a signed address space and uses the most negative value). Many operating systems generate an exception when an attempt is made to access this memory address. Some languages use other nomenclature for such a pointer, e.g., Pascal uses
★ In many disciplines, the concept of null allows a three-valued logic, with null indicating "unknown value". The SQL database query language uses Null in this way, as do Visual Basic and its derivatives. In this model, an expression that depends on the value of a Null operand will evaluate to Null (VB) or "unknown" (SQL). So, for any A, the expressions "A = Null" and "A <> Null" are neither true nor false. However, the boolean operation "A and False" produces false, and similarly "A or True" is true, even when A is Null, because these expressions do not depend on the value of A. (Some SQL implementations may consider A = Null to be "true" if A is Null; see Null (SQL)).
;Null device
★ In UNIX systems, (also referred to as the black hole or bit bucket) is a special file that delivers no input when read from and discards all output when written to. The NUL device has similar functionality in DOS and Windows.
;Null character
★ In the C0 control code set defined in the ISO 646, ASCII, and Unicode character set standards, code value 0 is the null character (NUL). Most programming languages provide syntax for representing this character as a literal value (e.g., Pascal uses chr(0) or #0, C and its many derivatives use ' ').
★ In some programming languages, the null character denotes the end of a character string. Such strings that are encoded with the ASCII character set are sometimes referred to as ''ASCIIZ'' or ''ASCIZ'' strings — the "Z" indicating that the string ends with a "Zero", or null character.
;Null variant
★ Some programming languages (such as LISP; Ruby; and Pascal, Delphi, and other languages based on Pascal) use
;Null script
★ Known throughout the software pirating community, a command script which has all callback and license-checking code removed.
;Null Account
★ On Certain forums and other internet sites user accounts may suddenly show up as "null" and reset all the users settings. Generally it will destroy the users ability to add new content to the site and is usually fixed within a short period of time. A person who's account goes to "null" is commonly said to have been attacked by the "null monster" a fictional character used to describe the "null" phenomenon.
'Null' has several meanings in computer programming.
;Null pointer or value
★ Null is a special pointer value (or other kind of object reference) used to signify that a pointer intentionally does not point to (or refer to) an object. Such a pointer is called a null pointer. Many implementations use a value of 0 (all bits zero) to represent the null pointer, as this is at the bottom of the address space of most CPUs (e.g., the INMOS Transputer has a signed address space and uses the most negative value). Many operating systems generate an exception when an attempt is made to access this memory address. Some languages use other nomenclature for such a pointer, e.g., Pascal uses
nil.★ In many disciplines, the concept of null allows a three-valued logic, with null indicating "unknown value". The SQL database query language uses Null in this way, as do Visual Basic and its derivatives. In this model, an expression that depends on the value of a Null operand will evaluate to Null (VB) or "unknown" (SQL). So, for any A, the expressions "A = Null" and "A <> Null" are neither true nor false. However, the boolean operation "A and False" produces false, and similarly "A or True" is true, even when A is Null, because these expressions do not depend on the value of A. (Some SQL implementations may consider A = Null to be "true" if A is Null; see Null (SQL)).
;Null device
★ In UNIX systems, (also referred to as the black hole or bit bucket) is a special file that delivers no input when read from and discards all output when written to. The NUL device has similar functionality in DOS and Windows.
;Null character
★ In the C0 control code set defined in the ISO 646, ASCII, and Unicode character set standards, code value 0 is the null character (NUL). Most programming languages provide syntax for representing this character as a literal value (e.g., Pascal uses chr(0) or #0, C and its many derivatives use ' ').
★ In some programming languages, the null character denotes the end of a character string. Such strings that are encoded with the ASCII character set are sometimes referred to as ''ASCIIZ'' or ''ASCIZ'' strings — the "Z" indicating that the string ends with a "Zero", or null character.
;Null variant
★ Some programming languages (such as LISP; Ruby; and Pascal, Delphi, and other languages based on Pascal) use
nil for the null variant, which can sometimes lead to confusing errors if null is accidentally used instead of nil.;Null script
★ Known throughout the software pirating community, a command script which has all callback and license-checking code removed.
;Null Account
★ On Certain forums and other internet sites user accounts may suddenly show up as "null" and reset all the users settings. Generally it will destroy the users ability to add new content to the site and is usually fixed within a short period of time. A person who's account goes to "null" is commonly said to have been attacked by the "null monster" a fictional character used to describe the "null" phenomenon.
This article provided by Wikipedia. To edit the contents of this article, click here for original source.
psst.. try this: add to faves

العربية
中国
Français
Deutsch
Ελληνική
हिन्दी
Italiano
日本語
Português
Русский
Español