下列程序中正确的是( )。
A: G00 X50 Y50;
B: GO0 X50 Y50;
C: G02 G41 D01 X50 Y50 R50;
D: G03 X50 Y50;
A: G00 X50 Y50;
B: GO0 X50 Y50;
C: G02 G41 D01 X50 Y50 R50;
D: G03 X50 Y50;
举一反三
- 某一程序段N70 G00 G54 G90 X100 Y100 Z50;N80 G01 X80 Z10 F100;N90 Y50;执行完N90段后,机床到达的工件坐标点是( )。 A: X=100,Y=100,Z=50 B: X=80,Y=50,Z=50 C: X=80,Y=100,Z=10 D: X=80,Y=50,Z=10
- What will be the values of ans, x, and y after the following statements are executed?执行以下语句后,ans,x和y的值是什么?int ans = 35, x = 50, y =50;if ( x >;= y){ans = x + 10;x -=y;} else {ans = y + 10;y += x;} A: ans = 60, x = 50, y =100 B: ans = 60, x =0, y =50 C: ans = 45, x = 50, y = 0 D: ans = 45, x = 50, y = 50
- 已知 int x=30,y=50,z=80;以下语句执行后变量x、y、z的值分别为()if (x[y||x]z){ z=x; x=y; y=z;} A: x=50, y=80, z=80 B: x=50, y=30, z=30 C: x=30, y=50, z=80 D: x=80, y=30, z=50
- 某一段程序N70 G00 G90 X80 Y50; N80 X50 Y30;说明( )
- 在VB语言中,表示"50>y>-50"的正确表达式是()。 A: 50>y>-50 B: 50>y and y>-50 C: 50>y or y>-50 D: 50>y or y<-50