I am not quite sure what you are looking for here - but as a general principle, yes, it is a good idea to state right up front what you are looking for, so either " Could I ask you a question about the project ?" or " I have a question about the project" will get your teacher's attention, and let them know that you want to ask them something relating to the project.