Computer Programming: A Hierarchy Of Languages Computer Programming: A Hierarchy kielten
A computer cannot work without software to direct its hardware. Tietokone ei toimi ilman ohjelmistoa suoraan sen laitteisto. That is where computer programming comes into the scene. Tämä on tietokoneiden ohjelmointi astuu näyttämölle. A programmer is a person who writes software for a computer to use. Ohjelmoija on henkilö, joka kirjoittaa ohjelmisto tietokoneen käyttöä. There are many kinds of programming languages, as they are called, ranging from the simplistic assembly language to the more complicated C++ and Java. On olemassa monenlaisia ohjelmointikieliin, joiksi niitä kutsutaan, vaihtelevat yksinkertaistetuilla kokoonpano kieli on monimutkaisempi C + + ja Java. These languages are divided into a small hierarchy, ranging from machine code to high level languages. Nämä kielet on jaettu pieni hierarkia vaihtelee koneen koodi korkean tason kielellä. 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. Jokainen taso tämän hierarkia on monimutkaisempi kuin yhden sen alapuolella, mutta korkea-kieli on hierarkiassa, hitaampi se näyttää ohjelman yleensä, koska se on koottu osaksi koneen koodi. Riippumatta siitä, kieli käytettyjen tietokoneiden ohjelmointi on elintärkeä työpaikkojen nykymaailmassa yksinkertaisesti siksi, että määrä tietokoneita käytetään alalla. 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. Alhaisimmalle tietokoneen ohjelmointikielissä on kone-koodi, joka on vain pitkä lista 1: n ja 0: n, jotka ovat luettavissa jalostajan suoraan. 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. Seuraava askel ylöspäin on kokoontumis-kieltä, joka käyttää muistitekniikka tunnetaan opcodes ja heksadesimaali, pohja-16 numerointijärjestelmää, ohjailla 1 ja 0-luvulla. 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. On helpompaa ohjelmoija käsitellä kokoonpano, koska se käyttää kirjaimia sijasta pelkästään pitkä merkkijono binäärimuodossa (1 ja 0: n) numerot. Because assembly is one step above machine code, it is the fastest language in terms of being compiled. Koska kokoonpano on yksi askel edellä koneen koodi, se on nopein kielen kannalta on koottu. 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. Seuraavalle tasolle ohjelmointikieliin ovat niin kutsutun korkean tason kielellä. Nämä tietokoneen ohjelmointikielissä ovat tuttuja, jotka sisältävät erittäin käytetään C-, C + + ja Java. Even some of the lesser used languages such as Pascal, BASIC, and FORTRAN are all considered high-level languages. Jopa eräät vähemmän käytetyt kielet kuten Pascal, BASIC ja FORTRAN pidetään korkean tason kielellä. The high-level languages are different from assembly in that they have their own syntax and wording system. Korkean tason kielet eroavat kokoontumisvapautta, että heillä on oma syntaksi ja sanamuodon järjestelmään. 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. Sen sijaan, että käytettäisiin opcodes manipuloida heksadesimaali numerot, korkean tason kielillä on symboleja ja / tai todelliset sanat, jotka voivat manipuloida tietoja korkeammalla tasolla. 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. From yksinkertaistetuilla kokoonpano kieli on monimutkaisempi korkean tason kielet, atk-ohjelmointi on jaettu useita kerroksia, ja jokainen kerros on monimutkaisempi kuin viimeksi. The lowest layer, machine code, cannot be understood by humans because it is simply 1's and 0's. Alin kerros-, kone-koodi, ei voida ymmärtää ihmisille, koska se on vain 1 ja 0-luvulla. 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. Seuraava taso on kokoontumis-kieli, joka korvaa 1: n ja 0: n kanssa muistitekniikka ja heksadesimaali numerot, mikä helpottaa ihmisten käyttöön. 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. Korkean tason kielillä, mukaan lukien FORTRAN, Basic, C + + ja Java, käytä symboleja ja / tai sanoja, jotka voivat tehdä enemmän vähemmän riviä koodia kuin kokoonpano. 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. Jotta kuitenkin on käännetty muodossa, joka on luettavissa, että tietokone, nämä korkean tason kieliä on käännetty tai kootaan, ASSEMBLY ja sitten kone-koodi. That is why assembly language runs faster, it only needs to be compiled once instead of twice. Siksi kokoonpano kieli kulkee nopeammin, se vain on koottu kerran sijasta kahdesti. For more easy-to-understand computer programming information, please click the following link for Computer Programming For Dummies Lisätietoja helposti ymmärrettävät tietokone ohjelma-tiedot, napsauta seuraavaa linkkiä Computer Ohjelmasuunnittelu tutteja Terms >> Contact >> Privacy Policy Käyttöehdot>> Yhteystiedot>> Privacy Policy |