Thanks for the extra detail Chetna! This is possible, but there are a few things to keep in mind.
Option 1: Create one course with multiple learning paths. Then on the questionnaire slide, use triggers and variables to direct learners to a particular path depending on their answer. With the expanded quiz tracking feature, you can track whichever learning path they end up on.
Option 2: If you have links to the other course content, create your questionnaire slide. Then use the jump to URL/File trigger to open up a specific course depending on their responses using triggers and variables. If you're using an LMS, the issue may come down to tracking and reporting on the users' score and completion. You may need to ask your LMS team if they have a way to link to individual courses.