code

/kəʊd/ n.
标准词条 CET-4CET-6IELTS
一句话记住

密码;代码

释义与例句

n. 密码;代码
a system of words, letters, numbers, or symbols used to represent information secretly or for a computer
  1. The message was written in a secret code.
    这条信息是用一种秘密密码写成的。
  2. She learned to write computer code at school.
    她在学校学习了编写计算机代码。
展开其余 1 条例句
  1. You need a four-digit code to unlock the door.
    你需要一个四位数密码才能打开这扇门。

词源与构词

经古法语进入英语,源自拉丁语 codex(木板书、法典),后指规则汇编及符号系统。

记忆钩子 code 是用符号表示信息的系统:保密时是密码,驱动计算机时是代码,需要解锁设备时是数字码。

词族与关联词

词族(同一词根派生出的不同词性或形式)
  • encode 编码;把……译成密码
    加 en-,表示把信息转换成代码形式。
  • decode 解码;破译
    加 de-,表示把代码还原为可理解的信息。
  • coder 程序员;编码员
    code 加 -er,指编写代码或进行编码的人。
同义词
  • cipher 密码;密码系统
    cipher 特指通过替换或转换字符来保密的信息系统;code 范围更广,可指密码、计算机代码、编号或规则体系。
    The spies communicated using a complex cipher. 间谍们使用一种复杂的密码进行通信。
常见搭配
  • write code 编写代码
    The team writes code to control the robot. 这个团队编写代码来控制机器人。
  • break a code 破译密码
    Mathematicians helped break the enemy's code. 数学家们协助破译了敌方密码。
  • source code 源代码
    The company released the source code for developers to inspect. 该公司公开了源代码,供开发者检查。