"A book and a pencil"
There is more to this, it not just simply two ways of saying the word "and" because it depends on the context.
For example: When showing someone what salt and pepper are. You would say, "This is salt and (하고) this is pepper."
When asked what you use to cook your chicken. You would say, "Well, I use salt and (과) pepper.