itgle.com

下列程序段执行后t5的结果是( )。int t1 = 9, t2 = 11, t3=8;int t4,t5;t4 = t1 > t2 ? t1 : t2+ t1;t5 = t4 > t3 ? t4 : t3;A.8B.20C.11D.9

题目
下列程序段执行后t5的结果是( )。int t1 = 9, t2 = 11, t3=8;int t4,t5;t4 = t1 > t2 ? t1 : t2+ t1;t5 = t4 > t3 ? t4 : t3;

A.8

B.20

C.11

D.9


相似考题
更多“下列程序段执行后t5的结果是( )。int t1 = 9, t2 = 11, t3=8;int t4,t5;t4 = t1 > t2 ? t1 : t2+ t1;t5 = t4 > t3 ? t4 : t3; ”相关问题
  • 第1题:

    【T1】

    A.SEEK

    B.LOOKED

    C.PART A.TAKING【T1】______IN DANGEROUS SPORTS AND ACTIVITIES

    B.WHO HAVE【T2】______FOR ADVENTURE

    C.WHO【T3】______AN IMMEDIATE EXCITEMENT FROM A RISKY ACTIVITY AROUND THE WORLD MORE AND MORE PEOPLE ARE【T4】______.OF COURSE, THERE HAVE ALWAYS BEEN PEOPLE【T5】______—THOSE WHO HAVE CLIMBED THE HIGHEST MOUNTAINS, EXPLORED UNKNOWN PARTS OF THE WORLD OR SAILED IN SMALL BOATS ACROSS THE GREATEST OCEANS.NOW, HOWEVER, THERE ARE PEOPLE【T6】_______ WHICH MAY ONLY LAST A FEW MINUTES OR EVEN SECONDS.


    正确答案:part
    takepartin为固定短语,意为“参加,参与”。

  • 第2题:

    【T3】

    A.SEEK

    B.LOOKED

    C.PART A.TAKING【T1】______IN DANGEROUS SPORTS AND ACTIVITIES

    B.WHO HAVE【T2】______FOR ADVENTURE

    C.WHO【T3】______AN IMMEDIATE EXCITEMENT FROM A RISKY ACTIVITY AROUND THE WORLD MORE AND MORE PEOPLE ARE【T4】______.OF COURSE, THERE HAVE ALWAYS BEEN PEOPLE【T5】______—THOSE WHO HAVE CLIMBED THE HIGHEST MOUNTAINS, EXPLORED UNKNOWN PARTS OF THE WORLD OR SAILED IN SMALL BOATS ACROSS THE GREATEST OCEANS.NOW, HOWEVER, THERE ARE PEOPLE【T6】_______ WHICH MAY ONLY LAST A FEW MINUTES OR EVEN SECONDS.


    正确答案:seek
    seekfrom为固定短语,意为“从……中寻求”。

  • 第3题:

    【T5】

    A.SEEK

    B.LOOKED

    C.PART A.TAKING【T1】______IN DANGEROUS SPORTS AND ACTIVITIES

    B.WHO HAVE【T2】______FOR ADVENTURE

    C.WHO【T3】______AN IMMEDIATE EXCITEMENT FROM A RISKY ACTIVITY AROUND THE WORLD MORE AND MORE PEOPLE ARE【T4】______.OF COURSE, THERE HAVE ALWAYS BEEN PEOPLE【T5】______—THOSE WHO HAVE CLIMBED THE HIGHEST MOUNTAINS, EXPLORED UNKNOWN PARTS OF THE WORLD OR SAILED IN SMALL BOATS ACROSS THE GREATEST OCEANS.NOW, HOWEVER, THERE ARE PEOPLE【T6】_______ WHICH MAY ONLY LAST A FEW MINUTES OR EVEN SECONDS.


    正确答案:B
    破折号后的内容是对前文内容的解释说明,破折号列举的那些人都是渴望冒险的人,所以选B。

  • 第4题:

    【T2】

    A.SEEK

    B.LOOKED

    C.PART A.TAKING【T1】______IN DANGEROUS SPORTS AND ACTIVITIES

    B.WHO HAVE【T2】______FOR ADVENTURE

    C.WHO【T3】______AN IMMEDIATE EXCITEMENT FROM A RISKY ACTIVITY AROUND THE WORLD MORE AND MORE PEOPLE ARE【T4】______.OF COURSE, THERE HAVE ALWAYS BEEN PEOPLE【T5】______—THOSE WHO HAVE CLIMBED THE HIGHEST MOUNTAINS, EXPLORED UNKNOWN PARTS OF THE WORLD OR SAILED IN SMALL BOATS ACROSS THE GREATEST OCEANS.NOW, HOWEVER, THERE ARE PEOPLE【T6】_______ WHICH MAY ONLY LAST A FEW MINUTES OR EVEN SECONDS.


    正确答案:looked
    lookfor为固定短语,意为“渴望,寻找”,且空格前出现了have,此处需填一过去分词,所以选looked。

  • 第5题:

    【T4】

    A.SEEK

    B.LOOKED

    C.PART A.TAKING【T1】______IN DANGEROUS SPORTS AND ACTIVITIES

    B.WHO HAVE【T2】______FOR ADVENTURE

    C.WHO【T3】______AN IMMEDIATE EXCITEMENT FROM A RISKY ACTIVITY AROUND THE WORLD MORE AND MORE PEOPLE ARE【T4】______.OF COURSE, THERE HAVE ALWAYS BEEN PEOPLE【T5】______—THOSE WHO HAVE CLIMBED THE HIGHEST MOUNTAINS, EXPLORED UNKNOWN PARTS OF THE WORLD OR SAILED IN SMALL BOATS ACROSS THE GREATEST OCEANS.NOW, HOWEVER, THERE ARE PEOPLE【T6】_______ WHICH MAY ONLY LAST A FEW MINUTES OR EVEN SECONDS.


    正确答案:A
    空格前的are与A项中的现在分词taking相互对应,所以选A。