>=27 Visual Basic 117

Pascal 36 Delphi 86

C 32 C++ 63

C# 76

1.1.2 FOR Loop

In computer science, a for loop refers to a programming language statement that allows a group of codes to be executed repeatedly. A for loop is classified as an iteration statement which also includes while loop, until loop, etcetera. Unlike many other kinds of loops, each for loop has an explicit loop counter so that the number of iterations is known or can be calculated before entering the loop.

1.1.3 Cognitive Linguistics

Cognitive linguistics is a branch of linguistics that involves computer processing natural language, artificial intelligence, linguistics, psychology, system theory and etcetera. Its research can be pided into two aspects as psychologically and linguistically (Cui Xiliang, 2002: 13-34). 

1.1.4 Computational Linguistics

Computational linguistics is an interdisciplinary field related to science, engineering and humanities based on the knowledge of linguistics, mathematics and computer, and also known as natural language processing. It is advanced with the development of computer and information technology (Shao Zongyin, 2001: 76-78).

1.2 Purpose and Significance of the Study

Although the time period of formulating one high-level programming language may overlap partially with one another, the development of them takes an ascending trend. Published in 1964, BASIC is just the basic language to computer programming. Also, Pascal and C which appeared both in 1970s are two important languages that represent two different type of programming style.

Since high-level programming language is still a very broad concept, this study will focus on the change of keywords “begin” and “end” in for loops. This study will take the examples of two simple realizations of an adder from 1 to 100 and of calculating the 20th Fibonacci number using for loop in BAISC, Pascal and C in order to compare the cognition differences caused by keywords “begin” and “end” between people and the computer in single and plural statements within one loop. Combining cognitive linguistics analysis with current situation of high-level programming language, this study will be able to explain the reason and meaning of the appearance and disappearance of keywords “begin” and “end”, and finally, to form a valuable assumption towards the question whether keywords are approaching to natural language or mathematical formula.来~自^优尔论+文.网www.youerw.com/

2 Literature Review

2.1 Three Forms of Begin and End in For Loops

There are 3 main forms that begin and end may take in different languages. They are: 

1) conceptual “begin” and “end”, usually functionally reflected by other keywords;

2) defined “begin” and “end”, or other similar words;

3) mathematical symbols.

For the first form, in BASIC (Kemeny, and Kurtz, 1968), for loop statements were defined as:

        FOR loop variable = initial value TO final value [STEP step length]

expression 1

[expression 2

……

expression N]

NEXT loop variable

In these statements, keyword “for” is equal to “begin” and “next” is equal to “end”. Microsoft FoxPro had a similar statement definition. That is:

上一篇:美国总统夫人演讲中人称指示语的选择及其移情效果
下一篇:《小妇人》中的家庭教育问题

汉英语言中狗习语文化对比分析

品牌翻译文化差异意识与社会语言学应用

从美学视角探讨幽默语言...

从语言的元功能角度分析...

葛浩文英译版《生死疲劳...

多模态视角下广告语言的性别身份构建

非英语专业大学生英语语言磨蚀研究

微探联通主义观照下慕課...

论《人间喜剧》的“金钱”主题

基于DirectX技术的3D游戏Demo设计与实现

企业中女性管理者职业发展的障碍及对策

大学生网络成瘾与品行问题倾向的关系研究

2023开放三胎政策,中國三...

功率因数校正技术研究现状和发展趋势

视觉辨识技术的视频监控...

公立医院财务管理及财务...

FeTiMn尖晶石协同控制燃煤...