Definite article in definitions

Members help members on grammar, vocab, pronunciation...

Moderator: EC

Post Reply
Parav
Member
Posts: 4
Joined: Sun May 03, 2020 5:44 am
Status: Other

Definite article in definitions

Post by Parav » Tue May 05, 2020 7:23 am

Hello,
which is the correct sentence?

A. The computer instructions written in a programming language are called code.
B. The computer instructions written in a programming language are called the code.
C. The computer instructions written in a programming language are called a code.
Thank you, Parav

User avatar
Joe
Admin/Teacher
Admin/Teacher
Posts: 1542
Joined: Thu Dec 18, 2003 6:56 am
Status: Teacher of English

Re: Definite article in definitions

Post by Joe » Tue May 05, 2020 1:48 pm

Parav wrote:
Tue May 05, 2020 7:23 am
Hello,
which is the correct sentence?

A. The computer instructions written in a programming language are called code.
B. The computer instructions written in a programming language are called the code.
C. The computer instructions written in a programming language are called a code.
Thank you, Parav
A. The computer instructions written in a programming language are called "code". :ok:
"We are not wholly bad or good, who live our lives under Milk Wood :-| " — Dylan Thomas, Under Milk Wood

eBooks: English Prepositions List | Essential Business Words | Learn English in Seven

Parav
Member
Posts: 4
Joined: Sun May 03, 2020 5:44 am
Status: Other

Re: Definite article in definitions

Post by Parav » Wed May 06, 2020 4:32 am

Hello,

1.
A. A series of computer instructions relating to each other is called computer program.
B. A series of computer instructions relating to each other is called a computer program.

2.
A. The computer instructions written in a programming language are called code.
B. The computer instructions written in a programming language are called the code.
C. The computer instructions written in a programming language are called a code.

For 1 B is correct and for 2 A is correct.

So sometimes an article is required and sometimes not. Perhaps that is because "program" is countable and "code" isn't?

I would appreciate if anyone could point me to a rule or an explanation I can study to I can learn how to decide by myself which of sentences like these are correct.

The rectangles an Excel Worksheet consists of are called cells.
The rectangles an Excel Worksheet consists of are called its cells.

The three values representing colors are called color code.  
The three values representing colors are called a color code.  
The three values representing colors are called the color code.  

Thank you, Parav

User avatar
Joe
Admin/Teacher
Admin/Teacher
Posts: 1542
Joined: Thu Dec 18, 2003 6:56 am
Status: Teacher of English

Re: Definite article in definitions

Post by Joe » Wed May 06, 2020 7:17 am

Parav wrote:
Wed May 06, 2020 4:32 am
1.
A. A series of computer instructions relating to each other is called computer program.
B. A series of computer instructions relating to each other is called a computer program.

2.
A. The computer instructions written in a programming language are called code.
B. The computer instructions written in a programming language are called the code.
C. The computer instructions written in a programming language are called a code.

For 1 B is correct and for 2 A is correct.

So sometimes an article is required and sometimes not. Perhaps that is because "program" is countable and "code" isn't?
Correct
"We are not wholly bad or good, who live our lives under Milk Wood :-| " — Dylan Thomas, Under Milk Wood

eBooks: English Prepositions List | Essential Business Words | Learn English in Seven

User avatar
Joe
Admin/Teacher
Admin/Teacher
Posts: 1542
Joined: Thu Dec 18, 2003 6:56 am
Status: Teacher of English

Re: Definite article in definitions

Post by Joe » Wed May 06, 2020 7:21 am

Parav wrote:
Wed May 06, 2020 4:32 am
1. The rectangles an Excel Worksheet consists of are called cells. :ok:
2. The rectangles an Excel Worksheet consists of are called its cells. :ok:
Both are possible. 2. simply adds more and probably superfluous information.
"We are not wholly bad or good, who live our lives under Milk Wood :-| " — Dylan Thomas, Under Milk Wood

eBooks: English Prepositions List | Essential Business Words | Learn English in Seven

User avatar
Joe
Admin/Teacher
Admin/Teacher
Posts: 1542
Joined: Thu Dec 18, 2003 6:56 am
Status: Teacher of English

Re: Definite article in definitions

Post by Joe » Wed May 06, 2020 7:27 am

Parav wrote:
Wed May 06, 2020 4:32 am
1 The three values representing colors are called color code.  
2 The three values representing colors are called a color code.  
3 The three values representing colors are called the color code.  
This is where it gets tricky because the word code can be both uncountable (as earlier) and countable.

All software uses code. uncountable
The Mafia have a code of honour. countable

And because I don't understand the exact context of your examples, I'm not sure which it should be. My hunch is it should be 1 or 3.
"We are not wholly bad or good, who live our lives under Milk Wood :-| " — Dylan Thomas, Under Milk Wood

eBooks: English Prepositions List | Essential Business Words | Learn English in Seven

Parav
Member
Posts: 4
Joined: Sun May 03, 2020 5:44 am
Status: Other

Re: Definite article in definitions

Post by Parav » Wed May 06, 2020 7:32 am

Thank you for your help Joe.
Parav

Post Reply