Which of the following groups of rocks is formed as a result of volcanic eruption?