The correct answer is (d) were.
Two-thirds of the students were present at the inaugural function.
When a fraction (like two-thirds) refers to a plural noun ("students"), the verb must be plural — "were." Subject-verb agreement rule: fraction + plural noun = plural verb.