The best examples of alliteration from the options provided are:
“While I nodded, nearly napping, suddenly there came a tapping”
and
“As of some one gently rapping, rapping at my chamber door”
Both lines feature the repetition of initial consonant sounds, which is the hallmark of alliteration.