Typically in databases (but not always) the ID field would be an integer. Most databases have an auto-increment feature that you can then use to automatically increment the ID field when a new record is added - you don't actually supply the ID yourself when you add records. Your question record could have a name string field that you can use as a short description if you want, but if you're just wanting to pick questions at random there's not much use for it. Obviously you need to store the actual question text in your question record as well.
When you add answers to the database you need to get the ID that was used when your question was created, and then include that in a QuestionID column on the Answers table. That will then allow you to get all of the answers that share a given question ID.
When you add answers to the database you need to get the ID that was used when your question was created, and then include that in a QuestionID column on the Answers table. That will then allow you to get all of the answers that share a given question ID.