Multi-choice problem: does word "look" have the same meaning in the following two sentences?

He went out to have a look.

He gave it a good looking at.

Available options:
(I). different meanings
(II). the same meaning
(II).