High-level Programming Languages
A high-level language is one in which numerous instructions must be executed at the machine language level to perform a function or task specified.一7structions written in a high-level language must be translated into the machine language used by the computer system the program will be executed on The,translator in such a cases the compiler. The high-level language program is known as the source program and the resulting machine language program’s the object program.The compiler is itself a pro-gram .On some computer systems (particularly microcomputers), an interpreter is used instead of a compiler. Interpreters translate the instructions of a source program in a one-by-one manner. As a result, interpreters produce object programs more slowly than compilers.However, interpreters require less memory than compilers.
High-level languages are sometimes described as being machine independent.This means that program written in a high-level language such as COBOL should run on any computer system ,vital COBOL compiler.In actual practice, however. Several variations have crept into high-level languages so that no high-level language is totally "portable" to all computer systems with a compiler for the language in question. Efforts to standardize high-level languages and compilers have received much attention in recent years。
High-level languages greatly simplify programming tasks when compared to assembly or machine level languages.Fewer errors are likely to result Programs written in one language may be used another machines with little or no revisions.High-level languages execute slowest and occupy more space in memory than machine or assembly languages, however.
翻譯:
高級(jí)編程語(yǔ)言
高級(jí)編程語(yǔ)言是一種在這種語(yǔ)言中,大量的指令必須價(jià)機(jī)器語(yǔ)言級(jí)上加以執(zhí)行,以使完成指定的功能或任務(wù),用高級(jí)語(yǔ)所編寫(xiě)的程序,必須被翻譯成該程序 將在其上執(zhí)行的計(jì)算機(jī)系統(tǒng)所采用的機(jī)器語(yǔ)言,這種情況下的“翻譯 程序”是編譯程序。高級(jí)語(yǔ)言程序叫做“源程序”。最終的機(jī)器語(yǔ)言 程序叫做“目標(biāo)程序”。編譯程序本身也是一個(gè)程序。在某些計(jì)算機(jī)系統(tǒng)中(特別是在微機(jī)中),“解釋程序”被用來(lái)代替編譯程序,解釋程序以-一一對(duì)應(yīng)的方式翻譯源程序的指令。結(jié)果是,解釋程序產(chǎn)生目標(biāo)程序遠(yuǎn)比編譯程序要慢得多。 但是,解釋程序比編譯程序要求較 小的存儲(chǔ)器內(nèi)存容量。
高級(jí)語(yǔ)言有時(shí)被描述為獨(dú)立于機(jī)器的語(yǔ)言,這意味著,以某種高級(jí)語(yǔ)言,例如COBOL編寫(xiě)的程序,應(yīng)當(dāng)可在帶有COBOL編譯程序的任 何計(jì)算機(jī)系統(tǒng)中運(yùn)行。但是,實(shí)際上,某些變化己悄悄進(jìn)入高級(jí)語(yǔ)言中,使得沒(méi)有一種高級(jí)語(yǔ)言對(duì)于帶有該語(yǔ)言編譯程序的所有計(jì)算機(jī)系統(tǒng)是完全可移植的。使高級(jí)語(yǔ)言及編譯程序標(biāo)準(zhǔn)化的努力,近年來(lái)己經(jīng)受到人們的很大注意。
與匯編語(yǔ)言及機(jī)器級(jí)語(yǔ)言相比,高級(jí)語(yǔ)言大大地簡(jiǎn)化了編程任務(wù)。產(chǎn)生的錯(cuò)誤可能也很少。用一種語(yǔ)言編寫(xiě)的程序,可以只作少許修改或不加修改,就可以用于其它機(jī)器上。但是,高級(jí)語(yǔ)言比起機(jī)器語(yǔ)言或匯編語(yǔ)言來(lái)說(shuō),其執(zhí)行速度較慢,并占用較大的存儲(chǔ)空間。
A high-level language is one in which numerous instructions must be executed at the machine language level to perform a function or task specified.一7structions written in a high-level language must be translated into the machine language used by the computer system the program will be executed on The,translator in such a cases the compiler. The high-level language program is known as the source program and the resulting machine language program’s the object program.The compiler is itself a pro-gram .On some computer systems (particularly microcomputers), an interpreter is used instead of a compiler. Interpreters translate the instructions of a source program in a one-by-one manner. As a result, interpreters produce object programs more slowly than compilers.However, interpreters require less memory than compilers.
High-level languages are sometimes described as being machine independent.This means that program written in a high-level language such as COBOL should run on any computer system ,vital COBOL compiler.In actual practice, however. Several variations have crept into high-level languages so that no high-level language is totally "portable" to all computer systems with a compiler for the language in question. Efforts to standardize high-level languages and compilers have received much attention in recent years。
High-level languages greatly simplify programming tasks when compared to assembly or machine level languages.Fewer errors are likely to result Programs written in one language may be used another machines with little or no revisions.High-level languages execute slowest and occupy more space in memory than machine or assembly languages, however.
翻譯:
高級(jí)編程語(yǔ)言
高級(jí)編程語(yǔ)言是一種在這種語(yǔ)言中,大量的指令必須價(jià)機(jī)器語(yǔ)言級(jí)上加以執(zhí)行,以使完成指定的功能或任務(wù),用高級(jí)語(yǔ)所編寫(xiě)的程序,必須被翻譯成該程序 將在其上執(zhí)行的計(jì)算機(jī)系統(tǒng)所采用的機(jī)器語(yǔ)言,這種情況下的“翻譯 程序”是編譯程序。高級(jí)語(yǔ)言程序叫做“源程序”。最終的機(jī)器語(yǔ)言 程序叫做“目標(biāo)程序”。編譯程序本身也是一個(gè)程序。在某些計(jì)算機(jī)系統(tǒng)中(特別是在微機(jī)中),“解釋程序”被用來(lái)代替編譯程序,解釋程序以-一一對(duì)應(yīng)的方式翻譯源程序的指令。結(jié)果是,解釋程序產(chǎn)生目標(biāo)程序遠(yuǎn)比編譯程序要慢得多。 但是,解釋程序比編譯程序要求較 小的存儲(chǔ)器內(nèi)存容量。
高級(jí)語(yǔ)言有時(shí)被描述為獨(dú)立于機(jī)器的語(yǔ)言,這意味著,以某種高級(jí)語(yǔ)言,例如COBOL編寫(xiě)的程序,應(yīng)當(dāng)可在帶有COBOL編譯程序的任 何計(jì)算機(jī)系統(tǒng)中運(yùn)行。但是,實(shí)際上,某些變化己悄悄進(jìn)入高級(jí)語(yǔ)言中,使得沒(méi)有一種高級(jí)語(yǔ)言對(duì)于帶有該語(yǔ)言編譯程序的所有計(jì)算機(jī)系統(tǒng)是完全可移植的。使高級(jí)語(yǔ)言及編譯程序標(biāo)準(zhǔn)化的努力,近年來(lái)己經(jīng)受到人們的很大注意。
與匯編語(yǔ)言及機(jī)器級(jí)語(yǔ)言相比,高級(jí)語(yǔ)言大大地簡(jiǎn)化了編程任務(wù)。產(chǎn)生的錯(cuò)誤可能也很少。用一種語(yǔ)言編寫(xiě)的程序,可以只作少許修改或不加修改,就可以用于其它機(jī)器上。但是,高級(jí)語(yǔ)言比起機(jī)器語(yǔ)言或匯編語(yǔ)言來(lái)說(shuō),其執(zhí)行速度較慢,并占用較大的存儲(chǔ)空間。