1 / 6

Computer Language

Computer Language. Machine Languae Low-level Language High-level Language. Machine Language. First computer language. Computer can understand and execute immediately Compose of binary number opcode : what to do with the data operand : where to get the data.

livia
Download Presentation

Computer Language

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Computer Language • Machine Languae • Low-level Language • High-level Language

  2. Machine Language • First computer language. • Computer can understand and execute immediately • Compose of binary number • opcode : what to do with the data • operand : where to get the data 0101 00111 11110 Opcode Operand1 Operand2

  3. Low-level Language • We can called Symbolic language • Same structure as maching language • Use symbolic instead of binary number • Program must be compiled to be machine language by using Translator program Add X, Y

  4. High-level Language • Develop from symbolic language. • Programmer do not need to know how computer works in detail. • Programmer can write program by learning syntax of language. • Example : - Pascal, C, Cobol, Java X : = X + Y ;

  5. Data Representation • Switching circuit : ON, OFF • Binary system : 0, 1 • Binary -> Decimal • Decimal -> Binary • Negation • Addition • Multiplication • Division

  6. Data Representation • Signed Integer • Sign Magnitude • One’s Complement • Two’s Complement • Floating-point • Character • ASCII • EBCDIC • Unicode

More Related