TAILIEUCHUNG - C++ Lab 1 Introduction

Required terminology and general information for this chapter: Program – a series of instructions for a computer to execute. Programming languages: Machine, Assembly, and High Level How the first computers were programmed? By manually connecting wires. Machine language: programs and data were entered into the computer using zeros and ones. All operation codes (opcodes) and operands were entered in binary numbers. Machine language is the machine "understandable" language. It does not matter what other languages are used to program, eventually all programs and data will have to be translated into a "machine executable" format. Assembly Language: An easier programming language. | C Lab 1 Introduction Required terminology and general information for this chapter Program - a series of instructions for a computer to execute. Programming languages Machine Assembly and High Level How the first computers were programmed By manually connecting wires. Machine language programs and data were entered into the computer using zeros and ones. All operation codes opcodes and operands were entered in binary numbers. Machine language is the machine understandable language. It does not matter what other languages are used to program eventually all programs and data will have to be translated into a machine executable format. Assembly Language An easier programming language than machine language where programs are written using familiar symbols for example A for add . The operands could be in binary hexadecimal or decimal format. For every machine language code there needs to be one assembly language code. The program was not shorter just easier to write. Once the program was written in assembly language it had to be compiled to produce the machine executable code in order to run the program. The compiler used is called an ASSEMBLER. High Level Language Included are languages such as Fortran Formula Translator COBOL Common Business Oriented Language BASIC Beginner s All purpose Symbolic Instruction Code Pascal C Ada and many more. Programs are much shorter than lower level languages. Each instruction is converted to several machine executable codes. This conversion is done in three steps preprocessing compiling and linking. An original program written using an EDITOR in a high level language is known as the Source Code. A compiled program is called the Object Code and the linked program is called the Executable Code. Examples of files created in each stage are and Syntax Rules for constructing a legal sentence in a programming language. If a program has syntax errors it will not compile. Therefore it produces compile time .

TỪ KHÓA LIÊN QUAN
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.