【单选题】【消耗次数:1】
语句If x=1 Then y=1,下列说法正确的是( )。
x=1和y=1均为赋值语句
x=1和y=1均为关系表达式
x=1为关系表达式,y=1为赋值语句
x=1为赋值语句,y=1为关系表达式
参考答案:
复制
纠错
➡️如需代学继续教育,联系微信:yizhituziang

相关题目
【单选题】 设 int x=0, y=1; 表达式(x||y)的值是 ( )
①  0
②  1
③  2
④  -1
【单选题】 若已定义x和y为double类型,则表达式x=1,y=x+3/2的值是
①  1
②  2
③  2.0
④  2.5
【单选题】 若已定义int a=3,b=3,x=1,y=2;表达式(a=y>x)&&(x=b>a)的值是()。
①  6
②  1
③  9
④  0
【单选题】 执行下列语句后,x和y的值是() int x,y; x=y=1; ++x || ++y;
①  1和1
②  1和2
③  2和1
④  2和2
【单选题】 设 x = 1 , y = 2 , z = 3,则表达式 y+=z--/++x 的值是( )。
①  3
②  3. 5
③  4
④  5
【单选题】 若w=1,x=2,y=3,z=4,则表达式w<x?w:y<z?y:z的值是()
①  4
②  3
③  2
④  1
【单选题】 x>0 || y==5的相反表达式为(????)
①  x0 || y!=5
②  x>0 && y==5
【单选题】 x>0|| y==5的相反表达式为()。
①  x0 || y!=5
②  x>0 && y==5
【单选题】 表示关系x<=y<=z的c语言表达式为
①  X<=Y)&&Y<=Z)
②  X<=Y)ANDY<=Z)
③  X<=Y<=Z)
④  X<=Y)&Y<=Z)
【简答题】 设 A={1, 2, 4, 6}, 分别求关系 R={|x, y∈Aùx+y12}、{|x, y∈Aù|x-y|=1}、{|x, y∈Aùx/y∈A}和{|x, y∈Aùy 为素数}。
随机题目
【单选题】 She put an extra blanket over the baby for fear that ____.
①  he catches cold
②  he should catch cold
③  he caught cold
④  he be catching cold
【单选题】 There is an increasing ____ to make movies describing violence.
①  strength
②  direction
③  tradition
④  trend
【单选题】 There have been few novels by revolutionaries free of those faults____ by Marx and Engels.
①  punished
②  blamed
③  criticized
④  scolded
【单选题】 You’re better ____ from work tomorrow.
①  not be absent
②  not to absent
③  not to be absent
④  not absenting
【单选题】 He considered that the change would be ____ to his health.
①  healthy
②  available
③  profitable
④  beneficial
【单选题】 Mary will not be able to come to the birthday party as she is ____ with a cold.
①  laid out
②  laid up
③  laid by
④  laid down
【单选题】 A ____ language is one which is still spoken by people in the course of their everyday lives.
①  living
②  live
③  lovely
④  alive
【单选题】 The ____ of beer and alcohol in New Zealand is very high.
①  consumption
②  use
③  drink
④  absorption
【单选题】 The woman murdered her friend and ______ to ______.
①  was sentenced , death
②  sentencing , die
③  sentenced , death
④  sentenced , die
【单选题】 _____ that we couldn’ t catch up with him.
①  So fast he ran
②  So fast did he run
③  So fast ran he
④  Such fast did he run