
2024 Chap 4 运算式 Test 2
Authored by C Programming undefined
Computers
University
Used 50+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
1 min • 1 pt
在C语言程式里,x*=y+2的式子等同于以下哪个答案?
x=x*(y+2)
x=y+2*x
x=2+y*x
x=x*y+2
2.
MULTIPLE SELECT QUESTION
1 min • 1 pt
已知int x =3,y=5,z=0 当执行z=(x++,y--)时,z的结果为?
3
4
5
8
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
已知x=2, y=7, 当执行x+=y*5 后, x的值为?
37
45
49
56
4.
MULTIPLE SELECT QUESTION
1 min • 1 pt
假设a=5,b=3,请写出 a%b的结果。
0
1
2
3
5.
MULTIPLE SELECT QUESTION
1 min • 1 pt
若int x =10, y = 10;
printf("%d,%d\n", x--, --y);输出的结果为?
10,9
9,10
9,9
10,10
6.
MULTIPLE SELECT QUESTION
1 min • 1 pt
int x = 20 ,y =35, z;
若z = x==(y-5);printf("%d\n",z);
若z = x!=y;printf("%d\n",z);
输出的结果为?
1,1
0,0
1,0
0,1
7.
MULTIPLE SELECT QUESTION
1 min • 1 pt
int a=0, b=1, c=0, z;
若z = a && b && c;
printf("%d\n",z);的结果为?
1
0
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?