code
/koʊd/A system of rules, symbols, or computer instructions used to represent or communicate information, often for secrecy, organization, or programming.
Tiếng Việt
mã / mã lệnh / quy tắc
CÔU-đờ
Phát âm vần 'ôu' kéo dài, kết thúc bằng âm 'd' nhẹ ở cuối lưỡi.
Một hệ thống các quy tắc, biểu tượng hoặc hướng dẫn máy tính được sử dụng để đại diện hoặc truyền đạt thông tin, thường nhằm mục đích bảo mật, tổ chức hoặc lập trình.
Meanings
12 meanings
1A system of words, letters, numbers or symbols that represent a message or record information secretly or in a shorter form.nouncommunication
Một hệ thống các từ, chữ cái, con số hoặc ký hiệu đại diện cho một thông điệp hoặc ghi lại thông tin một cách bí mật hoặc dưới dạng rút gọn.
“The message was written in code so that no one else could read it.”
“Thông điệp đã được viết bằng mật mã để không ai khác có thể đọc được.”
- It took them months to break the enemy's code.
- The messages were sent in a highly sophisticated cryptographic code.
- You need to enter a four-digit access code.
Trong ngữ cảnh mật mã học, người Việt thường dùng từ 'mật mã' thay vì chỉ dùng 'mã'.
2The letters, numbers, words, and symbols used for writing computer programs.nountechnology
Các chữ cái, con số, từ ngữ và ký hiệu được sử dụng để viết các chương trình máy tính.
“Bill wrote the computer code for the new software project.”
“Bill đã viết mã máy tính cho dự án phần mềm mới.”
- The website's source code is available for anyone to see.
- She spent all night debugging thousands of lines of code.
- Java is a popular language for writing computer code.
Khi nói về lập trình, 'code' thường được dùng như danh từ không đếm được. Dân IT Việt Nam thường gọi là 'viết code' hoặc 'gõ code'.
3A set of moral principles or rules of behaviour that are generally accepted by society or a social group.nounbusiness
Một bộ các nguyên tắc đạo đức hoặc quy tắc ứng xử được xã hội hoặc một nhóm xã hội chấp nhận rộng rãi.
“All members of the association must follow a strict professional code of conduct.”
“Tất cả các thành viên của hiệp hội phải tuân thủ quy tắc ứng xử nghề nghiệp nghiêm ngặt.”
- Knights in the Middle Ages lived by a strong code of honour.
- The school enforces a rigid dress code for its students.
- There is an unwritten code that says you don't talk about colleagues behind their backs.
Cụm từ 'Code of conduct' thường được dịch là 'Quy tắc ứng xử' trong các văn bản doanh nghiệp tại Việt Nam.
4A system of laws or written rules that state how people in an institution or a country should behave.nounpolitics
Một hệ thống các luật lệ hoặc quy tắc bằng văn bản quy định cách mọi người trong một tổ chức hoặc một quốc gia nên hành xử.
“The state's criminal code was revised to include new cybercrime laws.”
“Bộ luật hình sự của bang đã được sửa đổi để bao gồm các luật mới về tội phạm mạng.”
- The company has drawn up a new disciplinary code.
- The building code requires all new houses to have fire alarms.
- The Highway Code provides rules for all road users.
Trong lĩnh vực luật, 'code' được hiểu là 'Bộ luật' (tập hợp nhiều luật cụ thể).
5The numbers used for a particular area or country in front of an individual phone number.nountelephone
Các con số được sử dụng cho một khu vực hoặc quốc gia cụ thể đứng trước số điện thoại cá nhân.
“Don't forget to include the area code when you dial the number.”
“Đừng quên bao gồm mã vùng khi bạn quay số.”
- What is the international dialling code for France?
- There are three different codes for the London area.
- I didn't recognize the area code on the caller ID.
Cần phân biệt 'area code' (mã vùng - thường cho điện thoại bàn) và 'country code' (mã quốc gia, ví dụ +84 của Việt Nam).
6An emergency situation in a hospital requiring trained staff to respond immediately.nounhealth
Một tình huống khẩn cấp trong bệnh viện yêu cầu nhân viên y tế phản ứng ngay lập tức.
“A code blue was announced over the hospital intercom.”
“Một 'mã xanh' (cấp cứu ngừng tuần hoàn) đã được thông báo qua loa nội bộ của bệnh viện.”
- The medical team responded instantly when the code was called.
- Staff are trained to handle various types of emergency codes.
Đây là thuật ngữ chuyên môn y tế; mỗi màu sắc tương ứng với một loại cấp cứu khác nhau.
7A particular variety of a language or a way of speaking used by a specific group.nounacademic
Một biến thể cụ thể của ngôn ngữ hoặc cách nói chuyện được sử dụng bởi một nhóm đặc thù.
“In sociolinguistics, code-switching refers to moving between different linguistic codes.”
“Trong ngôn ngữ học xã hội, chuyển mã đề cập đến việc chuyển đổi giữa các mã ngôn ngữ khác nhau.”
Trong học thuật, 'code' có thể dịch là 'mã ngôn ngữ' hoặc 'phong cách ngôn ngữ'.
8To write a computer program by putting instructions into a system of numbers, words, and symbols.verbtechnology
Viết chương trình máy tính bằng cách đưa các hướng dẫn vào một hệ thống các con số, từ ngữ và ký hiệu.
“She has been coding in Python for over five years.”
“Cô ấy đã lập trình bằng ngôn ngữ Python hơn năm năm nay.”
- The entire application was coded from scratch by a small team.
- He spends most of his workday coding new features.
- Learning to code is becoming an essential skill in many industries.
Người Việt thường dùng từ 'lập trình' hoặc 'viết code' để dịch động từ này.
9To write or print identifiers on objects so they can be identified or grouped.verboffice work
Viết hoặc in các mã định danh lên vật thể để chúng có thể được nhận diện hoặc phân loại.
“Each questionnaire is coded so that the respondents remain anonymous.”
“Mỗi bản khảo sát đều được mã hóa để người trả lời vẫn được ẩn danh.”
- The data was coded and then entered into the computer.
- Files are colour-coded for easy identification.
Trong ngữ cảnh này, 'code' thường dịch là 'đánh mã' hoặc 'gán mã'.
10To convert a message into a secret code.verbcommunication
Chuyển đổi một thông điệp thành một mã bí mật.
“All diplomatic transmissions are automatically coded before being sent.”
“Tất cả các đường truyền ngoại giao đều được mã hóa tự động trước khi gửi.”
- The secret instructions were coded and hidden in the letter.
Đồng nghĩa với 'encrypt', dịch sang tiếng Việt là 'mã hóa'.
11To specify the genetic sequence that produces a particular protein.verbhealth
Chỉ định trình tự di truyền tạo ra một loại protein cụ thể.
“This specific gene codes for a protein that helps blood to clot.”
“Gen cụ thể này mã hóa cho một loại protein giúp đông máu.”
- Mutations in the DNA that codes for the enzyme can cause disease.
Thuật ngữ chuyên ngành sinh học: 'mã hóa cho'.
12To suffer a sudden medical emergency, such as cardiac arrest, requiring an emergency code to be called.verbhealth
Gặp phải một tình trạng y tế khẩn cấp đột ngột, chẳng hạn như ngừng tim, cần phải gọi mã cấp cứu.
“The patient in room 402 is coding; we need the crash cart now!”
“Bệnh nhân ở phòng 402 đang nguy kịch (ngừng tim/hấp hối); chúng ta cần xe đẩy cấp cứu ngay!”
Đây là tiếng lóng trong bệnh viện, ám chỉ bệnh nhân đang trong tình trạng đe dọa tính mạng.
Word bank
Near synonyms
Common phrases
- area code
- dialling code
- dress code
- ethical code
- source code
- binary code
- bar code
- break a code
- crack a code
- hard-code
- color-code
- automatically code
- manually code
Grammar & forms
Grammar
- countable
- uncountable
- countable_uncountable
- transitive
- intransitive
Inflections
- plural
- codes
- third_person_singular
- codes
- past_simple
- coded
- past_participle
- coded
- present_participle
- coding
Word family
- codedadjective
- codelyadverb
- code, coder, coding, decoder, encodernoun
- code, encode, decodeverb
Usage patterns
- in code
- code of conduct
- area code
- break a code
- code something
- code for something
- code in (a language)
Avoid mistakes
Common mistakes
He wrote many codes today.
He wrote a lot of code today.
In the context of computer programming, 'code' is usually uncountable.
What is the area code from London?
What is the area code for London?
Use the preposition 'for' when referring to the code belonging to a location.
I forgot my access code of the building.
I forgot my access code for the building.
Use 'for' to indicate the purpose of an access code.
The code says that we must wear a tie.
The dress code requires us to wear a tie.
When referring to clothing rules, 'dress code' is the specific compound noun used.
She coded the message into a plain text.
She decoded the message into plain text.
To 'code' is to make it secret; to 'decode' is to make it readable.
Don't confuse with
- cipher
a way of changing a message to keep it secret by replacing each letter with another.
“The Caesar cipher shifts the alphabet by three letters.”
A 'code' usually replaces whole words or phrases, while a 'cipher' works on individual letters.
- program
a full set of instructions that a computer uses to perform a specific task.
“I need to install a new antivirus program.”
'Code' is the language used to write the 'program'.
Academic collocations
Words that pair with "code" in formal and academic writing
- verb
- decipherimplementadhere toviolate
- adjective
- geneticethicallegalunderlying
- noun
- code of ethicspenal codesource code
- preposition
- inwithinunder
In context
Real-world examples
- daily life
Can you give me the area code for Ho Chi Minh City?
Bạn có thể cho tôi biết mã vùng của Thành phố Hồ Chí Minh không?
Việt Nam đã thay đổi mã vùng điện thoại cố định vào năm 2017, việc hỏi mã vùng vẫn phổ biến khi gọi liên tỉnh.
- business
Our company has a strict dress code that requires formal attire.
Công ty chúng tôi có quy định về trang phục nghiêm ngặt yêu cầu phải mặc đồ công sở.
Ở Việt Nam, 'dress code' thường được dùng nguyên văn trong các thiệp mời sự kiện hoặc quy định công ty hiện đại.
- academic
Students are learning how to code in Python at the summer camp.
Học sinh đang học cách lập trình bằng ngôn ngữ Python tại trại hè.
Phong trào học lập trình (coding) đang phát triển mạnh mẽ tại Việt Nam như một kỹ năng thiết yếu cho tương lai.
- legal
The Labor Code of Vietnam regulates the relationship between employers and employees.
Bộ luật Lao động Việt Nam điều chỉnh mối quan hệ giữa người sử dụng lao động và người lao động.
Trong ngữ cảnh pháp luật Việt Nam, 'code' tương ứng với 'Bộ luật' (như Bộ luật Dân sự, Bộ luật Hình sự).
Notes for Vietnamese speakers
- Trong tiếng Việt hiện đại, từ 'code' (đọc là 'cốt') được mượn trực tiếp rất phổ biến trong giới công nghệ thông tin thay vì dùng từ 'mã lệnh'.
- Khái niệm 'dress code' thường xuất hiện trong các đám cưới hiện đại hoặc tiệc tất niên (Year End Party) tại Việt Nam để chỉ định màu sắc trang phục.
- Từ 'mã' trong tiếng Việt cũng có nguồn gốc Hán-Việt, tương ứng mật thiết với nghĩa 'hệ thống ký hiệu' của từ 'code'.
Etymology
Middle English: from Old French code, from Latin codex, codic- ‘block of wood’ (later ‘book’). The term originally referred to a systematic collection of laws (like the Codex Justinianus), and later evolved to mean any system of signals or symbols used for communication. Citing: Oxford Dictionary of English Etymology.
Exam levels
IELTS
6.5
CEFR
B2
TOEIC
705-800
More in Vietnamese
- Từ điển Lạc Việt (Laban Dictionary)
Tra cứu nghĩa chi tiết và các cụm từ liên quan đến 'code' trong tiếng Việt.
- TFlat Dictionary (Soha)
Từ điển cung cấp nhiều ví dụ và ngữ cảnh chuyên ngành kỹ thuật.