It really depends on the exam you're taking! Some universities or entrance tests have a common paper for related courses, while others require you to take separate papers for each subject.
For example, if Sociology and B.Ed/M.Ed Integrated have different paper codes, there's a high chance you'll need to give different papers for each. But if they fall under a common entrance test, you might just have to give one.