B) Banker algorithm . Here we have to know resulting state is safe or not.
C) yes, in deadlock prevention we have to check all 4 necessary conditions., while in deadlock avoidance we need to check safe sequence . Say u want to go to college by bike. But u have no license. So, to avoid traffic police, u choose other road and not to go with main road. That is deadlock avoidance .
Deadlock prevention u made license and then go by main road only.
D)Knowledge of resource requirement nothing but Banker algo. Where we need to know max available resource, no of resource needed etc.
"aprori" here means it is a theoretical observation link