题目内容

A.SET RELATION OFF AB.SET RELATION OFF BC.SET RELATION TO 总编号 INTO BADDID.SET RELAT

A. SET RELATION OFF A
B. SET RELATION OFF B
C. SET RELATION TO 总编号 INTO BADDI
D. SET RELATION TO 总编号 INTO A ADDI

查看答案
更多问题

【程序说明】 设有图书表TSH,包括字段(总编号、分类号、书名、作者、出版单位、单价);读者表DZH(借书证号、姓名、性别、单位、职称、地址);借阅表JY(借书证号、总编号、借阅日期、备注)。下面程序的功能是打印已借书读者的借书证号、姓名、单位以及借阅图书的书名、单价、借阅日期。
【程序】
SET TALK OFF
SELECT 1
USE DZH
(9) TO DSHH
SELECT 2
USE TSH
INDEX ON 总编号 TO SHH
SELECT 3
USE JY
SET RELATION TO 借书证号 INTO A
(10)
LIST (11) TO PRINT
CLOSE ALL
SET TALK ON
RETURN
(9)

A. INDEX ON 借书证号
B. INDEX ON 分类号
C. INDEX ON 书名
D. INDEX ON 姓名

【程序说明】 程序功能是判断一个自然数是否为质数。
【程序】
SET TALK OFF
INPUT“请输入一个大于1的自然数:” (1)
K=0 &&K值为0表示所输入的数是质数,为1表示不是质数
J=2
DO WHILE J<N
IF MOD(N,J) (2)
(3)
LOOP
ELSE
K=1
EXIT
ENDIF
ENDDO
IF K=0
? (4) +“是质数”
ELSE
? “NO!”
ENDIF
SET TALK ON
RETURN
(1)

A. ON N
B. TO N
C. GO N
D. INTO N

It's Christmas again. We live on a dirty street in a shabby house among people who aren't much good. You can't see how pitiful it is that our neighbors have to make happiness out of this filth (污秽) and dirt. My children must get out of this. But how? The money that we've saved isn't nearly enough.
The McGaritys have money, but they are show-offs with it. The McGarity girl just yesterday stood out there in the street eating from a bag of cookies while a group of hungry children watched her. I saw those children looking at her and crying in their hearts, and when she couldn't eat any more, she threw the rest down the sewer (阴沟).
Miss Jackson who teaches at the Settlement House (教育中心) isn’t rich, but she knows things, she understands people. Her eyes look straight into yours when she talks with you. Everyboby else here looks away because they'rs ashamed of their lives. I'd like to see the children be like Miss Jackson when they grow up.
The writer suggests that her family______.

A. is extremely rich
B. is an unhappy one
C. live with nice and kind people
D. long for a change in their life

According to the passage, when you get a wrong number in making a long-distance call, you

A. check your number and call again
B. tell the operator what has happened
C. Ask the operator to put you through
D. Ask the operator what has happened

答案查题题库