Is speaking to a person from the opposite sex forbidden or not?
All perfect praise be to Allah the Lord of the Worlds. May His peace and blessings be upon our Prophet Mohammad and upon all his family and companions.
Talking to a person from the opposite sex is forbidden in Islam because it entails a great deal of evil, which could lead to a graver sin. Moreover, Islam forbids having a friend from the opposite sex. And Allah The Almighty Knows Best.
Is it permissible for the man to go out wearing shorts?
All Perfect Praise is due to Allah, The Lord of The Worlds
It is permissible so long as his Awrah (private part), which is between his navel and knee, is covered. However, the regular wear traditions and modesty are to be observed. And Allah Knows Best
Is it true that if a ritually impure, or a menstruating woman visits one who is in confinement, harm will be inflicted on the latter, or her baby?
This is completely wrong and unfounded piece of information.
What is the expiation for breaking fast due to being on a journey, or being sick, or being in a state of menstruation?
No expiation is due on the aforesaid categories, but they are obliged to make up for the missed fast. However, if any of them failed to do so while being able to, and the next Ramadhaan has come, then making up for those days is incumbent on him/her , and paying the ransom as well. And Allah Knows Best.