code

/kəʊd/ (bre, ipa) · /kəʊd/ (ame, ipa) · /ˈkōd/ (ame, mw) · /koʊd/ (ame, ipa)

code — 名詞

  • codesingular
  • codesplural

1. any system of signs, characters, or digits that lets people pass hidden meaning

1.名詞B2
釋義

密碼;代碼

用於保密或簡化資訊的符號系統

any system of signs, characters, or digits that lets people pass hidden meaning between one another, or present data in a condensed way

例句

The spy sent all messages in code so that enemy agents could not read them.

那名間諜用密碼傳送所有訊息,以免敵方特務讀取內容。

in code — using a secret communication system

Each item in the warehouse has a bar code that a scanner can read instantly.

倉庫裡的每件商品都有條碼,掃描器可以立刻讀取。

bar code — product identification system

同義詞
  • cipher

    specifically a method of transforming a message to hide its meaning; more technical than code

  • symbol system

    broader; refers to any set of symbols that convey meaning, not necessarily secret

反義詞
  • plain text

    a message in its original, readable form before being put into code

文法句型

code + for + noun

in code

用法筆記

Countable for individual systems (a secret code, a bar code); uncountable when referring to the concept of using codes (information sent in code).

常見錯誤

I forgot the code to open the safe' (when you mean PIN or combination).
I forgot the code that opens the safe.
💡'code' works for a sequence of numbers used to unlock something, but a 'PIN' or 'combination' is more specific for personal security devices.

2. a collection of written regulations that govern the behaviour of members inside

2.名詞C1
釋義

法規;準則

特定專業或組織的書面行為規則

a collection of written regulations that govern the behaviour of members inside a particular profession, organization, or country

例句

All doctors must follow the medical code of conduct when treating patients.

所有醫師在治療病人時都必須遵守醫療行為守則。

code of conduct — rules for professional behaviour

The company introduced a new dress code that requires formal wear from Monday to Thursday.

公司推出了新的服裝規定,週一到週四必須穿著正式服裝。

dress code — rules about what to wear

同義詞
  • regulations

    more formal and specific; regulations are often enforceable by law

  • guidelines

    less strict than a code; guidelines are suggestions rather than binding rules

文法句型

code of + noun

code for + noun

用法筆記

Commonly followed by 'of' (code of conduct, code of practice) or used as a compound noun (dress code, building code, penal code). When referring to law, often used with 'the' + specific jurisdiction (the German civil code).

常見錯誤

The school has a strict dressing code.
The school has a strict dress code.
💡The noun is 'dress code', not 'dressing code'.

3. a set of personal or social beliefs about what is right and wrong, which guides

3.名詞B2
釋義

道德準則

個人或社會對是非的信念

a set of personal or social beliefs about what is right and wrong, which guides how a person or a group behaves

例句

According to their moral code, telling a lie is never acceptable even when it helps.

根據他們的道德準則,說謊永遠不可接受,即使說謊對自己有好處。

moral code — personal beliefs about right and wrong

Honour is a central value in the samurai code of behaviour.

榮譽是武士行為規範中的核心價值。

同義詞
  • ethics

    more formal and often refers to a philosophical system; 'code' is more personal and practical

  • principles

    broader; principles are fundamental beliefs that may form a code

文法句型

code of + noun

用法筆記

Unlike sense 2 (RULES), this sense refers to unwritten, often personal principles rather than official written regulations. Frequently appears with personal possessives (his code, their code) or in phrases like 'code of honour' and 'moral code'.

4. a set of instructions written in a programming language that tells a computer wh

4.名詞B2
釋義

程式碼

電腦程式語言的指令集合

a set of instructions written in a programming language that tells a computer what operations to perform

例句

Theo spent the whole weekend writing code for his new mobile game.

Theo 花了整個週末為他的新手遊寫程式碼。

writing code — creating computer programs

A small mistake in the code caused the website to show the wrong prices.

程式碼中的一個小錯誤導致網站顯示錯誤的價格。

同義詞

文法句型

write code

code + verb

用法筆記

Usually uncountable (the code, some code, lines of code) but countable when referring to a specific program or section (this piece of code, the code for the login page).

常見錯誤

I need to learn how to coding.
I need to learn how to code.
💡'code' as a verb does not take '-ing' after 'how to'.

5. the complete set of biological instructions stored in DNA that gives a living th

5.名詞B2
釋義

遺傳密碼

DNA中決定生物特徵的資訊

the complete set of biological instructions stored in DNA that gives a living thing its characteristics and controls how its body works

例句

Scientists have successfully mapped the entire genetic code of the wheat plant.

科學家已成功繪製出小麥完整的基因密碼圖譜。

genetic code — the biological information in DNA

A tiny change in the genetic code can sometimes cause a serious medical condition.

遺傳密碼中一個微小的變化,有時會導致嚴重的疾病。

同義詞
  • genome

    refers to the entire set of genetic material, while 'genetic code' refers specifically to the rules by which it works

  • DNA sequence

    the specific order of chemical units in DNA

文法句型

genetic code

用法筆記

Almost always appears in the phrase 'genetic code' in biology. The term 'code' alone is rarely used in this sense without 'genetic' modifying it.

6. a particular variety of language used by a specific group of people, or a system

6.名詞C1
釋義

語碼;方言

特定群體使用的語言或溝通方式

a particular variety of language used by a specific group of people, or a system of words that only insiders understand

例句

The children created a secret code using made-up words that their parents could not follow.

孩子們用自創詞語發明了一套秘密暗語,他們的父母聽不懂。

Linguists are working to document the spoken code used by older members of the fishing community.

語言學家正在記錄這個漁村年長居民所使用的口頭語碼。

spoken code — a language variety used by a particular group

同義詞
  • dialect

    a regional variety of language with distinct grammar and vocabulary

  • argot

    the special vocabulary used by a particular group, often to exclude outsiders

用法筆記

This sense overlaps with the COMMUNICATION SYSTEM sense (sense 1) but focuses specifically on language and dialect varieties rather than secret or technical encoding. It is less common in everyday speech and appears mostly in linguistics or social commentary.

code — 動詞