【单选题】【消耗次数:1】
设a=1,b=2,c=3,d=4,则表达式:a>b?a:c>d?a:d的结果为()
4
3
2
1
参考答案:
复制
纠错
相关题目
【单选题】 设:inta=1,b=2,c=3,d=4,m=2,n=2;执行(m=a>b)&&(n=c>d)后n的值为()。
①  1
②  2
③  3
④  4
【单选题】 集合A={a,b,c},A上的二元关系R={<a,a>&lt;A,A&gt;,&lt;B,B&gt;,&lt;A,C&gt;<b,b><a,c>},则R具有以下性质()。</a,c></b,b></a,a>
①  自反性、反对称性、传递性
②  反自反性、反对称性、传递性
③  对称性、传递性
④  反对称性、传递性
【单选题】 下述程序的运行结果( )。 #includevoid main() { int a=5,b=4,c=3,d=2; if(ac)printf(%d\n else if((c-1=d)==1)printf(%d\n,d+1); else printf(%d\n,d+2); }
①  1
②  2
③  3
④  4
【单选题】 若有定义:int a=3,b=2,c=1;并有表达式:①a%b,②a>b>c,③b&&c+1,④c+=1,则表达式值相等的是()。
①  ①和②
②  ②和③
③  ①和③
④  ③和④
【单选题】 下述程序的运行结果( )。 #includevoid main() { int a=5,b=4,c=3,d=2; if(ac)printf(%d\n else if((c-1=d)==1)printf(%d\n,d+1); else printf(%d\n,d+2); }
①  0
②  1
③  2
④  3
【单选题】 某分部工程分四个施工段,其流水节拍如下: A过程:3天、2天、1天、4天; B过程:2天、3天、2天、3天; C过程:1天、3天、2天、3天; D过程:2天、4天、3天、1天。 则BA、B、、BB、C、BC、D为_______天
①  3、4、3
②  3、2、3
③  2、4、3
④  3、4、2
【简答题】 设 A = {1, 2=,2, 4=,3, 3=},B = {1, 3=,2, 4=,4, 2=},则求差关系A-B。
【简答题】 设 A = {1, 2=,2, 4=,3, 3=},B = {1, 3=,2, 4=,4, 2=},则交关系A∩B等于:[填空1]
【单选题】 以下程序的运行结果是:main){intk=4,a=3,b=2,c=;printf\n%d\n,k<a?k:c<b?c:a);}
①  4
②  3
③  2
④  1
【简答题】 设 A = {1, 2=,2, 4=,3, 3=},B = {1, 3=,2, 4=,4, 2=},则对称差关系A⊕B等于:[填空1]
随机题目
【判断题】 A: Haven’t seen you for ages! You look fine! B: Great. You look well, too.
①  正确
②  错误
【判断题】 A: Is Mary very sick? B: I’m afraid so.
①  正确
②  错误
【单选题】 I _______ apply for the job, but I havent decided yet.
①  am going to
②  might
③  hope to
【单选题】 Bob owed lots of money to the man, _______company went bankrupt.
①  whom
②  who
③  whose
【单选题】 The guard has been asked to_______the door, but so far the door is still closed.
①  open
②  opening
③  be opened
【单选题】 Mr Green _______a good teacher.
①  has always been
②  has been always
③  always has been
【单选题】 He _______ working before 6 o’clock.
①  usually has finished
②  has usually finished
③  usually finished
【单选题】 The balcony _______.
①  needs repair
②  needs repairing
③  needs to repair
【单选题】 _______I hated most was the difficulties in the work in my early career, but now I like them.
①  That
②  What
③  /
【单选题】 In order to communicate with foreigners, we_______foreign language.
①  need to study
②  need studying
③  need study