บทที่ 7 ภาษาคอมพิวเตอร์ ภาษาคอมพิวเตอร์      • ภาษาคอมพิวเตอร์ หมายถึง การแปล - บทที่ 7 ภาษาคอมพิวเตอร์ ภาษาคอมพิวเตอร์      • ภาษาคอมพิวเตอร์ หมายถึง อังกฤษ วิธีการพูด

บทที่ 7 ภาษาคอมพิวเตอร์ ภาษาคอมพิวเ

บทที่ 7 ภาษาคอมพิวเตอร์

ภาษาคอมพิวเตอร์
• ภาษาคอมพิวเตอร์ หมายถึง สัญลักษณ์ที่ผู้คิดพัฒนาภาษากำหนดขึ้นมา เพื่อใช้แทนการสื่อสาร / สั่งงาน ระหว่างมนุษย์กับเครื่องคอมพิวเตอร์
• ประเภทของภาษาคอมพิวเตอร์
แบ่งได้เป็น 5 ประเภท
1. ภาษาเครื่อง
-เป็นภาษาระดับต่ำ
-ใช้เลข 0 และ 1 ภาษาเครื่องเป็นภาษาที่คอมพิวเตอร์เข้าใจได้โดยตรง จึงไม่ต้องมีตัวแปลภาษา
-โปรแกรมที่เขียนด้วยภาษาเครื่อง จะใช้ได้กับเครื่องคอมพิวเตอร์ที่ใช้พัฒนาโปรแกรมเท่านั้น
2. ภาษาแอสเซมบลี เรียกอีกอย่างว่า “ภาษาสัญลักษณ์” เป็นภาษาระดับต่ำ
-ใช้รหัสเป็นคำแทนคำสั่งภาษาเครื่อง เป็นคำสั่งสั้น ๆ ที่จดจำได้ง่าย เรียกว่า นิวมอนิกโค้ด เช่น
A แทน การบวก(Add)
C แทน การเปรียบเทียบ(Compare)
MP แทน การคูณ(Multiply)
STO แทน การเก็บข้อมูลในหน่วยความจำ(Store)
-ต้องทำการแปลด้วยโปรแกรมแปลภาษาที่เรียกว่า แอสเซมเบลอ(Assembler) ซึ่งจะแปลโปรแกรมต้นฉบับ(Source code)ที่เขียนด้วยภาษาแอสเซมบลี ให้เป็น ภาษาเครื่อง
3.ภาษาระดับสูง
-ใช้รูปแบบคำภาษาอังกฤษแทนรหัสคำสั่งต่าง ๆ
-เป็นภาษาแบบโพรซีเยอร์
-โปรแกรมที่พัฒนาจากภาษาระดับสูง ต้องทำการแปลคำสั่งโปรแกรมต้นฉบับ(Source code) ที่เขียนด้วยภาษาระดับสูงให้เป็นภาษาเครื่อง
-ตัวอย่างภาษาระดับสูงเช่น ภาษาเบสิก ภาษาปาสคาล ภาษาซี ภาษาโคบอล ภาษาฟอร์แทรน เป็นต้น
4.ภาษาระดับสูงมาก
-ใช้คำภาษาอังกฤษแทนคำสั่งงาน เช่นเดียวกับ ภาษาระดับสูง
-เป็นภาษาแบบไม่เป็นโพรซีเยอร์
-เขียนง่ายและสะดวกกว่าภาษาระดับสูง
-ตัวอย่างภาษาเช่น ภาษาSQL ที่ใช้ในฐานข้อมูล เป็นต้น
-ภาษาระดับสูงมากไม่ได้ถูกออกแบบให้สามารถทำงานตามลำพังจึงต้องทำงานร่วมกับภาษาอื่นๆ
5.ภาษาธรรมชาติ
-ภาษาธรรมชาติไม่สนใจรูปแบบคำสั่งหรือลำดับที่เคร่งครัด
-ผู้ใช้สามารถพิมพ์สิ่งที่ต้องการในคอมพิวเตอร์เป็นคำหรือประโยคที่ผู้ใช้เข้าใจ คอมพิวเตอร์จะพยายามแปลคำหรือประโยคเพื่อทำตามคำสั่ง
-ภาษาธรรมชาตินิยมนำมาประยุกต์งานด้าน ระบบผู้เชี่ยวชาญ
ตัวแปลภาษา
หมายถึง โปรแกรมที่ทำหน้าที่แปลโปรแกรมต้นฉบับ(Source code) ที่เขียนขึ้น ให้เป็นภาษาเครื่องที่เป็นเลขฐานสอง เพื่อให้เครื่องคอมพิวเตอร์ทำงานตามที่ต้องการ
0/5000
จาก: -
เป็น: -
ผลลัพธ์ (อังกฤษ) 1: [สำเนา]
คัดลอก!
Chapter 7 computer language. Computer language • Computer language refers to the language of symbols, innovative development of the set to take the place of communication between human beings with the command/computer. • What kind of computer language. Divide into 5 categories. 1. the machine language. -A low level language. -Use the numbers 0 and 1 as the machine language that the computer understands directly do not need to have a translator. -A program written in machine language, can be used with computers that use only the program development. 2. Assembly language. Also known as "sign language" is a low-level language. -Use as a language of instruction instead of a short command. The new code, such as the so-called new wamo. A replacement additive (Add) C instead of comparison (Compare) Multiplication (Multiply) MP instead. Instead of storing information on the STO memory (Store) -The need to translate the translation program called mabelo (Assembler), which the Assembly will translate the source program (Source code) written in Assembly language to machine language. 3. high level languages. -Use the English word instead of code instructions The language of the procedure-a layer -Development of a high level language programs. Need to make a translation of the original program commands (Source code) that is written in a high-level language into machine language. High level language, such as, for example-the basic language of Paschal II Fortran COBOL, c language, etc. 4. very high level languages. -Use the English word instead of commands, tasks, as well as a high level language. -As is the procedure covering. -Write simple and convenient high level languages. For example, language such as SQL language-used in the database, etc. A very high level, do not-language was designed to be able to work alone to work with other languages. 5. natural language. -Natural language is not interested in the format command, or the regulators. -The user can type in a word or a sentence in which a computer user to understand. The computer will attempt to translate a word or sentence to follow the command. -Language naturalist job application system specialist Language translator. Refers to a program that performs translation of the original program (Source code) written as a binary number as to make the computer work. Type of translation -The Assembly language program translate mabelo (Assembler). -The translation program, the compiler (Compiler). -The Internet English translations Terminal (Interpreter). Assembler Language-specific translation is assembly language. Compiler -Translation of the original program, written from a high-level language to an object (Object Code). Object code can be applied immediately. -During the translation. If you encounter an error that caused the write command displays an error and stops translating when an error occurred during translation. The author of the program will be required to edit and translate again. -For example, FORTRAN compiler: language, PASCAL, C, C ++, etc. Interpreter -Translation of the original program, written from a high-level language into machine language. -Translation of the Source code one at a time, as the Object code. -If an error is found, it will stop working and to fix the wrong command started a new processor. -Example: BASIC language Interpreter languages, etc. Object-oriented programming. -Key features of OOP is hiding (Encapsulation), inheritance (Inheritance) and agree on the format. -A computer language used to write OOP: Java (JAVA), C ++ language, Smalltalk etc. Chapter 8 programming structure The principles of effective programming. •-The logic • Easy to understand reading • Non-segmented complex. There are 2 programming. -A modular programming. Module (Module) is a very small program (Subroutine), which can be run as an independent has 2 sub programs inside and outside the sub program. -A top-down programming. Look at the issue with an emphasis on functional structure overview using the chart of the structure (Structure Chart) on a work schedule defining primary module to start. Call a sub module and end processing order is not highlighted. The infrastructure that is used to write the program. Is the structure shows that the procedure is based on the priority and each step is processed only once. Unable to show the work of this structure. Algorithm 1. start. 2. configure the payment amount (Price) is equal to zero. 3. stock information (Amt) and the price (Cost). 4. calculate the amount paid from the Amt Cost Price = x. 5. display. The amount that must be paid. 6. exit. Pseudocode (Pseudo Code). Begin Price = 0 Read Amt, Cost Price = Amt x Cost Write Price End Structure of the selection (Selection Structure). The conditions that must be decided is the work results of the condition is true or false only. The type of the selected structure 1. Select the run only when a condition is true. Pseudocode IF............... THEN (A command) ... For example, the program displays the result on the screen. Algorithm 1. start. 2. pick up test scores (Score) 3. If the exam score 50 points or more, print screen ' You pass '. 4. exit. Pseudocode (Pseudo Code). Begin Read Score IF Score >= 50 THEN Write 'You pass' End 2. Select one of the real and the false condition during. Pseudocode (Instruction B) ..... THEN ..... ELSE (commands A) ..... ... 3. Select the nested command. Algorithm 1. start. 2. get c.
การแปล กรุณารอสักครู่..
ผลลัพธ์ (อังกฤษ) 2:[สำเนา]
คัดลอก!
Chapter 7 computer language computer language •. The idea that language refers to the language set up. To use the communications / commands between humans and computers •. This type of computer language can be divided into five categories : 1. machine - a low level - the numbers 0 and 1 machine language is the language the computer understands directly. There's no compiler - a program written in machine language. It applies to computer programs used only two. Albertosaurus Assembly. Also called "Sign Language" is low - use code words instead of a machine. A brief statement easily recognizable called New Morning New code such as A instead of the positive (Add) C instead of comparison (Compare) MP instead of multiply (Multiply) STO instead of storing data in memory (Store. ) - must be translated by a translator called. An assembler (Assembler), which will translate the source program (Source. code) written in assembler language into machine assembly language level 3 - Use of English words instead of code commands. The other - a language profiles C. Ayers - a program developed by the high-level language. Must interpret the source program (Source code) written in high level language into machine language - for example, high-level languages ​​such as BASIC Pascal programming language COBOL, Fortran, etc. 4. Language. a very high level - using the English word order, as well as high-level language - a language that is Prometheus C. Ayers - writing easier and more convenient high-level language - for example, languages ​​such as SQL used in the database. Etc. - a very high level languages ​​are not designed to work alone, so it must work with other languages ​​5. natural language - natural language syntax or ignore the strict sequence - the user can print what you want in a computer. Words or phrases that users understand. The computer attempts to translate a word or sentence to follow orders - German naturalist applied work. Systems translator means. Programs that compile source (Source code) are written into machine language is binary. To make the computer work required of a translator - a translator application assembler. (Assembler) - a programming language compiler (Compiler) - A translator Interactive Pre Terry (Interpreter) Assembler is. Only translations Albertosaurus assembly into machine language only Compiler - translates source programs. Written by high-level language To become an object (Object Code) Object code can be used immediately - during translation. If an error resulting from a written statement. To error and stop interpreting when an error occurs during translation. The program will be edited and translated again - for example, the language compiler include FORTRAN, PASCAL, C, C ++, etc. Interpreter - translating source programs. Written by high-level language Into machine language - Source code translation by a statement to the Object code - if it finds an error, it stops working. And corrective action orders wrong. Thus began a new process - examples include language BASIC Language Interpreter or object-oriented programming - key features of OOP is to hide information. (Encapsulation), succession (Inheritance) and polymorphic - the computer language used to write OOP languages ​​include Java (JAVA), language C ++, languages, Smalltalk, etc. Chapter 8 Programming Structured programming efficiency • - there. Logic • - readable •. - Divided into sections, no complicated programming are two types - programming the modular module (Module) program is small (Subroutine) that can operate independently with two types of subprograms and subprogram outside - a. Programming a top down look at the issues highlighted by the overall structure, use structure (Structure Chart) to define the core module set to begin. The sub-modules and not completing the work on display order processing infrastructure to use the program is. The present process is the priority. And each step is processed only once that position. Can show the structure of this algorithm at the start 1. 2. Configure. The amount paid (Price) equal to zero 3. Product Information (Amt) and price (Cost) 4. Calculate the amount paid by the Amt = Price x Cost 5. display the amount due 6. Exit code. Implant (Pseudo Code) Begin Price = 0 Read Amt, Cost Price = Amt x Cost Write Price End Structure Selection (Selection Structure) is a condition that must decide the result of the condition is true or false, only the type of structure selected. 1. Select function only when the conditions are fulfilled pseudo code ............... IF THEN. ... (Order A) ... examples. The program displays the screen of the algorithms at work: 1. Start 2. values. TOEFL (Score) 3. If the test scores of 50 points or more to print the screen that says 'You Pass' 4. Exit pseudo code (Pseudo Code) Begin Read Score Score IF> = 50 THEN Write 'You Pass'. End 2. Choose either working conditions between true and false pseudo code THEN. ... .. (Statement B) ... .. ELSE. .. ... (Order A) ... 3. Select statement stacked algorithms at work: 1. Start 2. c.
































































































































