问题 单项选择题

以下关于脚本程序语言的叙述中,错误的是()

A.脚本语言需要相应的引擎解释执行

B.脚本语言程序一般以文本方式存在

C.在网页设计中应用脚本可以提高网页浏览速度、丰富网页的表现

D.脚本语言中不允许使用变量

答案

参考答案:D

解析:

本题考查程序语言基础知识。

传统程序设计语言主要是为了构造自足的应用系统,即能接受某种输入、按某种可以理解的方式操作这些输入并产生出适当输出的系统。例如C/C++、Java等是典型的传统程序设计语言。

在Java、C或其他常规语言里写各种协作代码,倾向于强调效率、可维护性、可移植性,以及静态的错误检查。它们的类型系统通常是围绕着一些硬件的概念构造起来的,如固定大小的整数、浮点数、字符和数组。与此相反,脚本语言倾向于强调灵活性、快速开发、局部用户定制以及动态(运行时)检查。

现代脚本语言的前身主要来自命令解释器或传统批处理和“终端”(命令行)计算外壳语言,例如IBM的JCL、MS-DOS的command解释器,以及UNIX的sh和csh外壳族等,例如IBM的RPG,以及UNIX的sed和awk等。从这些应用中演化出的Rexx,即IBM的“重构的可扩充执行器”,时间可以追溯到1979年;还有Perl,由LarryWall于20世纪80年代后期开始设计,现在已成为使用最广泛的通用脚本语言。其他通用的脚本语言包括Tel(“tickle”)、Python、Ruby、VBScript(用于Windows)和AppleScript (用于Mac)。

虽然很难精确地定义脚本语言,但它们还是有一些大致都有的公共特征,如同时支持批处理和交互式使用、经济的表达式、以解释方式运行等。脚本语言与编程语言也有很多相似的地方,其函数与编程语言比较相像一些,其也涉及到变量。

完形填空

Our teacher,Miss Chua,is nearing retirement.However, she still commands our great  1   for being an excellent teacher. 

She has short hair that is gradually   2 white,an indication that age is creeping on her.The wrinkles (皱纹) that line her face   3  of years of hard work and selfless devotion to her students.She wears a pair of glasses through which her kind eyes are always   4  fixed upon us with affection and consideration.She looks

splendid in her   5  clothes which she will not throw away for something more  6  ,reflecting a thrifty (节俭的) nature.Through her,we have learned to be more careful with   7  .Not only that,she has also taught us the  8  of filial duty (孝道) by setting us a good   9  of looking after her eighty-five years old mother.

All her life,she has never  10  her duty towards her family and her students.For much

of her life,she has been working hard,displaying a   11   of discipline and an attitude of industry which she is presently   12  to fix in our mind. As her parents could not afford to  13 her to university,she saved hard and managed to graduate   14  a master degree from a British university.This is an inspiration to us—that absolute   15  leads to eventual fulfillment of dreams.

Miss Chua is totally committed to the  16  of her students.Armed with a keen insight into the teaching process,she never fails to  17  our minds and most important,her gift to us has been the development of a good  18  of English.   The day when Miss Chua   19  school and retires,I will send her a thousand flowers with the message “You’ve  20  us well.” I will never forget her.She has made a great impact on my life and on my English.

1. A.support                  B.attention    C.respect              D.view

2. A.changing           B.turning   C.appearing         D.showing

3. A.tell                    B.speak      C.talk                   D.think

4. A.sharply                  B.suddenly     C.generally        D.gently

5. A.matching           B.expensiveC.dry                   D.new

6. A.valuable           B.fashionableC.comfortable      D.available

7. A.friends                  B.studies      C.time                D.money

8. A.virtue                    B.lesson    C.method            D.technique

9. A.goal                  B.example     C.pattern            D.standard

10. A.performed            B.done       C.ignored             D.had

11. A.process           B.need        C.series                D.sense

12. A.trying                  B.willing     C.learning            D.getting

13.A.send                     B.accompanyC.take                D.bring

14.A.upon                    B.to          C.for                  D.with

15. A.development        B.determinationC.decoration          D.distinction

16. A.talent                   B.success  C.experience          D.entertainment

17.A.charge                  B.concentrateC.challenge        D.change

18.A.appreciation          B.writing   C.command         D.skill

19. A.leaves                  B.enters        C.quits                     D.attends

20. A.protected             B.showed      C.guarded          D.guided

多项选择题