answersLogoWhite

0

Pretty much all programming languages are a cross between human language and computing languages. Ultimately, a computer only understands the binary machine language embedded in the hardware. Every programming language eventually converts code to machine language through interpretation, compilation, or a combination of the two. Human languages are simply too imprecise for giving instructions to a computer. The poetry and variability of human expression is quite challenging for computers to follow, so programming languages tend to be very limited subsets of human languages with small vocabularies (usually less that 100 key words) and very explicit syntax. Computer languages are categorized (among other ways) by where they fit on the scale between machine language and natural human speech. Some languages (like C) are extremely close to the computer, which leads to more efficient code but more difficult programming. Other languages (the 'higher level' languages like Python or Java) are closer to human communication, but a bit less concise, and produce generally less efficientt code. Ultimately, programming isn't about the languages at all, but about thinking an algorithms, which means understanding the basic logic and data structures which are common to all languages. Programmers often write programs in a scheme called 'pseudo-code', which uses the logic and data structures central to all languages, but doesn't worry about the exact syntax or vocabulary of any language. Pseudocode is an easy way to sort out the logic without having to worry about some of the details. For example, this is the pseudo-code for a program that asks the user's name and returns it in a greeting: new program create string variable username ask "What is your name?" store in username print "hi, !" You can then take this pseudo-code, and translate it to whatever programming language you want Here's C++: #include iostream using namespace std' main(){ String userName; cout << "What is your name?"; cin >> userName; cout << "Hi, " << userName << endl' }

Hope this helps!

User Avatar

Wiki User

12y ago

Still curious? Ask our experts.

Chat with our AI personalities

EzraEzra
Faith is not about having all the answers, but learning to ask the right questions.
Chat with Ezra
ProfessorProfessor
I will give you the most educated answer.
Chat with Professor
DevinDevin
I've poured enough drinks to know that people don't always want advice—they just want to talk.
Chat with Devin
More answers

Pseudo code

User Avatar

Anonymous

4y ago
User Avatar

Add your answer:

Earn +20 pts
Q: What is a cross between human language and a programming language?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is the difference between programming and debugging?

Programming is the process of creating code. Debugging is the process of fixing problems in existing code.


What are the advantages of pseudocode?

Pseudo-code allows for an intermediate step between a human language description of an algorithm and a programming language description of the algorithm. It is often a good way for non-programmers to understand the programming process.


What are the simalarities of high and low level programming?

high level language; is a computer language that is near to human language. high level programming is a process of programming high level language.Example,c++,java,cobol are one of them. The reverse is true for the low level language.


What is Programming languege and why we use programming languege andexplain it?

A computer can do many different things, depending on the program provided to the computer. The program is a list of instructions.Rather than learn the "machine language", which is the underlying instructions the computer can execute, nowadays people usually program in a "programming language", which is closer to a human natural language, usually English. The instructions in this programming language are then converted into machine language, by programs specifically designed for that purpose (assemblers, compilers, and - in a way - interpreters). Writing in a programming language is much easier than learning the machine language.


What are the five high level programming language?

1.First Generation Programming LanguageFirst generation of programming language refers to machine language. Machine language is lower level language which uses object code (some times also known as machine code). Object code is the combination of binary digits. These languages directly talk to hardware.2.Second Generation Programming LanguageSecond generation of languages is also low level language which is known as assembly language. Assembly languages are the interface between Machine level languages and High level languages.3.Third Generation Programming LanguageThird Generation programming languages are High level Programming languages like JAVA & C.4.Fourth Generation Programming LanguageThis is the set of current generation programming languages. These languages are similar or closer to human languages.General characteristics of 4GL are:i.Closer to human languagesii.Portableiii.Database supportiveiv.simple and requires less effort than 3GLv.Non proceduralDifferent types of 4 GL are:a. Query Generatorb. Report generatorc. Form Generatord. Application Generatore. GUI Generatorf. Relational Database Manager5.Fifth Generation Programming LanguageLanguages used for writing programs for Artificial Intelligence, Neural Network, Plasma Computing etc. come under 5GL. This is the future of programming language.