问题 问答题 简答题

设关系模式R(A,B,C,D,E,G,H)上的函数依赖集F={AC→BEGH,A→B,C→DEH,E→H},试将R分解成等价的3NF模式集。

答案

参考答案:

第一步,求出F的最小依赖集。

(1)把每个FD的右边拆成单属性,得到9个FD。

(2)消除冗余的FD。

(3)消除FD中左边冗余的属性。

(4)再把左边相同的FD合并起来。

可得到4个FD:AC→G,A→B,C→DE,E→H。

第二步,从最小依赖集求得3NF模式集。

(1)对每一个FD,形成一个关系模式,得到ρ={ACG,AB,CDE,EH}。

(2)从最小依赖集,求得模式R的关键码为AC,且AC已在第一个模式ACG中,故分解结束,即为所求的3NF模式集。

单项选择题

German Chancellor Angela Merkel won over German voters in the Federal Election on Sept. 27. Can she now be won over by a French charm offensive (1) at repairing the relationship that was once at the heart of Europe That’s the question being asked in Paris, (2) top government officials are (3) talking about their desire to rekindle closer ties (4) their neighbors across the Rhine. (5) the end of World War II the Franco-German relationship has been the motor of European integration, the (6) force behind the creation of the European Union and, more recently, the introduction of the euro. But the ardor has (7) in this decade, particularly under Merkel, who has regularly struggled to (8) her irritation with French President Nicolas Sarkozy’s grandstanding. Sarkozy, (9) , has often been impatient with what he (10) Merkel’s lack of resolve.

The sometimes (11) personal rapport is a long way from the public shows of affection their predecessors staged, particularly Helmut Kohl and FranCois Mitterrand, who movingly held (12) in 1984 in a Verdun cemetery. There’s been tension on (13) , too. Charles Grant, director of the London-based think tank Centre for European Reform, points out that France and Germany have been (14) on issues from how best to reflate their economies during the economic (15) to the smartest strategies for dealing with Russia.

But influential movers in France are now (16) to put the relationship back on a friendlier footing. In a recent paper French think tank Institute Montaigne (17) an ambitious agenda for the two nations, (18) that a new impetus is needed if Europe’s voice is to be heard in a world (19) of big new players, such as Brazil and India, and at a time when President Obama seems fax more (20) with China and the rest of Asia than with America’s traditional allies in Europe.

2()

A.which

B.that

C.where

D.when

单项选择题