请输入您要查询的字词:

 

单词 code
释义
code

Mathematics
  • Data and information, which may take many forms, are often encoded for the purpose of storage and/or transmission. Abstractly, this involves turning source words into codewords, which are usually binary strings of 0s and 1s (see binary code). This may be done optimally to minimize the average length of a codeword (as with Huffman coding) or may involve redundancy as with error-correcting and error-detecting codes, used if the chance of transmission errors is not negligible. See block codes, entropy, Hamming distance, information theory, linear codes, Shannon’s theorem.


Statistics
  • A number entered into a computer to signify each answer to a questionnaire. The list of codes for each question is stored in the codebook. The process of translating the questionnaire responses into codes is called coding the data.


Computer
  • 1. A rule for transforming a message from one symbolic form (the source alphabet) into another (the target alphabet), usually without loss of information. The process of transformation is called encoding and its converse is called decoding. These processes are carried out by an encoder and a decoder respectively; the encoder and decoder may be implemented in hardware or software, the encoding and decoding processes being algorithmic in nature. The term ‘an encoding’ is sometimes used synonymously with ‘a code’.

    From a more formal viewpoint, a code is a one-to-one homomorphism h from the set of Σ‎-words, Σ‎1*, to the set Σ‎2*, where Σ‎1 and Σ‎2 are alphabets (see word, formal language). Since h is one to one, h(w) may be ‘decoded’ to obtain w for any w in Σ‎1*.

    See also channel coding theorem, cryptography, error-correcting code, error-detecting code, fixed-length code, source coding theorem, variable-length code.

    2. Any piece of program text written in a programming language (as opposed to a data structure or algorithm illustrated by a diagram or flowchart, or a program specified or sketched out in natural language prose). The term sometimes implies executable code as opposed to declarations or tables, but this is by no means always the case. See also coding.

    3. The particular language in which some code is written, e.g. machine code, source code.


Electronics and Electrical Engineering
  • See digital codes.


随便看

 

科学参考收录了60776条科技类词条,基本涵盖了常见科技类参考文献及英语词汇的翻译,是科学学习和研究的有利工具。

 

Copyright © 2000-2023 Sciref.net All Rights Reserved
京ICP备2021023879号 更新时间:2024/12/26 0:22:11