TAILIEUCHUNG - Java™ How to Program ( Deitel - Deitel) - Phần 3

Tham khảo sách 'java™ how to program ( deitel - deitel) - phần 3', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | PREV NEXT Page 7 continued . Machine Languages Assembly Languages and High-Level Languages Programmers write instructions in various programming languages some directly understandable by computers and others requiring intermediate translation steps. Hundreds of computer languages are in use today. These may be divided into three general types 1. Machine languages 2. Assembly languages 3. High-level languages Any computer can directly understand only its own machine language. Machine language is the natural language of a computer and as such is defined by its hardware design. Machine languages generally consist of strings of numbers ultimately reduced to 1s and 0s that instruct computers to perform their most elementary operations one at a time. Machine languages are machine dependent . a particular machine language can be used on only one type of computer . Such languages are cumbersome for humans as illustrated by the following section of an early machinelanguage program that adds overtime pay to base pay and stores the result in gross pay 1300042774 1400593419 1200274027 Machine-language programming was simply too slow and tedious for most programmers. Instead of using the strings of numbers that computers could directly understand programmers began using English-like abbreviations to represent elementary operations. These abbreviations formed the basis of assembly languages. Translator programs called assemblers were developed to convert early assembly-language programs to machine language at computer speeds. The following section of an assembly-language program also adds overtime pay to base pay and stores the result in gross pay Page 8 load basepay add overpay store grosspay Although such code is clearer to humans it is incomprehensible to computers until translated to machine language. Computer usage increased rapidly with the advent of assembly languages but programmers still had to use many instructions to accomplish even the simplest tasks. To speed

TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.