Code vs Program

When to use each in English, with meaning, register, and examples.

Code

Top 1,000 (very common)A2noun

Program

Top 1,000 (very common)A2noun
 CodeProgram
Pronunciation🇬🇧 /["/kəʊd/"]/🇺🇸 /["/kəʊd/"]/🇬🇧 /["/ˈprəʊɡræm/"]/🇺🇸 /["/ˈprəʊɡræm/"]/
MeaningA system of words, letters, or symbols used to represent information.A set of instructions that tells a computer what to do.
ExampleHe learned how to write a code for his website.I have to write a program for my computer science class.
RegisterNeutralNeutral
How commonTop 1,000 (very common)Top 1,000 (very common)
CEFR levelA2A2
Part of speechnounnoun
Collocationsarea, dialling, post, generate, number, generator, area, dialling, post, generate, number, generator, binary, executable, HTML, execute, write, modify, strict, unwritten, ethical, have, adopt, draw up, a code of behaviour/​behavior, a code of conduct, a code of ethics, strict, unwritten, ethical, have, adopt, draw up, a code of behaviour/​behavior, a code of conduct, a code of ethicscomputer, software, analysis, run, use, create, crash, allow something, contain something, file, in a/​the program, program for
Antonymsdecode, explainmalfunction, failure
Common mistakesConfused with 'decode' which means to change code back to the original information., Using 'code' improperly as a verb instead of as a noun., Mixing up 'code' in a programming sense with its use in non-technical contexts.Confused with 'programme' (British spelling), Using 'program' instead of 'programming' in verb forms, Mixing up 'program' with 'application' when referring to software
Usage notesUse 'code' when discussing programming or secret messages. It’s neutral language suitable for both informal discussions among friends or formal settings in tech. Avoid using it in contexts unrelated to technology or communication.Used in both formal and informal contexts, 'program' can refer to software or a schedule of events. In informal settings, it may imply coding or creating software.

Frequently asked questions: Code vs Program

What's the difference between Code and Program?

Code: A system of words, letters, or symbols used to represent information. Program: A set of instructions that tells a computer what to do.

Are Code and Program the same CEFR level?

Code: A2, Program: A2 on the CEFR scale.

Can I use Code and Program interchangeably?

Not always. Code and Program are related and overlap in some contexts, but they differ in register, how common they are, and usage, so swapping one for another can change the meaning or tone. Check the differences above before substituting.

Related comparisons