Using "the" and "a" when needed

In other words, when is a definite article ("the") required, when is an indefinite one ("a" or "an") needed, and when should there be no article at all? Again, the rules about this usage differ from other languages.

Definite Article Usage

"The" must be used every time the noun is defined by a complement, a genitive, an adjective, or another qualifier which is placed before the qualified noun. In the following examples, the qualifier that dictates this usage is italicized:

However, a number or code, designating a specific instance of an object, will usually be placed after the noun it qualifies, and therefore the definite article will not be used in such cases:

In some cases, the qualifier may be equally acceptable before or after the noun, but the presence or absence of the adjective will still depend on the position of the qualifier. For instance, both these statements are well-formed:

The definite article appears in the first case only (before "directory") because the name of the directory, which qualifies it, appears before it. Both other possibilities ("LTRANS directory" or "the directory LTRANS") would be considered incorrect, or at minimum awkward.

Indefinite Article Usage

"A" or "an" indicates indefiniteness, but only in the sense of "one particular but unspecified instance of this type of thing," not in the sense of "the concept of this class of objects." The latter meaning is indicated in English by the absence of an article, or by the plural, but not by the indefinite article as is usually the case in romance languages. Examples: When you're not referring to a particular instance, when should you use no article, vs. using the plural? The plural can only be applied to things you can count (e.g., customers, skills). In the earlier examples, "software," "programming" and "knowledge" are not countable objects, so you leave them in the singular and omit the article.