Hi Kumar
The single activity format only allows one activity. The quiz would be another activity.
You might be better off asking your questions in a more appropriate forum unless you are trying to code a solution to this, a list is here:
https://moodle.org/course/view.php?id=5
Kind regards
Richard