题目内容

Assumex=4andy=5,whichofthefollowingistrue?

A. x>5&&y>5
B. x>5||y>5
C. x<5||y<5
D. x<5&&y<5

查看答案
更多问题

Whichofthefollowingisthecorrectexpressionthatevaluatestotrueifthenumberxisbetween1and100orthenumberisnegative?

A. ((x<100)&&(x>1))&&(x<0)
B. (1>x>100)||(x<0)
C. ((x<100)&&(x>1))||(x<0)
D. 1

WhichoftheBooleanexpressionsbelowhasincorrectsyntax?

A. (x>0)||(x<0)
B. (x!=0)||(x=0)
C. !(x>0)&&(x>0)
D. (true)&&(3>4)

Assumex=4andy=5,whichofthefollowingistrue?

A. !(x==4)^y!=5
B. x!=4^y==5
C. x!=5^y!=4
D. x==5^y==4

Supposex=10andy=10.Whatisxafterevaluatingtheexpression(y>=10)||(x++>10).

A. 11
B. 9
C. 10

答案查题题库