Answers:
(i) The components of the compound statement are:
P: To get into a public library children need an identity card.
Q: To get into a public library children need a letter from the school authorities.
Both P and Q are true.
The compound statement is true.
(ii) The components of the compound statement are:
P: All rational number is real.
Q: All real numbers are not complex.
P is true and Q is false then P and Q both are False.
The compound statement is False