📖 From Operating System • 15. Security • 11 questions available
Practice MCQs for Asymmetric encryption as a Security Tool. 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 stack memory?
💡 Difficulty: easy | ✅ Correct: B
Q2. A program copies user input from argv[1] into a local array buffer[64] using strcpy without bounds checking. Which step is most critical for an attacker to gain control of execution?
💡 Difficulty: medium | ✅ Correct: B
Q3. A vulnerable function uses strcpy(buf, input) where buf is 48 bytes long. The attacker discovers that the saved return address is 56 bytes from the start of buf. What offset (in bytes) must the attacker use to reach the return address?
💡 Difficulty: hard | ✅ Correct: B
⬆️ View all questions in the quiz below