The following site explains the basics of baseball:
You can get more detailed answers to all your score keeping questions at the following site:
This site has the official guidelines for Major League score keeping. Sections 10.04. to 10.20 are probably the most relevant for us. All score keepers should read this.