USE RCDA.DBF GO TOP ?? BOF() SKIP -1 ?? NOT BOF() GO BOTTOM ?? FOUND() SKIP 1 ?? EOF() CA
USE RCDA.DBF
GO TOP
?? BOF()
SKIP -1
?? NOT BOF()
GO BOTTOM
?? FOUND()
SKIP 1
?? EOF()
CANCEL
USE RCDA.DBF
GO TOP
?? BOF()
SKIP -1
?? NOT BOF()
GO BOTTOM
?? FOUND()
SKIP 1
?? EOF()
CANCEL
USE RCDA.DBF EXCLUSIVE
GO TOP
SUM WHILE 性别="男" TO ZH
? "ZH=",STR(ZH,5)
GO TOP
RS=0
DO WHILE NOT EOF()
IF 工资现状>=1800 AND 党员否
RS=RS+1
ENDIF
SKIP 1
ENDDO
? "RS=",STR(RS,2)
USE
CANCEL
假设默认目录下有名为rcda的自由表,包含十条记录,则执行下列命令后,EOF()函数的结果分别为( )。
USE RCDA.DBF
GO BOTTOM
??EOF()
SKIP
??EOF()
在青年歌手大赛中,歌手的得分情况由GS.DBF和PW.DBF两个数据库(除"最后得分"字段以外,其余字段已存放了相应数据)进行统计。
评委数据库PW.DBF中放有10个评委给每位歌手所打的分数,数据库结构为:
歌手编号(C,4),评委1(N,5,2),评委2(N,5,2),…,评委10(N,5,2)
歌手数据库GS.DBF中存有每位歌手的基本情况和最后得分,数据库结构为:
歌手编号(C,4),姓名1(C,8),选送地区(C,20),最后得分(N,5,2)
1)以下程序的功能是根据10个评委所给分数,计算并填写"最后得分"字段,具体计算方法是去掉一个最高分,去掉一个最低分,再对其余得分求平均。请填空:
SELECT 0
USE GS
INDEX ON 歌手编号 TO GS
SELECT 0
USE PW
SET RELATION TO 歌手编号 INTO GS
GO TOP
DO WHILE ______
SCATTER TO TEMP
I=2
STORE TEMP(2)TO PMIN,PMAX,S
DO WHILE I<=10
I=I+1
S=S+TEMP(I)
DO CASE
CASE TEMP(I)>PMAX
PMAX=TEMP(I)
CASE TEMP(I)<PMIN
PMIN=TEMP(I)
ENDCASE
ENDDO
SELECT GS
REPLACE 最后得分 WITH S-PMAX-PMIN
SELE PW
SKIP
ENDDO
定位第一条记录上的命令是______。
A、GO TOP B、GO BOTTOM C、GO 6 D、SKIP
A.I certainly could use the exercise
B.Yes, let’s go
C.Sur
D.I’d like to go for a long walk
E.No, I won’t
A) take up
B) pick up
C) use up
D) pick from
A.Sure, go ahead.
B.I don’t know.
C.It doesn’t matter.
D.Who cares?
英译汉In an office environment, the size, location (corner office, distance from the top manager's office, and so forth), and use of space may be a sign of a person's status. Generally, the more spacious an office, the higher the status. Persons of higher status also may enter a subordinate's space unannounced.
设有表文件File.dbf,执行如下命令序列:
SET DELETED OFF
USE File
LIST
Recoed# 商品名 金额
1 洗衣机 3100.00
2 电冰箱 2300.00
3 21英寸彩电 1800.00
4 空调机 4100.00
GO 3
DELETE
GO BOTTOM
INSERT BLANK
REPLACE 商品名 WITH "34英寸彩电", 金额 WITH 6000
SUM 金额 TO S
? S
S的值应该是( )。
A.11300 B.17300 C.11400 D.15500