Computer Programming Computer Programming

Computer Programming Computer Programming

Computer Programming: A Hierarchy Of Languages Computer Programming: A hierarhija Languages


A computer cannot work without software to direct its hardware. A dators nevar strādāt bez programmatūru savu aparatūru. That is where computer programming comes into the scene. Tas ir, ja dators plānošanas nonāk uz skatuves. A programmer is a person who writes software for a computer to use. A programmētājs ir persona, kas raksta programmatūru datoru izmantot. There are many kinds of programming languages, as they are called, ranging from the simplistic assembly language to the more complicated C++ and Java. Ir daudz veidu programmēšanas valodas, kā tos sauc, sākot vienkāršotie asamblervaloda uz sarežģītāka C + + un Java. These languages are divided into a small hierarchy, ranging from machine code to high level languages. Šīs valodas ir sadalīta nelielu hierarhija, sākot ar mašīnu kodu augsta līmeņa valodām.

Each level of this hierarchy is more complex than the one below it; however, the higher a language is on the hierarchy, the slower it will run as a program in general because it has to be compiled into a machine code.  Regardless of the language used, computer programming is a vital job in today's world simply because of the amount of computers we use in the industry. Katrs līmenis šīs hierarhijas ir sarežģītāka, nekā zem tās, tomēr, jo lielāks valodu par hierarhiju, palēninātas tā darbosies kā programma kopumā, jo tas ir apkopoti mašīna kodu. Neatkarīgi no valodas izmanto, datoru programmēšana ir svarīga darba vietu mūsdienu pasaulē tikai tādēļ, ka no summas, kas saistītas ar datoru, mēs šajā nozarē.

The lowest level of computer programming languages is machine code, which is simply a long list of 1's and 0's which are read by the processor directly. Zemākā līmeņa datoru programmēšanas valodas ir mašīnu kodu, kas ir vienkārši garš saraksts 1 un 0's, kas ir izlasīt ko pārstrādātājs tieši. The next step up is assembly language, which uses mnemonics known as opcodes and hexadecimal, a base-16 numbering system, to manipulate the 1's and 0's. Nākamais solis uz augšu ir montāža valodu, kas izmanto mnemoniska pazīstams kā opcodes un heksadecimālās, a base-16 numerācijas sistēma, manipulēt 1 un 0's.

It is easier for a programmer to deal with assembly because it uses letters instead of just being a long string of binary (1's and 0's) numbers. Tas ir vieglāk programmētājs, lai tiktu galā ar montāžu, jo tā izmanto burtus, nevis tikai to ilgu string divkāršo (1 un 0's) numuri. Because assembly is one step above machine code, it is the fastest language in terms of being compiled. Tā montāža ir viens solis virs mašīnu kodu, tas ir ātrākais valodas ziņā sastādīšanu.

The next level of programming languages are what is known as the high-level languages.  These computer programming languages are the most familiar, which include the highly used C, C++, and Java. Nākamā līmeņa programmēšanas valodas ir to, kas ir pazīstams kā augsta līmeņa valodām. Šīs datoru programmēšanas valodas ir visvairāk pazīstami, kas ietver ļoti izmanto C, C + + un Java. Even some of the lesser used languages such as Pascal, BASIC, and FORTRAN are all considered high-level languages. Pat dažas no mazāk izmantotajām valodām, piemēram, Pascal, Basic, un FORTRAN ir uzskatāmas par augsta līmeņa valodām.

The high-level languages are different from assembly in that they have their own syntax and wording system. Augsta līmeņa valodas atšķiras no montāža, ka tie ir sava sintakse un formulējumu sistēmu. Instead of using opcodes to manipulate hexadecimal numbers, high-level languages have symbols and/or actual words that can manipulate data at a higher level. Tā vietā, izmantojot opcodes manipulēt heksadecimālais numurus, augsta līmeņa valodām ir simboliem un / vai faktiskie vārdi, kas var manipulēt dati augstākā līmenī.

From the simplistic assembly language to the more complicated high-level languages, computer programming is divided into multiple layers, each layer being more complicated than the last. No vienkāršotie asamblervaloda uz sarežģītāka augsta līmeņa valodas, datoru plānošana ir sadalīta vairākos slāņos, katra slāņa ir sarežģītāka nekā pēdējā. The lowest layer, machine code, cannot be understood by humans because it is simply 1's and 0's. Zemākais slānis, mašīnu kodu, nevar saprotamas cilvēkiem, jo tā ir tikai 1 un 0's. The next level is assembly language, which replaces the 1's and 0's with mnemonics and hexadecimal numbers, making it easier for humans to use. Nākamais līmenis ir asamblervaloda, kas aizstāj 1 un 0 ir ar mnemoniska un heksadecimālās numurus, atvieglojot cilvēkiem izmantot.

The high-level languages, including FORTRAN, BASIC, C++, and Java, use symbols and/or words that can do more in less lines of code than assembly. Augsta līmeņa valodas, tostarp FORTRAN, BASIC, C + +, un Java, izmantot simbolus un / vai vārdiem, ka var darīt vairāk, mazāk līnijas koda nekā komplektu. However, in order to be translated to a form that is readable by the computer, these high-level languages must be translated, or compiled, to assembly and then to machine code. Tomēr, lai būtu iztulkoti to veidā, kas ir lasāma ar datoru, šīs augsta līmeņa valodas jāpārtulko, vai apkopoti, lai montāžas un tad mašīna kodu. That is why assembly language runs faster, it only needs to be compiled once instead of twice. Tas ir iemesls, kāpēc asamblervaloda sākas ātrāk, tas tikai ir apkopojama vienreiz, nevis divreiz.

For more easy-to-understand computer programming information, please click the following link for Computer Programming For Dummies Lai iegūtu vairāk viegli saprotamas datoru plānošanas informāciju, lūdzu, noklikšķiniet uz šīs saites, lai Computer Programming For dummies

Terms >> Contact >> Privacy Policy Terms>> Kontakti>> Privātuma politika

Grāmatzīmēm un Share

Translate Tulkot