π From Operating System β’ 15. Security β’ 37 questions available
Practice MCQs for Stack and buffer overflow. Test your knowledge with carefully crafted questions across easy, medium, and hard difficulty levels.
π Last updated: 2026-07-27
Q1. What is a buffer overflow in the context of program memory?
π‘ Difficulty: easy | β Correct: A
Q2. In a typical 32βbit system, how many bytes are overwritten if a function copies 260 bytes into a 256βbyte stack buffer and then returns?
π‘ Difficulty: medium | β Correct: B
Q3. Which of the following best describes why stackβbased buffer overflows are particularly dangerous for privilege escalation?
π‘ Difficulty: hard | β Correct: B
β¬οΈ View all questions in the quiz below