计算机常用计算语言,计算机常用的几种语言:COBOL语言

9624d0e4765450f79901e6cae0c45055.png

COBOL

COBOL stands for Common Business-Oriented Language. It was the first high-level language de-signed for business applications (data processing)rather than scientific applications and is still the most commonly used language on mainframe computers.Its availability on microcomputers has been relatively recent, and may have encouraged the use of micro-computers in business (including their use for developing mainframe software)。

The lexical aspect of the language reflects an optimistic attempt to make programs readable by non-programmers, e.g. managers.Mathematical notations avoided, resulting in verbosity.

COBOL is strongest on data definition, particularly on representation of data for output. Data is defined in the data division part of a program. The division has sections for defining files (for input-output), variables and constants.Files are composed of records and sub records, with level numbering.

Statements appear in the procedure division. A statement generally comprises a verb and operators, such that it reads as an English sentence in the imperative.

COBOL is very weak on program structuring. There are no procedures or functions.The nearest equivalent is the paragraph (or group of paragraphs)called by a PERFORM statement.

The continued widespread use of such an archaic language as COBOL can perhaps be explained by the fear of change and the availability of commercial packages and application generators.

翻译:

COBOL语言

COBOL代表通用面向商业的语言。它是被设计用于商业应用(数据处理)的第一部高级语言、而不是反于科学应用的语言。目前,它仍然 是用于大型计算上的最常用的语言。它在微型计算机上的应用还是近年来的事,它可以促进微型计算 机在商业方面的应用(包括开发三 机软件方面的应用)。

该语言在词法方面的特点反映出一种乐观的尝试,即程序可由非编程人员(例如经理)阅读。它避免了数学符号,却导致了程序的冗长。

COBOL对数据定义,特别是对输出数据表示出极强的功能。数据是在程序的“数据部”部分加以定义 的。该部分具有如下的各种“节”:定 义文件节(用于输入/输出)。定义变量节及定义常数节。文件由记录及子记录组成,带有级编号。

语句出现在过程部。一条语句通常一个动词及几个操作数,这样,语句就可以象英语祈使句一样加以读出。

COBOL在程序结构上很弱,它没有过程或函数最相近的等价物是“段(或者 段组),被称做PERFORM语句。

象COBOL这样一种陈旧的语言 还继续广泛应用,其原因或许是人们担心商业软件包及其应用生成程 序的改变及其应用性。

2829f2ca24f0d0090cbba57f30759f23.png

计算机常用的几种语言:COBOL语言.doc

下载Word文档到电脑,方便收藏和打印[全文共1279字]

编辑推荐:

8b95f2eb3d3f7ce4dc3bf1178c74941e.png

8b95f2eb3d3f7ce4dc3bf1178c74941e.png

8b95f2eb3d3f7ce4dc3bf1178c74941e.png

8b95f2eb3d3f7ce4dc3bf1178c74941e.png

8b95f2eb3d3f7ce4dc3bf1178c74941e.png

下载Word文档

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值