A singular subject normally takes a singular verb form, and a plural subject normally takes a plural one. Compare The lamp works with The lamps work. With most verbs in the simple present, -s marks agreement with a third-person singular subject.

How to recognize it
Find the main word in the subject, not just the noun closest to the verb. Decide whether it refers to one or more than one.
Examples explained
Singular
The lamp works.
Why it works: The singular third-person subject takes works.
Plural
The lamps work.
Why it works: The plural subject takes work.
Intervening phrase
The box of bulbs is heavy.
Why it works: Singular box controls is, not plural bulbs.
Common mix-up
A noun inside an intervening phrase does not control the verb: The box of bulbs is heavy, not are heavy.
More guidance and examples
Find the noun that controls agreement
In The box of spare bulbs is on the shelf, box is the main noun in the subject. The plural bulbs belongs to the phrase of spare bulbs. With a plural main noun, write The boxes of spare bulbs are on the shelf.
Subjects with and, or, and each
- And. Separate people or things joined by and usually take a plural verb. Mara and Theo check the lights.
- Or. With or, when the two parts differ in number, edited English generally uses the form that agrees with the nearer part. Either the manager or the assistants are here.
- Each. Each of the lights works. Here each calls for the singular form.
Quick check
Choose: The basket of apples is / are full.
Reveal the answer and explanation
Use is. The subject is headed by singular basket; apples belongs to the of-phrase.