From amongst five doctors A, B, C, D and E, four engineers G, H, K and L and six teachers M, N, O, P, Q and R, some teams are to be selected. Of these, A, B, G, H, O, P and Q are females and the rest are males.
The formation of teams is subject to the following conditions :
Wherever there is a male doctor, there will be no female teacher.
Wherever there is a male engineer, there will be no female doctor.
There shall not be more than two male teachers in any team. If the team consists of three doctors, two male engineers and two teachers, the members of the team could be :

C. C D E K L M N

At an Electronic Data Processing Unit, five out of the eight program sets P, Q, R, S, T, U, V and W are  to be operated daily. On any one day, except for the first day of a month, only three of the program sets must be the ones that were operated on the previous day. The program operating must also satisfy the following conditions :
(i). If program P is to be operated on a day, V cannot be operated on that day.
(ii). If Q is to be operated on a day, T must be one of the programs to be operated after Q.
(iii). If R is to be operated on a day, V must be one of the programs to be operated after R.
(iv). The last program to be operated on any day must be either S or U. If the program sets operated on a day is P, Q, W, T, U, each of the following could be the next day's progam set except :

B. W, T, S, P, U

From amongst six days A, B, C, D, E, and F and five girls P, Q, R, S and T, a team of six is to be selected under the following coditions :
(i) A and D have to be together.
(ii) C cannot go with S.
(iii) S and T have to be together.
(iv) B cannot be teamed with E.
(v) D cannot go with P.
(vi) B and R have to be together.
(vii) C and Q have to be together. If there be five boys in the team, the lone girl member is :

B. Q