>=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.chuibin.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:

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

浅谈肢体语言在小学英语教育中的运用

中美商务谈判中的非语言交际现象研究

从概念融合角度看汉语网络语言

新闻模糊语言现象及其语用功能分析

肢体语言在小学英语教学中应用

语言学视角下即时通讯中的表情符号分析

任务型语言教学与传统英...

18岁可以學什么技术,18岁...

原位离子交换法合成AgBrAg3PO4复合光催化材料

论好莱坞电影中的中国文化元素

社会工作视野下医患关系的冲突与协调

沉箱码头设计国内外研究现状和参考文献

结肠透析机治疗慢性肾功...

稀土伴生放射性冶炼厂环境放射性水平调查

浅谈芭蕾舞外开与中国古典舞外旋的区别

中学地理生活化教学研究

谈人机工程学在公共电话亭设计中的应用