本研究的目的是研究注意力、反應抑制和干擾抑制的年齡差異。在虛擬教室實驗中,受試者配戴頭戴式VR頭盔結合乾式電極的腦電波儀,在3D虛擬教室環境中進行一種注意力測驗(AX-CPT),並且在測驗期間會無預警地出現視聽覺干擾。我們對腦電波進行分析並使用事件相關電位(ERP)和事件相關光譜功率(ERSP)從行為和電生理學的角度觀察注意力和抑制功能的成熟。從實驗結果可以看出,成人的P3幅度較大,P3和N2潛伏期都比兒童長,說明成人在注意力和抑制方面比兒童成熟。在機器學習方面,在NOGO-D刺激下會得到最好的分類結果,也證明了成人和兒童在抑制功能上有顯著差異。綜合上述,本研究探討了任務表現和腦電圖信號的年齡差異,這樣的研究成果也可以應用於與注意力或抑制發展相關的測試或活動,並將不同年齡層的表現納入考量或基於此做更深入的研究。;This study investigates the age difference in attention, response inhibition, and interference suppression by performing the AX-CPT task, using HMD-VR with an EEG device under a 3D virtual reality classroom with auditory and visual interference during the task. We intend to observe the maturation of attention and inhibition from a behavioral and electrophysiological perspective using Event-related Potentials (ERPs) and Event-related spectral power (ERSP). It can be seen that the P3 amplitude of adults is larger, and both P3 and N2 latency are longer than children, which means that adults are more mature than children in terms of attention and inhibition. In terms of machine learning, the NOGO-D trials will obtain the best classification results under the NOGO-D trials. It also proved that adults and children have significant differences in inhibitory function. In conclusion, this study explored the age differences in task performance and EEG signals. It can also be applied to tests or activities related to the development of attention or inhibition, designed to consider age differences and further explored.