代码 (dài mǎ) — code

Definition

noun
code
Measure word ·

Examples

  • 代码
    Wǒ xiě le yí duàn dài mǎ.
    I wrote a piece of code.
  • 代码
    Zhè ge chéng xù yǒu hěn duō dài mǎ.
    This program has a lot of code.
  • 代码
    dài mǎ Lǐ yǒu yí gè cuò wù.
    There's an error in the code.

Origin

Compound word
构词法gòucífǎ
偏正piānzhèngModifier + head

The first part narrows down the second: it says what kind of thing the head is.

dàirepresent
code

代 means represent, 码 means code; together they denote a system of symbols representing information.

Characters in this word

Most characters — around four in five — are built this way: one part hints at the meaning, the other at the pronunciation.

Meaning part形符xíngfú
Written in full asrénperson
Sound part声符shēngfú
dài
The sound has drifted apartThe sound part was a clue two thousand years ago — it often still helps, but not always.

In 代, 亻 shows a person, and 弋 gives the sound.

Open 代 →

Most characters — around four in five — are built this way: one part hints at the meaning, the other at the pronunciation.

This origin belongs to the traditional form 碼; 码 is its simplified writing.

Meaning part形符xíngfú
shístone; rock
Sound part声符shēngfú
Same sound today

The traditional form 碼 pairs 石 (stone) with 馬 for its sound; the simplified 码 is a later shorthand.

Open 码 →

Browse more HSK 7-9 words or search the full 43,000-word dictionary.