问题 单项选择题

运算器在执行两个用补码表示的整数加法时,下面判断是否溢出的规则中哪一个是正确的

A.两个整数相加,若最高位(符号位)有进位,则一定发生溢出

B.两个整数相加,若结果的符号位为0,则一定发生溢出

C.两个整数相加,若结果的符号位为1,则一定发生溢出

D.两个同号的整数相加,若结果的符号位与加数的符号位相反,则一定发生溢出

答案

参考答案:D

解析:这是考查对整数算术运算的灵活掌握。加法时判断有无溢出的规则是:两个同号的整数相加,若结果的符号位与加数的符号位相反,则一定发生溢出,所以选择选项D。另外,减法时判断有无溢出的规则是:两个异号的整数相减,若结果的符号位与被减数的符号位相反,则发生溢出。

完形填空

第二节 完型填空(共20小题;每小题l.5分。满分30分)

阅读下面短文,从短文后各题所给的四个选项(A、B、C、D)中,选出可以填入空白处的最佳选项。

I’ve always had strong opinions of how love should be expressed, but others had their own ways of showing care.

What I   36   most about visiting my boyfriend’s parents is the loud tick of the clock in the dining room as we   37   ate our meal. With so little conversation I was quick to   38  his family as cold. When we got into the   39   to go home, his father suddenly appeared. 40   , he began to wash his son’s windscreen. I could feel he is a caring man through the glass.

I learned another lesson about love a few years later. My father often  41   me early in the morning. “Buy Xerox. It’s a good sharp price,” he might say when I answered the phone. No pleasant  42  or inquiry about my life ,just financial instructions. This manner of his  43  me and we often quarreled. But one day, I thought about my father’s success in business and realized that his concern for my financial security lay behind his  44    morning calls. The next time he called and told me to buy a stock, I  45   him.

When my social style has conflicted with that of my friends, I’ve often felt   46  . For example, I always return phone calls   47   and regularly contact with my friends. I expect the same from them. I had one friend who rarely called, answering my messages with short e-mails. I rushed to the   48   : She wasn’t a good friend! My anger   49    as the holidays approached. But then she came to a gathering I   50  and handed me a beautiful dress I had fallen in love with when we did some window-shopping the previous month. I was   51    at her thoughtfulness, and regretful for how I’d considered her to be   52   . Clearly I needed to change my expectations of friends.

Far too often, I ignored their   53    expressions, eagerly expecting them to do things in my   54   .Over the years, however, I’ve learned to   55    other persons, love signs.

36. A. remember      B. enjoy           C. value          D. admire

37. A. excitedly       B. nervously       C. silently         D. instantly

38. A. regard         B. treat            C. take           D. think

39. A. bus           B. train            C. car             D. plane

40. A. Punctually     B. Carefully        C. Proudly         D. Coldly

41. A. visited        B. interrupted       C. warned          D. telephoned

42. A. greeting       B. meeting          C. apology         D. explanation

43. A. interested      B. angered          C. encouraged      D. surprised

44. A. long         B. short            C. warm           D. polite

45. A. praised       B. remembered       C. blamed         D. thanked

46. A. content       B. guilty            C. curious         D. disappointed

47. A. in order      B. in turn            C. without delay    D. without difficulty

48. A. feeling       B. suggestion        C. judgment        D. belief

49. A. disappeared   B. grew             C. helped          D. declined

50. A. opened       B. refused          C. hosted           D. invited

51. A. depressed    B. upset            C. fascinated         D. shocked

52. A. uncaring     B. dishonest         C. unhappy          D. uncooperative

53. A. unique       B. common         C. pleasant         D. familiar

54. A. opinion      B. way              C. mind           D. life

55. A. send         B. read             C. give            D. express

填空题