ArticleslgStudy

computer science

Doc (computing)

Doc (computing) is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Doc (computing) rather than just read about it. In short: .doc (an abbreviation of "document") is a filename extension used for word processing documents stored on Microsoft's proprietary Microsoft Word Binary File Format; it was the primary format for Microsoft Word until the 2007 version replaced it with Office Open XML .docx files. Microsoft has used the extension since 1983.

Doc (computing) — main illustration
Doc (computing) — illustration

Key takeaways

  • Doc (computing) belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Doc (computing) to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Doc (computing) from memory before moving on to harder problems.

Reference excerpt

.doc (an abbreviation of "document") is a filename extension used for word processing documents stored on Microsoft's proprietary Microsoft Word Binary File Format; it was the primary format for Microsoft Word until the 2007 version replaced it with Office Open XML .docx files. Microsoft has used the extension since 1983.

Overview Binary DOC files often contain more text formatting information (as well as scripts and undo information) than some other document file formats like Rich Text Format and Hypertext Markup Language, but are usually less widely compatible. The DOC files created with Microsoft Word versions differ: Word for Windows 1.0 and 2.0 uses a format that was changed in the following Word 6.0 and 95 ("7.0") releases. DOC was changed once again into an OLE and CFBF-based format used from Word 97 ("8.0") to 2003 ("11.0"). Word for MS-DOS used its own specific DOC format. In order to allow users of Word 6.0 and Word 95 to be able to open and read documents created in the newer (97–2003) format, Microsoft released the downloadable Word 97 Import Converter. In Microsoft Word 2007 and later, the binary file format was replaced as the default format by the Office Open XML (.docx) format, though Microsoft Word can still produce and open DOC files. Microsoft released the Office Compatibility Pack allowing users of Word 2003, 2002, 2000 and 97 to open the new format as well as edit and save them. Modern versions of Word can also open documents in the pre-97 DOC formats, but should be manually enabled in the File Block Settings.

Application support

The DOC format is native to Microsoft Word. Other word processors, such as OpenOffice.org Writer, IBM Lotus Symphony, Apple Pages and AbiWord, can also create and read DOC files, although with some limitations. Command line programs for Unix-like operating systems that can convert files from the DOC format to plain text or other standard formats include the wv library, which itself is used directly by AbiWord.

Specification Because the DOC file format was a closed specification for many years, inconsistent handling of the format persists and may cause some loss of formatting information when handling the same file with multiple word processing programs. Some specifications for Microsoft Office 97 binary file formats were published in 1997 under a restrictive license, but these specifications were removed from online download in 1999. Specifications of later versions of Microsoft Office binary file formats were not publicly available. The DOC format specification was available from Microsoft on request since 2006 under restrictive RAND-Z terms until February 2008. Sun Microsystems and OpenOffice.org reverse engineered the file format. On February 15, 2008, Microsoft released a .DOC format specification under the Microsoft Open Specification Promise. However, this specification does not describe all of the features used by DOC format and reverse engineered work remains necessary. Since 2008 the specification has been updated several times; the latest change was made in May 2022. The format used in earlier, pre-97 ("1.0" 1989 through "7.0" 1995) versions of Word are less known, but both OpenOffice and LibreOffice contain open-source code for reading these formats. The format is probably related to the "Stream" format found in similar Excel versions. Word 95 also seems to have an OLE-wrapped form.

Other .doc file formats Some historical documentations may use the DOC filename extension for plain-text files, indicating documentation for software or hardware. The DOC filename extension was also used during the 1980s by WordPerfect for its proprietary format. DOC is sometimes used by users of Palm OS as shorthand for PalmDoc, an unrelated format (commonly using PDB filename extension) used to encode text files such as ebooks.

See also docx, the file format used by modern versions of Word De facto standard Dominant design

References

External links DOC, XLS, and PPT specifications Microsoft Compound Document Format - OpenOffice.org

Worked examples

Example 1 — a first encounter with Doc (computing)

Start with the simplest possible case. Write down what Doc (computing) claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Doc (computing) before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Doc (computing) ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Doc (computing)

In research
Doc (computing) appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Doc (computing) in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Doc (computing) is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computer file formats, Microsoft Office, so understanding it makes those chapters shorter.
In everyday life
Look for Doc (computing) outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Doc (computing)” →

How to study Doc (computing) in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Doc (computing) means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Doc (computing) out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Doc (computing) in simple terms?

.doc (an abbreviation of "document") is a filename extension used for word processing documents stored on Microsoft's proprietary Microsoft Word Binary File Format; it was the primary format for Microsoft Word until the 2007 version replaced it with Office Open XML .docx files. Microsoft has used t…

Why does Doc (computing) matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Doc (computing)?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Doc (computing).

Tags

  • Computer file formats
  • Microsoft Office

Keep exploring