题目详情
题目详情:
发布时间:2023-10-08 13:15:23

[单项选择]以下子例行程序用于实现向一维数组下标为P的数组元素处插入一个整数X
SUBROUTINE INSERT(B,N,P,X)
INTEGER B(N),X,P
DO 20 K=N-1,P,-1
B(K+1)=______
20 CONTINUE
B(P)=X
END
为使程序完整,应在______处放入( )。
A. X
B. K
C. B(P)
D. B(K)

更多"以下子例行程序用于实现向一维数组下标为P的数组元素处插入一个整数X "的相关试题:

[单项选择]一个FORTRAN子例行程序如下所示:
SUBROUTINE SUBA(A,B,X,Y)
X=A+B
Y=A*B
END
调用上述子例行程序的正确语句是()。
A. CALL SUBA(15.2,W*W,9.4,Z)
B. CALL SUBA(0.5,7.2,R,S,T)
C. CALL SUNA(S,T,7.5,5.2)
D. CALL SUBA(4.4*I,5.6*J,C,D)
[单项选择]以下子程序用于在一维数组中找出最大项:
SUBROUTINE SEARCH (X, N, P)
REAL X(N)
P=____
DO 10 J=1,N
IF (X (J).GT.P) P=X (J)
10 CONTINUE
END
为使程序完整,应在____处放入( )。
A. X (1)
B. 0.0
C. 1.7E+28
D. 1.7E-26
[单项选择]

以下子程序用于在一维数组中找出最大项:
SUBROUTINE SEARCH(X,N,P)
REAL X(N)
P=______
DO 10 J=1,N
IF(X(J).GT.P) P=X(J)
10 CONTINUE
END
为使程序完整,应在______处放入()。


A. X(1)
B. 0.0
C. 1.7E+28
D. 1.7E-26
[单项选择]以下子程序用于在一维数组中找出最大项:
SUBROUTINE SEARCH(X,N,P)
REAL X(N)
P=______
DO 10 J=1,N
IF(X(J).GT.P) P=X(J)
10 CONTINUE
END
为使程序完整,应在______处放入( )。
A. X(1)
B. 0.0
C. 1.7E+28
D. 1.7E-26
[单项选择]In a recent book entitled The Psychic Life of Insects, Professor Bouvier says that we must be careful not to credit the little winged fellows with intelligence when they behave in what seems like an intelligent manner. They may be only reacting. I would like to confront the professor with an instance of reasoning power on the part of an insect which cannot be explained away in any other manner.
During the summer of 1899, while I was at work on my doctoral thesis, we kept a female wasp at our cottage. It was more like a child of our own than a wasp, except that it looked more like a wasp than a child of our own. That was one of the ways we told the difference.
It was still a young wasp when we got it (thirteen or fourteen years old) and for some time we could not get it to eat or drink, it was so shy. Since it was a female we decided to call it Miriam, but soon the children’s nickname for it-- " Pudge" --became a fixture, and "Pudge" it was from that time on.
One evening
A. do not have intelligence
B. behave in an intelligent way
C. are capable of reasoning
D. are more intelligent than we thought
[填空题]A—Spring begins. B—the rains
C—insects awaken D—vernal equinox
E—clear and bright F—grain rain
G—Summer begins. H—grain buds
I—grain in ear J—summer solstice
K—slight heat L—great heat
M—Autumn begins. N—stopping the heat
O—white dews P—autumn equinox
Q—cold dews R—hoar-frost falls
S—Winter begins. T—light snow
U—heavy snow V—winter solstice
W—slight cold X—great cold
( )雨水 ( )白露

我来回答:

购买搜题卡查看答案
[会员特权] 开通VIP, 查看 全部题目答案
[会员特权] 享免全部广告特权
推荐91天
¥36.8
¥80元
31天
¥20.8
¥40元
365天
¥88.8
¥188元
请选择支付方式
  • 微信支付
  • 支付宝支付
点击支付即表示同意并接受了《购买须知》
立即支付 系统将自动为您注册账号
请使用微信扫码支付

订单号:

请不要关闭本页面,支付完成后请点击【支付完成】按钮
恭喜您,购买搜题卡成功
重要提示:请拍照或截图保存账号密码!
我要搜题网官网:https://www.woyaosouti.com
我已记住账号密码