Contributions to the study of designing of attribute single sampling plan and certain conditional sampling plans