Having a doubt in a data science project

Greetings, I am new to the field of Data Science. I am performing statistical test for selecting features in my project. So, i want to confirm these followings points are correct or not.

  1. When we have continuous features and continuous output variable we can use Pearson correlation.
  2. When we have categorical features(more than 2 sub-category) and continuous output variable we can use One way ANOVA.
  3. When we have categorical features (of 2 sub- category) and continuous output variable we can use T-test.
  4. When we have categorical features and categorical output variable we can use Chi-square test.

Please confirm the above pts are correct or not? And also tell me which test should I use when we have numerical feature and categorical output variable.