@AlSu, I'm assuming you are an admin for your Canvas instance? If so, you should have access to Admin Analytics (reach out to your CSM if not!). Using the Course Dashboard in there, you can see how many courses use various features, including Classic and New Quizzes.

If you click on the bar for the feature you are interested in, it'll provide you with a scrollable and downloadable spreadsheet about which courses use that feature and how many times they use it!

So you won't get the full list of all courses and a yes/no for the feature; instead just a spreadsheet of those that do use it.