网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

工件零点偏移量设定程序格式:G10P~X~Y~Z~;P=1~6时,相应于G54~G59。X、Y、Z为各轴的零点偏移值,即工件坐标系相对于()的偏移值。

  • A、编程零点;
  • B、机床零点;
  • C、刀具零点;
  • D、工件零点。

参考答案

更多 “工件零点偏移量设定程序格式:G10P~X~Y~Z~;P=1~6时,相应于G54~G59。X、Y、Z为各轴的零点偏移值,即工件坐标系相对于()的偏移值。A、编程零点;B、机床零点;C、刀具零点;D、工件零点。” 相关考题
考题 某随机事件最多只有X、Y、Z三种互不相同的结果,关于X、Y、Z发生的概率,下列各项有可能的是( )。A.P(X)=1,P(Y)=-1,P(Z)=1B.P(X)=0.3,P(Y)=0.2,P(Z)=0.5C.P(X)=P(Y)=P(Z)=1D.P(X)>0,P(Y)=-P(X),P(Z)=1

考题 单击命令按钮时,下列程序的执行结果为Private Sub Command1_Click()Dim a As Integer, b As Integer, c As Integera=2: b=3: c=4Print P2(c, b, A.End SubPrivate Function P1(x As Integer, y As Integer, z As Integer)P1=2 * x + y + 3 * zEnd FunctionPrivate Function P2(x As Integer, y As Integer, z As Integer)P2=P1(z, x, y) + xEnd Function ( )。A.21B.19C.17D.34

考题 ( 6 )有如下程序段:int x=1,Y=2,z=3;x=x^z;y=y^z;z=x^y;coutxyz;执行这个程序段的输出是【 6 】 。

考题 以下程序运行时若要正确输出函数的入口地址和输入数的绝对值,应在程序空缺处填入的正确选项是 abs(int x) { if(x>=0)return x; else return-x;} main() { int y,z,(*p)(int x)=abs; scanf(" %d" ,y); z=( *p)(y); ——; }A.printf("%d%d\n",p,z)B.Printf("%d%d\n",p,z)C.printf("%d%d\n",*p,z)D.printf("%d%d\n",p,*z)

考题 下列程序运行后,单击命令按钮,窗体显示的结果为( )。 Private Function pl(x As Integer,y As Integer,z As Integer) pl=2*x+y+3*z End Function Private Function p2(X As Integer,y As Integer,z As Integer) p2=p1(z,y,x)+x End Function Private Sub Commandl_Click()A.23B.19C.21D.22

考题 有如下程序段:intx=1,y=2,z=3;x=x^z:y=y^z;z=x^y:cout<<x<<y<<z;这个程序段的输出结果是______。

考题 下面程序: Private Sub Form. _Click () Dim x, y, z As Integer x=5 y=7 z=0 Call P1(x, y, z) Print Str (z) End Sub Sub P1 (ByVal a As Integer, ByVal b As Integer , c As Integer) c= a+b End Sub 运行后的输出结果为______。A.0B.12C.Str(z)D.显示错误信息

考题 若有以下程序段:include using namespace std;int main (){ int a[]={1,4,5}; int *p 若有以下程序段: #include <iostream> using namespace std; int main () { int a[]={1,4,5}; int *p=a[0],x=6, y,z; for (y=0; y<3; y++) z= ( (* (p+y) <x) ? *(p+y) :x); cout<<z<<end1; return 0; } 程序运行后的输出结果是( )。A.1B.4C.5D.2

考题 单击命令按钮时,下列程序的执行结果为 Private Sub Command1_Click() Dim a As Integer,b As Integer,c As Integer a=2:b=3:C=4 Print P2(c,b,A)End Sub Private Function P1(x As Integer,y As Integer,z As Integer) P1=2 * X + y + 3 * z End Function Private Function P2(x As Integer,y As Integer,z As Integer) P2=P1(z,x,y) + X End FunctionA.21B.19C.17D.34

考题 下面程序:Private Sub Form_Click()Dim x,y,z As Integerx=5y=7z=0Call P1(x,y,z)Print Str(z)End SubSub P1(ByVal a As Integer, ByVal b As Integer, c As integer)c=a+bEnd Sub运行后的输出结果为A.0B.12C.Str(z)D.显示错误信息

考题 以下程序运行时若要正确输出函数的入口地址和输入数的绝对值,应在程序空缺处填入的正确选项是 ( )。 abs(int x) { if(x>=0)return x: else return -x;} main() { int y,z,(*p)(int x)=abs; scanf(" %d" ,y); z=(*p)(y); ______;}A.printf(" %d%d\n" ,p,z)B.printf(" %d%d\n" ,p,z)C.printf(" %d%d\n" ,*p,z)D.Printf(" %d%d\n" ,p,*z)

考题 有以下程序 include mare() { int x=1,y=2,z=3; if(x>y) if 有以下程序 #include <stdio.h> mare() { int x=1,y=2,z=3; if(x>y) if(y<z) printf("%d",++z); else printf("%d",++y); printf("%d\n",x++); } 程序的运行结果是______。A.331B.41C.2D.1

考题 使用VC6打开考生文件夹下的工程test12_1,此工程包含一个源程序文件test_12.cpp,但该程序运行有问题,请改正程序中的错误,使该程序的输出结果如下:fun (Sample p) 1 2fun (Sample *p) 3 420 10源程序文件test12_1清单如下:include<iostream .h>class Sample{private:int x,y;static int z;public:Sample(int a,int b){ x=a;y=b; }void fun(Sample p);void fun(Sample *p);static void print(Sample s);};/*************** found ***************/int z=10;void Sample::fun(Sample p){x=p.K;y=p.y;cout<<"fun(Sample p)"<<" "<<x<<" "<<y<<endl;}void Sample::fun(Sample *p){/************** found **************/x=p.x; y=p.y;cout<<"fun(Sample *p) "<<" '<<x<<" "<<y<<endl;}void Sample::print (Sample s){/*************** found *****************/x=20;cout<<s. x<<" "<<z<<endl;}void main(){Sample p(1,2),q(3,4);p. fun(p);p. fun(q);p. print(p);}

考题 有以下程序:includemain(){int x=3,y=2,z=1; printf("%d\n",x/y~z);程序运行后的 有以下程序: #include <stdio.h> main() { int x=3,y=2,z=1; printf("%d\n",x/y~z); 程序运行后的输出结果是( )。A.3B.2C.1D.0

考题 以下程序运行后,单击命令按钮,窗体显示的结果是 ______。 Private Function p1(x As Integer,y As Integel,z As Integer) p1=2*x+y+3*z End Function Private Function p2(x As Integer,y As Integer,z As Integer) p2=p1(2,y,x)+x End Function Private SubCommandl_Click() Dim a As Integer Dim b As Integer Dim c As Integer a=2:b=3:c=4 Print p2(c,b,A)End SubA.19B.21C.22D.23

考题 若有以下程序段;includeusing namespace std;int main(){ int a[]={1,4,5}; int *p=a[0],x=6,y,z; for(y=0;y<3;y++) z=((*(p+y)<x) ? *(p+y):x); cout<<z<<end1; return 0; } 程序运行后的输出结果是( )。A.1B.4C.5D.2

考题 以下程序的输出结果为:public class test {public static void main(String args[]) {int x=1,y=1,z=1;if (x--==1}} A. x=0,y=2,z=1B. x=1,y=2,z=1C. x=0,y=1,z=1D. x=0,y=2,z=2

考题 过点P1(1,1,1),P2(2,0,1)及P3(-1,-1,0)的平面方程是( )。A、x+y-4z+2=0 B、x-y-4z+2=0 C、x+y-4z-2=0 D、x-y-4z-2=0

考题 设随机变量X与Y相互独立,X服从参数为1的指数分布,Y的概率分布为P{Y=-1}=p,P{Y=1)=1-p,(0  (Ⅰ)求Z的概率密度;   (Ⅱ)p为何值时,X与Z不相关;   (Ⅲ)X与Z是否相互独立?

考题 圆弧程序的格式可以写为:G02X——Y——Z()F——A、U——V——W—B、I——J——KC、P——Q——RD、R——

考题 刀具偏移量设定程序格式中用P表示指令偏置号,用()表示指令偏移量。A、D;B、H;C、R;D、P。

考题 工件零点偏移量设定程序格式:G10P~X~Y~Z~;()时,为外部工件零点偏移。A、P=0;B、P=1;C、P=2;D、P=3。

考题 刀具偏移量设定程序格式中用()表示指令偏置号,用R表示指令偏移量。A、D;B、H;C、R;D、P。

考题 刀具偏移量设定程序格式()P~R~。A、G10;B、G11;C、G41;D、G42。

考题 行程极限指令程序格式:G22X~Y~Z~I~J~K~;格式中X、Y、Z为行程极限()相对机床零点的坐标值。A、上限点;B、下限点;C、极限点;D、终止点。

考题 程序段G50X200.0Z263.0表示刀尖距()距离X=200,Z=263。A、机械零点B、参考点C、工件原点D、机床零点

考题 单选题某随机事件最多只有X、Y、Z三种互不相同的结果,关于X、Y、Z发生的概率,下列各项有可能的是(  )。A P(X)=1,P(Y)=-1,P(Z)=1B P(X)=0.3,P(Y)=0.2,P(Z)=0.5C P(X)=P(Y)=P(Z)=1D P(X)>0,P(Y)=-P(X),P(Z)=1