题目内容

设将n(n,1)个整数存放到一维数组R中,试设计一个在时间和空间两方面尽可能有效的算法,将R中保有的序列循环左移P(0<P<n)个位置,即将R中的数据由(X1,X2,…,Xn)变换为(Xp,Xp+1,…,Xn,X1,…,Xp-1)[要求] 给出算法的基本设计思想。

查看答案
更多问题

社区矫正对象邢燕十年前因贩卖海洛因被判入狱,于最近刑满出狱。十年的铁窗生活让她对周围环境感到既陌生又不适,每每走在小区中总感觉周围的人对她投来异样的、鄙视的目光,因此她也不愿与别人交往。有一天,她到某部门申请办理劳动手册,工作人员告诉她由于她的材料不齐全无法办理,她觉得是工作人员在为难她,顿生火气,破口大骂工作人员,甚至当场将申请表撕毁。社会工作者姜丽了解到该情况后对邢燕做了个案辅导,帮助邢燕认识到她的冲动行为反映出她的自卑心理。经过多次沟通,邢燕逐渐调整了自我认识,并能理性地处理生活中出现的棘手问题。这里社会工作者姜丽进行的个案辅导是以( )理论为基础的。

A. 认知
B. 标签
C. 心理分析
D. 优势视角

《人民警察法》第2条第1款规定:“人民警察的任务是维护国家安全,维护社会治安秩序,保护公民的人身安全、人身自由和合法财产,保护公共财产,防止、制止和惩治违法犯罪活动。”上述规定是对人民警察( )规定的重要阐述。

A. 宗旨
B. 性质
C.职能
D. 任务

In this section there are four passages followed by questions or unfinished statements, each with four suggested answers marked [ A ] , [ B 1 , [CJ , and [ D ]. Choose the one that you think is the best answer. Mark your answers on your ANSWER SHEET.TEXT A It is possible for students to obtain advanced degree in English while knowing little or nothing about traditional scholarly methods. The consequences of this neglect of traditional scholarship are particularly unfortunate for the study of women writers. If the canon the list of authors whose works are most widely taught—is ever to include more women, scholars must be well trained in historical scholarship and textual editing. Scholars who do not know how to read early manuscripts, locate rare hooks, establish a sequence of editions, and so on are lacking in crucial tools for revising the canon. To address such concerns, an experimental version of the traditional scholarly methods course was de signed to raise students’ consciousness about the usefulness of traditional learning for any modern critic or theorist. To minimize the artificial aspects of the conventional course, the usual procedure of assigning a large number of small problems drawn from the entire range of historical periods was abandoned, though this procedure has the obvious advantage of at least superficially familiarizing students with a wide range of reference sources①. Instead students were engaged in a collective effort to do original work on a neglected eighteenth century writer, Elizabeth Griffith, to give them an authentic experience of literary scholarship and to inspire them to take responsibility for the quality of their own work. Griffith’s work presented a number of advantages for this particular pedagogical purpose. First, the body of extant scholarship on Griffith was so tiny that it could be all read in a day, thus students spent little time and effort mastering the literature and had a clear field for their own discoveries. Griffith’s play—The Platonic Wife exists in three visions, enough to provide i]lustrations of editorial issues but not too many for beginning students to manage. In addition, because Griffith was successful in the eighteenth century, as her continued productivity and favorable reviews demonstrate, her exclusion from the canon and virtual disappearance from literary history also helped raise issues concerning the current canon. The range of Griffith’s work meant that each student could become the world’s leading authority on a particular Griffith text. For example, a student studying Griffith’s Wife in the Right obtained a first edition of the play and studied it for some weeks. This student was suitably shocked and outraged to find its title trans formed into A Wife in the Night in Watt’s Bibliotheca Britannica. Such experiences, inevitable and common in working on a writer to whom so little attention has been paid serve to vaccinate the student—I hope for a lifetime—against credulous use of reference sources②. What is the function of the last paragraph in relation to the passage as a whole

A. It summarizes the benefits students can derive from the experimental scholarly methods course.
B. It provides additional reasons why Griffith’s works raises issues having to do with the canon of authors.
C. It provides an illustration of the immediate nature of the experiences students can derive from the experimental scholarly methods course.
D. It contrasts the experience of a student in the experimental scholarly methods course with the experience of a student in the traditional course.

TEXT B Cultural norms so completely surround people, so permeate thought and action, that we never recognize the assumptions on which their lives and their sanity rest. As one observer put it, if birds were suddenly endowed with scientific curiosity they might examine many things, but the sky itself would be overlooked as a suitable subject; if fish were to become curious about the world, it would never occur to them to begin by investigating water①. For birds and fish would take the sky and sea for granted, unaware of their profound influence because they comprise the medium for every fact. Human beings, in a similarly way, occupy a symbolic universe governed by codes that are unconsciously acquired and automatically employed. So much so that they rarely notice that the ways they interpret and talk about events are distinctively different from the ways people conduct their affairs in other cultures. As long as people remain blind to the sources of their meanings, they are imprisoned within them. These cultural frames of reference are no less confining simply because they cannot be seen or touched. Whether it is an individual neurosis that keeps an individual out of contact with his neighbors, or a collective neurosis that separates neighbors of different cultures, both are forms of blindness that limit what can be experienced and what can be learned from others②. It would seem that everywhere people would desire to break out of the boundaries of their own experiential worlds. Their ability to react sensitively to a wider spectrum of events and peoples requires an overcoming of such cultural parochialism. But, in fact, few attain this broader vision. Some, of course, have little opportunity for wider cultural experience, though this condition should change as the movement of people accelerates. Others do not try to widen their experience because they prefer the old and familiar, seek from their affairs only further confirmation of the correctness of their own values. Still others recoil from such experiences because they feel it dangerous to probe too deeply into the personal or cultural unconscious. Expo sure may reveal how tenuous and arbitrary many cultural norms are; such exposure might force people to ac quire new bases for interpreting events. And even for the many who do seek actively to enlarge the variety of human beings with whom they are capable of communicating there are still difficulties. Cultural myopia persists not merely because of inertia and habit, but chiefly because it is so difficult to overcome. One acquires a personality and a culture in childhood, long before he is capable of comprehending either of them. To survive, each person masters the perceptual orientations, cognitive biases, and communicative habits of his own culture. But once mastered, objective assessment of these same processes is awkward since the same mechanisms that are being evaluated must be used in making the evaluations. Which of the following statements is TRUE according to the passage

A. Individual and collective neurosis might prevent communications with others.
B. People in different cultures may be governed by the same cultural norms.
C. People’s visions will be enlarged if only they knew that cultural differences exist.
D. If cultural norms are something tangible, they won’t be so confining.

答案查题题库