Explanation
Singular subject
A singular subject takes a singular verb, a plural subject takes a plural verb. He goes; they go.
Remember: the s moves. Singular verbs often end in s.
Singular subject → singular verb: He goes. They go.
"The quality of these mangoes IS"
Cross out the phrase between the subject and the verb. The quality of these mangoes is good.
The subject is quality, not mangoes.
"The quality of these mangoes IS": cross out the "of" phrase
Each / every / either / neither / everyone
Each, every, either, neither, everyone, anybody: all take a singular verb. Each of the boys has a bike.
Each / every / either / neither / everyone → singular
Either…or / neither…nor
With either-or and neither-nor, the verb agrees with the subject closest to it. Neither the teacher nor the students were late.
Either…or / neither…nor → verb agrees with the nearer subject
"Along with / as well as / together with" don't…
Along with, as well as, together with: these don't add subjects. The captain, along with his players, is here.
"Along with / as well as / together with" don't make it plural
"A number of"
A number of students are absent: that means many, so plural. The number of students is forty: one number, so singular.
"A number of" → plural; "The number of" → singular
Worked example
"One of my friends live in Pune." Cross out "of my friends": One … live → wrong.
The subject is "one", so: One of my friends lives in Pune.