Matt's utility function is min{x,4y + 5z}. The price of x is 1, the price of y is 4, and the price of z is 7. Matt's income is 8. How many units of x does Matt demand?
A: 4
B: 7
C: 3.33
D: 5
A: 4
B: 7
C: 3.33
D: 5
举一反三
- 下列程序段的执行结果是( )。 x = 5: y = 7: z = 8 If x < y Then t = x: x = y: y = t End If If y < z Then t = y: y = z: z = t If x < y Then t = x: x = y: y = t End If End If Print x, y, z A: 8 5 7 B: 8 7 5 C: 5 7 8 D: 7 5 8
- 已有定义语句:int x=6,y=4,z=5;,执行以下语句后,能正确表示x,y,z值的选项是( )。if(x<;y) z=x;x=y;y=z; A: x=4,y=5,z=6 B: x=6,y=4,z=5 C: x=4,y=5,z=5 D: x=5,y=6,z=4
- 假设x=5,y=8,则分别执行下列语句后z的值为多少? (1)z=x/y (2)z=x%y (3)z=x+(++y) (4)z=x+(y++) (5)z=x&y (6)z=x|y (7)z=x<<316 (8)z=x>y?x:y
- 已有定义语句:int x=6,y=4,z=5;,执行以下语句if(x A: x=4,y=5,z=6 B: x=5,y=6,z=4 C: x=4,y=6,z=6 D: x=4,y=5,z=5
- 根据PPT上程序选择正确答案()。 A: x=4,y=5,z=6 B: x=4,y=5,z=4 C: x=4,y=5,z=4 D: x=4,y=4,z=4