Options A and C: Nouns are words that name people, things, places,
animals, etc. In the given sentence, 'wallet' is a noun that refers to a case used to hold money. 'Table' is a general name given to a piece of furniture.
Hence these are nouns and options A and C are correct.
Options B and D: 'Prepositions' are words that connect nouns, pronouns and noun phrases to the rest of the sentence.
'Outside' refers to the exteriors of a boundary. Depending on the context of the sentence, it can be a preposition, noun or an adjective.
In the sentence, it's a preposition as it connects the noun 'table' to the rest of the sentence by indicating its location (which is outside).
'On' is a preposition that refers to the top of a surface.
These words are prepositions and not nouns and hence both options are wrong.