寄托天下 寄托天下
查看: 3324|回复: 6
打印 上一主题 下一主题

[计算机] 没有人讨论CS SUB的题吗?我有很多题不明白 [复制链接]

Rank: 1

声望
0
寄托币
116
注册时间
2003-7-28
精华
0
帖子
0
跳转到指定楼层
楼主
发表于 2004-10-25 22:17:48 |只看该作者 |倒序浏览
已经毕业三年,学过的东西都忘光了。现在工作很忙,也没有时间看书,SUB的很多题都看不懂或是没有思路,急死了。下面的题目,可能是不包括在GRE SUB.pdf中,也有一些是看过有疑问的,请教大家:

10/25/04--今天看的是94年的题
16.A computer network consists of n interconnected processors. What is the minimum number of communication likes to provide two distinct paths between any two processors?
(A) ?|n/2|      (B) n(n-1)/2       (C) n(n-1)        (D) n         (E) 2n
n个互联处理器,任意两个处理器间两条不同路径所需建立的连接。我觉得应该是2(n-1),可是没有这个选项,是不是我理解错了?

19. Suppose that {S1,S2,……SN} is a set of N fixed- length strings ordered alphabetically so that S1 < S2 <…< Sn .
      Suppose that these strings are held in some binary search tree, where nodes consist of a string , a pointer to the parent (nil if the node is the root), a pointer to the left child(nil if none), and a pointer to the right child(nil if none). The worst-case time to locate the node holding Si+1 given the node holding Si over all i , 1≤S<N,and of all possible binary search trees for S1,S2,……SN has order
  (A) 1     (B) log 2 N     (C) N     (D) N log 2 N     (E) N 2
二叉查找树,已知Si,求Si+1的查找长度吗?应该是二叉树的深度吧,我觉得B对。

22.钟控D触发器,移位,输出反向送入输入,,多少个时钟周期后循环?请问E中的2如何得出来的?

26-27.堆栈的题目,请问顺序栈中,下标应从0开始吧,表示空栈。我认为不应该是1。

28. 29. 题目没有看懂,可以翻译一下吗?

36        Consider the following program segment written in a block structured language (Which is not Pascal) that uses a stack discipline for a allocating local variables.
              begin
                   var  x , y : real;
                   var  i , j : integer;
                   for  i: =1 to 10  do
                   begin
                       var  j : integer;
                        j : =  l;
                   end
                   for  j : = 1 to 10  do
                      begin
                          var  y : real;
                          y : = 2.0 * j
                      end
              end ;
suppose integer variables and real variables require one word of storage per variable . How many words of storage are required for the variables of the program segment above ?
(A) 4     (B) 5     (C) 6       (D) 14      (E) 24
这题应选E吧,不应选B吧
回应
0

使用道具 举报

Rank: 1

声望
0
寄托币
40
注册时间
2002-1-5
精华
0
帖子
0
沙发
发表于 2004-10-26 10:43:22 |只看该作者
在GRE计算机转向考试指南中有详细解答

使用道具 举报

Rank: 11Rank: 11Rank: 11Rank: 11

声望
9
寄托币
9557
注册时间
2002-10-28
精华
6
帖子
16

荣誉版主

板凳
发表于 2004-10-27 19:48:01 |只看该作者
你的问题不少,我也是在职的,希望对你有所帮助
https://bbs.gter.net/bbs/showthread.php?s=&threadid=213775

使用道具 举报

Rank: 1

声望
0
寄托币
116
注册时间
2003-7-28
精华
0
帖子
0
地板
发表于 2004-10-27 23:39:56 |只看该作者

谢谢headlong, 谢谢斑竹

我开始看了,分类做得很好呀。太感谢了。

使用道具 举报

Rank: 1

声望
0
寄托币
40
注册时间
2002-1-5
精华
0
帖子
0
5
发表于 2004-10-28 02:26:51 |只看该作者
书写得很清楚,不应该有很多问题。还要仔细研究现在提供的样题,肯定很多会重复出现。

使用道具 举报

Rank: 2

声望
0
寄托币
108
注册时间
2004-10-30
精华
0
帖子
0
6
发表于 2004-10-31 15:45:59 |只看该作者
安心一口一口的吃,别让它给蒙住了,

使用道具 举报

Rank: 1

声望
0
寄托币
18
注册时间
2004-1-26
精华
0
帖子
0
7
发表于 2004-11-2 13:39:37 |只看该作者
请问大家谁有书后冲刺题的答案?好像是2000年的回忆题.做完了也不知道对不对...

使用道具 举报

RE: 没有人讨论CS SUB的题吗?我有很多题不明白 [修改]
您需要登录后才可以回帖 登录 | 立即注册

问答
Offer
投票
面经
最新
精华
转发
转发该帖子
没有人讨论CS SUB的题吗?我有很多题不明白
https://bbs.gter.net/thread-228084-1-1.html
复制链接
发送
报offer 祈福 爆照
回顶部