已知r1,r2是实型变量,i1,i2是整型变量,下列中错误的赋值语句是( )。 Ai2:=i1*i2 div i1Bi1:=i1/i2Cr2:=3/5*sqr(r1*r2)Dr1:=r2/i1
已知r1,r2是实型变量,i1,i2是整型变量,下列中错误的赋值语句是( )。
Ai2:=i1*i2 div i1
Bi1:=i1/i2
Cr2:=3/5*sqr(r1*r2)
Dr1:=r2/i1
相关考题:
A company uses Routers R1 and R2 to connect to ISP1 and ISP2, respectively, with Routers I1 and I2 used at th e ISPs. R1 peers with I1 and R2; R2 peers with I2 and R1. R1 and R2 do not share a common subnet, relying on other routers internal to the Enterprise for IP connectivity between the two routers.Which of the following could be used to prevent potential routing loops in this design?()A. Using an iBGP mesh inside the Enterprise coreB. Configuring default routes in the Enterprise pointing to both R1 and R2C. Redistributing BGP routes into the Enterprise IGPD. Tunneling the packets for the i BGP connection between R1 and R2
A company uses Routers R1 and R2 to connect to ISP1 and ISP2, respectively, with Routers I1 and I2 used at the ISPs. R1 peers with I1 and R2; R2 peers with I2 and R1. Assuming as many default s ettings as possible are used on all four routers, which of the following is true about the next - hop IP address for routes R1 learns over its iBGP connection to R2?()A、The next hop is I2's BGP RIDB、The next hop is I2's IP address used on the R2 - I2 neigh bor relationshipC、The next hop is R2's BGP RIDD、The next hop is R2's IP address used on the R1 - R2 neighbor relationship
两电阻相并联,已知R1/R2=1/2,则流入电阻的电流之比I1/I2、功率之比P1/P2分别是()。A、I1/I2=2,P1/P2=2B、I1/I2=2,P1/P2=4C、I1/I2=1/2,P1/P2=1/2D、I1/I2=2,P1/P2=1/4
填空题电阻R1:R2=3:1,串联后接入电路中,它们两端的电压之比U1:U2=____,通过它们的电流之比I1:I2=____;若将这两个电阻并联接入电路中时,它们两端的电压之比U1:U2=____,通过它们的电流之比I1:I2=____.