The favourite chapter of the mathematics book of the students in your class. Is it a primary data or secondary data?
The data collected directly by investigator is called primary data.
This is a primary data as data is directly collected in class by a student who maintains a record of the favorite chapter of every student .
So, the given data is primary.