问题 单项选择题

一棵查找二叉树,其节点A,B,C,D,E,F依次存放在一个起始地址为n(假定地址以字节为单位顺序编号)的连续区域中,每个节点占4字节,前二字节存放节点值,后二字节依次放左指针、右指针。

若该查找二叉树的根节点为E,则它的一种可能的前序遍历为 (20) ,相应的层次遍历为 (21) 。在以上两种遍历情况下,节点c的左指针LC的存放地址为 (22) ,LC的内容为 (23) 。节点A的右指针RA的内容为 (24)

(23)处填()。

A.n+4

B.n+8

C.n+12

D.n+16

答案

参考答案:A

单项选择题

Most Americans have at least one credit card. They give their owners automatic credit in stores, restaurants, and hotels, at home, across the country, and even abroad. And they also make many banking services available. For many of us the "cashless society" is already here.
While computers offer these conveniences to consumers, they have many advantages for sellers too. Electronic cash registers can do much more than simply ring up sales. They can keep a wide range of records, including who sold what, when, and to whom. This information allows businessmen to keep track of their list of goods by showing which items are being sold and how fast they are moving. Decisions to reorder or return goods to suppliers can then be made.
At the same time these computers record which hours are busiest and which employees are the most efficient, allowing personnel and staffing assignments to be made accordingly. And they also identify preferred customers for promotional campaigns. Computers are relied on by manufacturers for similar reasons. Computer-aided marketing reports can help to decide which products to emphasize now, which to develop for the future, and which to drop. Computers keep track of goods in stock, of raw materials on hand, and even of the production process itself.
Numerous other commercial enterprises, from theaters to magazine publishers, from gas and electric utilities to milk processors, bring better and more efficient services to consumers through the use of computers.

This passage is mainly about ______.

A. approaches to the commercial use of computers
B. conveniences brought about by computers in business
C. significance of automation in commercial enterprises
D. advantages of credit cards in business

单项选择题