菜单
  
    >=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.来~自^751论+文.网www.751com.cn/

    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:

  1. 上一篇:美国总统夫人演讲中人称指示语的选择及其移情效果
  2. 下一篇:《小妇人》中的家庭教育问题
  1. 商务英语的语言特点及翻译技巧

  2. 跨文化非语言交际视角下的中美身势语

  3. 汉语“微博”语言中性别歧视现象

  4. 《欲望都市》中女性语言的语用分析

  5. 英文商务合同的语言特点及其对翻译的影响

  6. 从语言学角度解析NBA球员绰号

  7. 德语论文网汽车广告的语言特点与翻译

  8. 应用于ITSOFCs的浸渍电极制备与性能研究

  9. 德语论文德语汽车技术词汇中的名词特点

  10. 黑白木刻版画中的技法表现

  11. 公示语汉英翻译错误探析

  12. 聚合氯化铝铁对磷吸附特性的研究

  13. 三氯乙酸对棉铃对位叶光...

  14. Floyd佛洛依德算法详细解释

  15. 张家港万吨级散货码头主体工程设计+CAD图纸

  16. GC-MS+电子舌不同品牌的白酒风味特征研究

  17. 地方政府职能的合理定位

  

About

751论文网手机版...

主页:http://www.751com.cn

关闭返回