1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
ElenaW [278]
2 years ago
9

How each programming language differs in terms of constructs, techniques, use and requirements?

Computers and Technology
1 answer:
Anuta_ua [19.1K]2 years ago
6 0

Programming languages are (designed to be) easily used by machines, but not people.

Natural languages (like English) are easily used by humans, but not machines.

Programming languages are unambiguous, while natural languages are often multiply ambiguous and require interpretation in context to be fully understood (also why it’s so hard to get machines to understand them). Natural languages are also creative and allow poetry, metaphor and other interpretations. Programming does allow some variation in style, but the meaning is not flexible.

Lojban (Wikipedia) is an artificial language designed to try to bridge the gap between these two types of languages. It is specifically unambiguous yet something that a human can pronounce and even speak meaningfully. It can be considered a somewhat successful experiment yet limited in functionality in some ways in both domains (and not a real substitute for a normal programming language, but perhaps useful as an interface).

Natural languages consist of sentences, usually declarative sentences expressing information in a sequence. Programming languages typically are not declarative but procedural, giving instructions to the machine to do something (like commands in natural languages). Rarely, programming languages are declarative, such as Prolog, where statements are given to the computer, then the evaluation consists of finding possible solutions that match those statements (generate a list of words based on possible combinations of letters as defined just by letter-combining rules, for example).

The vocabulary of natural languages is filled with conceptual terms. The vocabulary of programming languages is generally only ‘grammatical’/functional ‘words’ like basic comments, plus various custom-named things like variables and functions. There are no words like you’d look up in a dictionary to express something like ‘love’ or ‘happy’ or ‘sing’.

The grammatical structures vary in more ways than are easy to list here. But some of the most obvious factors are that words don’t have separable parts in programming languages (like English cat-s to form a plural) [=no morphology], and that via brackets, line breaks or other markers, embedding tends to be overtly and clearly marked on both sides for the parser in programming languages, whereas spoken languages usually only have one word (like “that”) linking embedded sentences, and sometimes no word at all. This is another reason that parsing human languages is so hard on a computer.

You could also look at Hockett’s design features and see which apply to programming languages: What is the difference between human and animal language?

In a very general sense, programming languages aren’t used for bidirectional communication and may not properly be considered “languages” in the same sense as natural languages. Just looking at Hockett’s features, they’re completely distinct in being written only, do not involve interchangeability between the speaker and hearer, do not have ‘duality of patterning’ meaning multiple layers of structure as sounds vs. phrases (phonology vs. syntax), and are not transmitted culturally (well, maybe). It’s just very hard to even try to make the comparison.

Most fundamentally, it is worth asking if programming languages even have meaning, or if they are just instructions. This is similar to the Chinese room thought experiment— given a book of instructions for how to translate Chinese, but without actually understanding it, would a human (or computer) with that book be considered to “know” Chinese? Probably not. A computer doesn’t “know” anything, it just does what the instructions tell it to. Therefore, programming languages have no semantics/meaning. They just are instructions, which translate into electronic signals, nothing more.

You might be interested in
Nathaniel wanted to buy a microphone. He went to an electronics store and was told that there are actually two types of micropho
tensa zangetsu [6.8K]

Answer:

Condenser Microphone

Explanation:

google

<u><em>Feel free to make me brainlyest!</em></u>

8 0
3 years ago
Read 2 more answers
A class is a _____, which encapsulates _____ and _____. (Points : 2) programming language construct; attributes; behavior
dimaraw [331]

Answer:

A class is a programming language template, which encapsulates methodes and behavior.

Explanation:

In OOP (object-oriented programming), a class is programming language template to create objects (instance of a class),  which encapsulates methodes and implementations of behavior (action which an object is able to perform)

8 0
3 years ago
According to the video, what qualities do Human Services workers need? Check all that apply.
Helga [31]

Answer:

patience

understanding

ability to speak in public

willingness to take emotional risks

Explanation:

You are a human service worker, and hence you certainly need to provide the sufferers with the basic needs only. And for that, you do not need confidence or creativity. However, conditions can be challenging, and hence you certainly need the patience, ability to take emotional risks and understanding. Also, you should be good enough to speak in the public as that can be required sometimes. Hence, the correct options are as mentioned above.

5 0
4 years ago
Read 2 more answers
Find the total cost of a $125 coat purchased in Los Angeles County where the sales tax is 9%. Use the expression c + 0.09c
Keith_Richards [23]
The answer is B I believe
7 0
3 years ago
A package delivery company or a cell phone company wouldn't go far if it could not deliver products smoothly and reliably. This
aleksklad [387]

Answer:

Operational excellence

Explanation:

Operational excellence is the execution of a business strategy more consistently and reliably than the competition.

Smooth delivery of services and reliability are key factors that are used to measure operational excellence in businesses.  

<em>The question is simply to test the understanding of the various concepts in business management .</em>

Package delivery and phone companies are businesses that relate directly with the general public, and they have a lot of competition. To thrive, they need operational excellence which covers the effective and consistent satisfaction of their customers.

8 0
3 years ago
Other questions:
  • Shawn wants to work on a presentation. He pushes the power buttons for the computer and the monitor, but the computer fails to s
    10·1 answer
  • What is the IEEE standard for the Wi-Fi Protected Access 2 (WPA2) security protocol?
    6·1 answer
  • Some drive letters, such as the letter ____ that is typically used with the primary hard drive, are usually consistent from comp
    9·1 answer
  • Differentiate between Software as a service, platform as a service and infrastructure as a service.
    14·1 answer
  • What are three requirements of information technology a. Accuracyb. _______________________________c. __________________________
    13·1 answer
  • What do developers do to support software products
    14·1 answer
  • An administrator is helping a user connect a smartphone to a tablet via Bluetooth. What should the administrator do first?
    6·1 answer
  • What is E-Commerce? Answer The Following. Pls Help Me​
    5·1 answer
  • Write a Python program (rainfall.py) to collect data and calculate the average rainfall over a period of years. The program shou
    11·1 answer
  • Define technical writing. The proposal introduces the ……. (5 Mark)
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!