问题 问答题

Silicon Valley is a magnet to which numerous talented engineers, scientists and entrepreneurs from overseas flock in search of fame, fast money and to participate in a technological revolution whose impact on mankind will surely surpass the epoch-making European Renaissance and Industrial Revolution of the bygone age.
(46) With the rapid spread of the Internet since the early 1990s, and the relentless technological innovations generated through it, the information era is truly upon us, profoundly influencing and changing not only our lifestyle, but also the way we work, do business, think and communicate with others.
(47) The unprecedented success of the Valley is a testimony to the concerted international endeavors and contributions by people from diverse cultural and racial backgrounds, made possible by the favorable political, economic and intellectual climate prevailing, as well as the farsighted policies of the US government.
Many countries have, or are in the process of creating, their own "Silicon Valley". So far, none has as yet threatened the preeminence of the US prototype. What makes Silicon Valley such a Unique entity There are several crucial factors.
(48) First and foremost, it has the largest concentration of brilliant computer professionals and the best supporting services in the world, and easy access to world-class research institutions, like Stanford University, which continually nurtures would-be that the industry needs in order to move forward. Without these advantages, the Valley would be a different place.
Secondly, it actively encourages, or even exalts, risk taking. Hence, failure holds no terror and there is no shame attached to a failed effort. On the contrary, they will try even harder next time round. Such never-say-die approach is the sine qua non for the ultimate triumph in entrepreneurship and technological breakthrough.
(49) A third decisive factor is the vital role of venture capitalists who willingly support promising start-ups with urgently needed initial capital to get them started. Some would even give failed entrepreneurs a second chance if convinced that a fresh concept might lead to ultimate success.
(50) Of equal importance, bright young people and middle level professionals are keen to work for a new venture at substantially reduced remuneration, as it offers more scope for entrepreneurship and job satisfaction than the established companies. There is also a pride of achievement if their efforts contribute to its fruition.
Intellectual challenges aside, it is a common practice for start-ups to offer generous share options to employees in order to attract the right talent into their folds. This is a powerful incentive to motivate the staff to do their utmost and to share in the company’s prosperity if it reaches its goal Many regard this as the foundation of a successful enterprise.

答案

参考答案:20世纪90年代互联网快速普及,随即产生的日新月异的科技革新,我们真正步入了信息时代。这一切深刻地影响着和改变了我们的生活方式以及就业、经商、思考和沟通方式。

单项选择题
多项选择题

试题一(共 15 分)阅读以下说明和算法,完善算法并回答问题,将解答写在答题纸的对应栏内。[说明]假设以二维数组G[1..m,1..n]表示一幅图像各像素的颜色,则G[i,j]表示区域中点(i,j)处的颜色,颜色值为0 到k 的整数。下面的算法将指定点(i0,j0)所在的同色邻接区域的颜色置换为给定的颜色值。约定所有与点(i0,j0)同色的上、下、左、右可连通的点组成同色邻接区域。例如,一幅8×9 像素的图像如图1-1 所示。设用户指定点(3,5),其颜色值为0,此时其上方(2,5)、下方 (4,5)、右方(3,6)邻接点的颜色值都为0,因此这些点属于点(3,5)所在的同色邻接区域,再从上、下、左、右四个方向进行扩展,可得出该同色邻接区域的其他点(见图1-1 中的阴影部分)。将上述同色区域的颜色替换为颜色值7 所得的新图像如图1-2 所示。

[算法]输入:矩阵 G,点的坐标(i0,j0),新颜色值newcolor。输出:点(i0,j0)所在同色邻接区域的颜色置换为newcolor 之后的矩阵G。算法步骤(为规范算法,规定该算法只在第七步后结束):第一步:若点(i0,j0)的颜色值与新颜色值newcolor 相同,则(1) ;第二步:点(i0,j0)的颜色值→oldcolor;创建栈S,并将点坐标(i0,j0)入栈;第三步:若 (2) ,则转第七步;第四步:栈顶元素出栈→(x,y),并(3) ;第五步:1) 若点(x,y-1)在图像中且G[x,y-1]等于oldcolor,则(x,y-1)入栈S;2) 若点(x,y+1)在图像中且G[x,y+1]等于oldcolor,则(x,y+1)入栈S;3) 若点(x-1,y)在图像中且G[x-1,y]等于oldcolor,则(x-1,y)入栈S;4) 若点(x+1,y)在图像中且G[x+1,y]等于oldcolor,则(x+1,y)入栈S;第六步:转 (4) ;第七步:算法结束。[问题]是否可以将算法中的栈换成队列?回答: (5) 。