answersLogoWhite

0

It would depend on the natural/programming language you are referring to. A lot of PL show some resemblance to English (e.g. most of themhave an IF-THEN-ELSE construct for conditional behaviour). However, they may differ in the way it is presented. E.g., in C (and derivatives) you may write:

if ( a==0 ) { printf("a is 0"); } else{ printf("a is not 0"); }

or ( a==0 ? printf("a is 0") : printf("a is not 0") )

the only difference being that the latter is a function (it returns a value) while the first does not.

In any language you will find constructs like these, but they may resemble a natural language or be purelly symbollic. The similarity with natural languages (namely English) exists merely to aid programmers understand the code that is writen. In the end, it is a matter of personal taste from the guy who invented language X or Y.

User Avatar

Wiki User

13y ago

What else can I help you with?

Continue Learning about Computer Science

What company developed the Watson computer?

The company that developed the Watson computer is IBM. Watson is a computer system with artificial intelligence, that can answer questions, if asked in a natural language.


What language is pseudocode written?

Pseudo code is in itself a language on its own. Pseudo codes are used to describe algorithms in computer science. This language, unlike a programming language is used for human specific understanding and abstract representation of a certain procedural flow of a program. Pseudo code cannot be executed in a computer based environment. Pseudo code eliminated unnecessary programming structures and only focuses on the flow process of the algorithm. It includes programming language specific constructs and natural human language constructs to explain the functioning. This is unlike a computer programming language where strict rules and procedures are laid down, which have to be followed to execute the particular code.


What are the benefits of using Google's Natural Language Processing (NLP) technology for analyzing text data?

Google's Natural Language Processing (NLP) technology offers benefits such as accurate sentiment analysis, entity recognition, and language translation. It can help businesses understand customer feedback, extract key information from text, and improve overall data analysis efficiency.


Why is a high level language less error prone?

High level languages are far more descriptive and, generally, more like a natural language. In my experience, it has been a lot easier to make a typo in a low level language because you are doing things like directly accessing memory locations and using registers for storage.


What does machine code look like and how is it different from high-level programming languages?

Machine code is a low-level programming language that consists of binary code that can be directly executed by a computer's central processing unit (CPU). It is made up of sequences of 0s and 1s that represent specific instructions for the CPU to carry out. Machine code is specific to the hardware architecture of a computer and is difficult for humans to read and write. On the other hand, high-level programming languages are designed to be easier for humans to understand and write. They use more human-readable syntax and are closer to natural language. High-level languages need to be translated into machine code before they can be executed by a computer, usually through the use of a compiler or interpreter. This translation process allows high-level languages to be more portable across different hardware platforms compared to machine code.

Related Questions

What is natural language interface?

binary language is the natural language of computer


What is a natural language interface?

binary language is the natural language of computer


What is the relationship between computer science and linguistics?

Computer science and linguistics are closely related fields that intersect in the study of natural language processing (NLP). NLP involves creating algorithms and models that enable computers to understand, interpret, and generate human language. Linguistics provides the foundational understanding of language structure and grammar, while computer science contributes the tools and techniques needed to implement NLP solutions.


What is the difference between a programming language and natural language?

A programming language is a formalized way to communicate instructions to a computer, while natural language is the way humans communicate with each other. Programming languages are designed for specific tasks and have strict rules, while natural languages are more flexible and used for everyday communication.


What enables the computer to communicate with the user in the user's native language?

Natural Language Processing


What has the author Clive Matthews written?

Clive Matthews has written: 'An introduction to natural language processing through Prolog' -- subject(s): Prolog (Computer program language), Natural language processing (Computer science)


What is natural language and how is it utilized in computer science?

Natural language refers to the way humans communicate using spoken or written words. In computer science, natural language is utilized in various ways, such as in natural language processing (NLP) to enable computers to understand, interpret, and generate human language. NLP is used in applications like virtual assistants, chatbots, and language translation tools.


What has the author C S Mellish written?

C. S. Mellish has written: 'Computer interpretation of natural language descriptions' -- subject(s): Natural language processing (Computer science)


What has the author Russell Suereth written?

Russell Suereth has written: 'Developing natural language interfaces' -- subject(s): Natural language processing (Computer science), Human-computer interaction, User interfaces (Computer systems)


What is Scripting Language and Natural Language?

A scripting language is a type of programming language that is typically interpreted and is used to automate tasks, create scripts, or manipulate data within software applications. Natural language refers to human language as spoken or written, which allows people to communicate with each other effectively. Natural language processing (NLP) is a field of computer science that involves the interaction between computers and human language.


What is the relationship between adaptation and natural section?

Here is a quote: "The relationship between adaptation and natural selection does not go both ways. Whereas greater relative adaptation leads to natural selection, natural selection does not necessarily lead to greater adaptation." I do not recall who said it, but this is what the relationship between both is. Here is a quote: "The relationship between adaptation and natural selection does not go both ways. Whereas greater relative adaptation leads to natural selection, natural selection does not necessarily lead to greater adaptation." I do not recall who said it, but this is what the relationship between both is. Here is a quote: "The relationship between adaptation and natural selection does not go both ways. Whereas greater relative adaptation leads to natural selection, natural selection does not necessarily lead to greater adaptation." I do not recall who said it, but this is what the relationship between both is.


Does c a good computer programming language?

Yes it is. (Also, English is a good natural language, you should learn it.)