Use the following link to access a website on Jim Crow laws and black codes of the late 1800s/early 1900s. This website will help you answer the questions that accompany it. This information goes along with chapter 8, section 3 in your textbook on pages 332-336.
The World of Jim Crow (web site)