📜  门| GATE-CS-2015(套装3)|第 65 题

📅  最后修改于: 2021-09-26 03:46:20             🧑  作者: Mango

新成立的政府首脑希望任命六名选定成员 P、Q、R、S、T 和 U 中的五名进入家庭、电力、国防、电信和金融部门。如果 S 得到五个中的一个,U 不想要任何投资组合。 R 想要 Home 或 Finance 或没有投资组合。 Q 说,如果 S 获得了电信 Power,那么她必须获得另一个。如果 P 得到一个,T 坚持一个投资组合 哪一个是投资组合的有效分布?
(A) P-Home、Q-Power、R-Defence、S-Telecom、T-Finance
(B) R-Home、S-Power、P-Defence、Q-Telecom、T-Finance
(C) P-Home、Q-Power、T-Defence、S-Telecom、U-Finance
(D) Q-Home、U-Power、T-Defence、R-Telecom、P-Finance答案:(乙)
解释:

Six selected members are P, Q, R, S, T and U

Portfolios are Home, Power, Defence, Telecom, and Finance. 

U does not want any portfolio if S gets one of the five. 

R wants either Home or Finance or no portfolio. 

Q says that if S gets either Power of telecom, then she must 
get the other one.

T insists on a portfolio if P gets one Which is the valid 
distribution of portfolios?

A) P-Home, Q-Power, R-Defence, S-Telecom, T-Finance
Not valid as R doesn't get home or finance here

R-Home, S-Power, P-Defence, Q-Telecom, T-Finance
Is valid and satisfies all conditions.

C) P-Home, Q-Power, T-Defence, S-Telecom, U-Finance
Not valid as U is not satisfied. Condition for U is, S should not
get any portfolio.

D) Q-Home, U-Power, T-Defence, R-Telecom, P-Finance
Like A, not valid as R doesn't get home or finance here

这个问题的测验