การแปล กรุณารอสักครู่..
 
ภาษาอื่น ๆ
การสนับสนุนเครื่องมือแปลภาษา: กรีก, กันนาดา, กาลิเชียน, คลิงออน, คอร์สิกา, คาซัค, คาตาลัน, คินยารวันดา, คีร์กิซ, คุชราต, จอร์เจีย, จีน, จีนดั้งเดิม, ชวา, ชิเชวา, ซามัว, ซีบัวโน, ซุนดา, ซูลู, ญี่ปุ่น, ดัตช์, ตรวจหาภาษา, ตุรกี, ทมิฬ, ทาจิก, ทาทาร์, นอร์เวย์, บอสเนีย, บัลแกเรีย, บาสก์, ปัญจาป, ฝรั่งเศส, พาชตู, ฟริเชียน, ฟินแลนด์, ฟิลิปปินส์, ภาษาอินโดนีเซี, มองโกเลีย, มัลทีส, มาซีโดเนีย, มาราฐี, มาลากาซี, มาลายาลัม, มาเลย์, ม้ง, ยิดดิช, ยูเครน, รัสเซีย, ละติน, ลักเซมเบิร์ก, ลัตเวีย, ลาว, ลิทัวเนีย, สวาฮิลี, สวีเดน, สิงหล, สินธี, สเปน, สโลวัก, สโลวีเนีย, อังกฤษ, อัมฮาริก, อาร์เซอร์ไบจัน, อาร์เมเนีย, อาหรับ, อิกโบ, อิตาลี, อุยกูร์, อุสเบกิสถาน, อูรดู, ฮังการี, ฮัวซา, ฮาวาย, ฮินดี, ฮีบรู, เกลิกสกอต, เกาหลี, เขมร, เคิร์ด, เช็ก, เซอร์เบียน, เซโซโท, เดนมาร์ก, เตลูกู, เติร์กเมน, เนปาล, เบงกอล, เบลารุส, เปอร์เซีย, เมารี, เมียนมา (พม่า), เยอรมัน, เวลส์, เวียดนาม, เอสเปอแรนโต, เอสโทเนีย, เฮติครีโอล, แอฟริกา, แอลเบเนีย, โคซา, โครเอเชีย, โชนา, โซมาลี, โปรตุเกส, โปแลนด์, โยรูบา, โรมาเนีย, โอเดีย (โอริยา), ไทย, ไอซ์แลนด์, ไอร์แลนด์, การแปลภาษา.

Copyright ©2024 I Love Translation. All reserved.

E-mail: