A.college
B.colleague
C.challenge
D.change
第1题:
以下程序的运行结果为______。 char *c []={ "ENTER", "NEW", "POINT", "FIRST" }; char **cp []={ c+3, c+2, c+1, c}; char ***cpp=cp; main () {printf ("%s\n",**++cpp); }
A.ENTER
B.NEW
C.POINT
D.FIRST
第2题:
Today,there are altogether()departments of the U.S.government.
A13
B11
C17
D15
第3题:
考虑下面文法G(S): S→a∣ᴧ∣(T) T→T,S∣S (1)消去G(S)的左递归。 (2)给出所有非终结符的FIRST()和FOLLOW()集合。
第4题:
● 给定文法G[S]及其非终结符A,FIRST(A)定义为:从A出发能推导出的终结符号的集合(S 是文法的起始符号,为非终结符)。对于文法G[S]:
S→[L] | a
L→L, S| S
其中,G[S]包含的四个终结符号分别为:
a , [ ]
则FIRST(S)的成员包括 (48) 。
(48)
A. a
B. a、[
C. a、[和]
D. a、[、]和,

第5题:
330038003000301585063878906把将字符串s中的一个子串替换成另一个指定的字符串所用到的函数是
A.330038003000301585063878906 s.replace(old, new [, max])
B.s.rindex(str, beg=0, end=len(string))
C.s.strip([chars])
D.s.changeplace(old, new [, max])
第6题:
用vi打开一个文件,如何用字母”new”来代替文件中所有的字母”old”
A.:r/old/new
B.:s/old/new
C.:1,$s/old/new/g
D.:%s/old/new/g