Computer Programming תכנות מחשבים

Computer Programming תכנות מחשבים

Computer Programming: A Hierarchy Of Languages תכנות מחשב: א היררכיה של שפות


A computer cannot work without software to direct its hardware. מחשב לא יכול לעבוד בלי התוכנה לכוון את החומרה. That is where computer programming comes into the scene. זה נמצא איפה לתכנות מחשבים מגיע לתוך הסצינה. A programmer is a person who writes software for a computer to use. מתכנת הוא אדם אשר כותב תוכנות עבור מחשב לשימוש. There are many kinds of programming languages, as they are called, ranging from the simplistic assembly language to the more complicated C++ and Java. ישנם סוגים רבים של שפות תכנות, כפי שהם נקראים, החל את simplistic הרכבה השפה יותר מסובך C + + ו-Java. These languages are divided into a small hierarchy, ranging from machine code to high level languages. שפות אלו לחלק קטן בהיררכיה, החל המכונה קוד ברמה גבוהה שפות.

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. כל אחת מן הרמות בהיררכיה של זה היא מורכבת יותר מזו שמתחתיה, אולם גבוה יותר של השפה הוא על סדר עדיפויות, את זה לאט יותר יפעל כמו תוכנית בכלל, כי זה חייב להיות מלוקט לתוך קוד מכונה. ללא קשר לשפה שימוש, המחשב התכנות הוא חיוני עבודה בעולם של היום פשוט בשל כמות המחשבים בהם אנו משתמשים ביותר בתחום.

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. ברמה הנמוכה ביותר של המחשב הוא מכונה בשפות תכנות הקוד שלך, הוא פשוט רשימה ארוכה של של 1 ו 0 של אשר קוראים ישירות על ידי המעבד. 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. השלב הבא הוא הרכבה של השפה, אשר משתמשת זכרוניות הידוע בשם opcodes ו הקסדצימאלי, בסיס-16 מספור המערכת, כדי לתפעל את של 1 ו 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. זה קל יותר עבור מתכנת להתמודד עם הרכבה כי היא משתמשת רק אותיות במקום להיות מחרוזת ארוכה של בינארי (1 או 0 של's) מספרי. Because assembly is one step above machine code, it is the fastest language in terms of being compiled. בגלל הרכבה היא צעד אחד מעל מכונה קוד, היא השפה המהירה ביותר במונחים של להיות מלוקט.

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. הבא ברמה של שפות תכנות הן מה שידוע בתור ברמה גבוהה שפות. שפות תכנות מחשבים אלה הם מוכרים ביותר, הכוללים את הפערים השתמשו C, C + + ו-Java. Even some of the lesser used languages such as Pascal, BASIC, and FORTRAN are all considered high-level languages. אפילו חלק קטן יותר בשימוש בשפות כמו Pascal, Basic, ו fortran הם נחשבו כל השפות ברמה גבוהה.

The high-level languages are different from assembly in that they have their own syntax and wording system. ברמה גבוהה של שפות שונות ב מ הרכבה שיש להם משלהם תחביר ואת הניסוח המערכת. 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. במקום להשתמש כדי לתפעל opcodes הקסדצימאלי מספרים ברמה גבוהה שפות יש סמלי ו / או תטמפרטורה מילים שיכולות להשפיע בעורמה על נתונים ברמה גבוהה יותר.

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. מתוך simplistic הרכבה השפה יותר מסובך ברמה גבוהה שפות תכנות מחשב מחולק במספר שכבות, כל שכבה להיות יותר מסובך מאשר האחרון. The lowest layer, machine code, cannot be understood by humans because it is simply 1's and 0's. השכבה הנמוכה ביותר, קוד מחשב, לא יכול להיות מובן על ידי בני אדם, כי זה פשוט של 1 ו 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. "למחרת היא רמת הרכבה שפה, אשר מחליף את של 1 ו 0 עם זכרוניות ו הקסדצימאלי מספרים, ובכך יקל לאדם להשתמש.

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. ברמה גבוהה של שפות, כולל Fortran, Basic, C + + ו-Java, שימוש בסמלים ו / או מילים שיכולות לעשות יותר בפחות שורות קוד מאשר הרכבה. 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. עם זאת, על מנת להיות מתורגם ל טופס זה ניתן לקריאה על ידי מחשב, אלה ברמה גבוהה שפות חייב להיות מתורגם, או מלוקט, עד עצרת ואז ל מכונת קוד. That is why assembly language runs faster, it only needs to be compiled once instead of twice. זוהי הסיבה שפה הרכבה פועל מהר יותר, זה רק צריך להיות מלוקט פעם אחת במקום פעמיים.

For more easy-to-understand computer programming information, please click the following link for Computer Programming For Dummies לפרטים קלים להבנה לתכנות מחשבים נוספים, אנא לחץ על הקישור הבא עבור מחשב תכנות עבור Dummies

Terms >> Contact >> Privacy Policy תנאי>> צור קשר>> מדיניות פרטיות

הפוך ושיתוף

Translate לתרגם