问题 单项选择题

When I was looking for a Christmas present for my daughter in a toy store, a nicely dressed little girl, with some money in her little hand, was looking at some beautiful dolls. When she saw a doll she liked, she would ask her father if she had enough money. He usually said yes.
At the same time, a boy, with old and small clothes, was looking at some video games. He, too, had money in his hand, but it looked no more than five dollars. Each time he picked up one of the video games and looked at his father, he shook his head.
The little girl had chosen her doll, a very beautiful one. However, she noticed the boy and his father. She saw the boy give up a video game with disappointment and walk to another corner of the store.
The little girl put her doll back to the shelf and ran over to the video game. After she talked to her father, she paid for the video game and whispered(耳语) to the shop assistant.
So the boy got the video game that he wanted for free—he was told it was a prize from the store. He smiled happily, although he felt it was so incredible. The girl saw all this happen. She smiled, too.
When I walked out of the store to my car, I heard the father ask his daughter why she had done that. I would never forget their short talk. "Daddy, didn’t Grandma want me to buy something that would make me happy"
He said, "Of course, she did."
"Well, I just did!" With that, the little girl started skipping towards their car happily.

The story happened in a ______.

A. school
B. toy store
C. cinema
D. computer room

答案

参考答案:B

解析: 根据文章第一句When I was looking for a Christmas present for my daughter in a toy store,知道故事发生在玩具店里。故选B。

问答题

[说明]
图3-1描述某超市销售数据的部分处理流程。超市中有若干台收款机和若干名收款员。这里,我们把一个收款员开始使用一台收款机到离开这台收款机称为该收款员的一次作业。作业开始时,收款员先在收款机上输入收款员号和作业前金额。作业前金额是为了销售时的找零而在作业前预先放入钱柜的金额数。作业结束时,收款员要打开钱柜,取走全部现金,并把这些现金的金额数(称为作业后金额)输入收款机。当作业前金额+本次作业售货总金额-本次作业退货总金额≠作业后金额时,表示这次作业存在金额差错。
本流程图已作简化,并作以下假定;该超市只有现金交易(不用信用卡和礼券);一个收款员因某种原因(如吃饭)在一天中可以有多个作业;销售方式只有售货和退货两种。
整个超市分成若干部门(如食品部、服装部),系统按部门统计一个月中各类货物的销售数量和金额,最后根据月销售计划文件分析各部门完成销售计划的情况。系统还统计每个收款员的差错情况和退货情况。
图中处理4和处理8每月的最后一天执行一次(营业结束后),其他处理每天执行一次。
图中部分数据、文件的记录格式如下:
日销售数据:收款机号+收款员号+作业前金额+(售货标记|退货标记)+货号+数量+单价+金额+作业后金额
日销售文件记录:(作业开始标记+收款机号+收款员号+作业前金额)
|((售货标记|退货标记)+货号+数量+金额)
|(作业结束标记+收款机号+收款员号+作业后金额)
部门目销售文件记录:部门号+(售货标记|退货标记)+货号+数量+金额
部门月销售计划文件记录:部门号+月计划金额
收款员差错月报:月份+收款员号+差错作业数+差错总金额
收款员退货月报:月份+收款员号+退货次数+退货总金额
其中w表示w重复出现多次;a|b表示a或b;a+b表示a与b。
[图3-1]


处理4对收款员月销售文件作何种操作。

单项选择题