A diary is a primary source because it come from the person who experienced it.
A letter is written by the person firsthand, so primary.
Unless the professor did the research himself, it would be secondary.
An interview is primary.
A newspaper article is REPORTING the findings, so it’s secondary,
Hope this helps!