Hi Rehan,
you have as well to install "Embed question atto button" which you can find on
https://moodle.org/plugins/atto_embedquestion/versions .
After installing this you have to activate the button itself!
So you have to dig a little deeper to [site_admin]/[filters]/[text editiors]/[Atto toolbar settings].
Scrolling down you'll get:
[Toolbar config] where you have to insert the filter/button manually by typing (wherever you want, e.g. at the list-submenu)
you have as well to install "Embed question atto button" which you can find on
https://moodle.org/plugins/atto_embedquestion/versions .
After installing this you have to activate the button itself!
So you have to dig a little deeper to [site_admin]/[filters]/[text editiors]/[Atto toolbar settings].
Scrolling down you'll get:
[Toolbar config] where you have to insert the filter/button manually by typing (wherever you want, e.g. at the list-submenu)

Having done this you have to go to a page/course/.. and you have to insert an activity
[Text and media area] (4.+; former it was sth like [Label]).
And finally you'll find the button:

Clicking this you'll be led further on:

Please note:
You can only embed questions that are in the category of this page/course/...
To my knowledge you can only embed single questions (even selected randomly) and NOT quizzes!
Cheers
Joachim
I have already installed "Embed question atto button" also and added it in atto config. but still embed question option does not appeared.
From the online documentation:
Before you can embed a question
===============================
Questions can only be embedded from course question banks, and they
can only be embedded if they have an 'idnumber' set, and are in
a cateogry with an 'idnumber'.
Some screenshots to explain. Note that ID number does not have to be a number, any alphanumeric stringn will do!