COMPUTER FUNDAMENTALS

COMPUTER SOFTWARE

SYSTEM SOFTWARE

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Segmentation:
A
Splits processes into variable sized pieces
B
Splits processes into set sized pieces
C
Keeps processes together in RAM
D
Places processes wherever there is space in RAM
E
Can cause stack overflow
Explanation: 

Detailed explanation-1: -A guaranteed segfault would be a completely valid and safe way to handle a buffer overflow. But segfaults only happen when your program tries to access memory it does not own. It is improbable that an overflowing buffer is straight at a page boundary, doubly so if the buffer is allocated on the stack.

Detailed explanation-2: -A segmentation fault (aka segfault) is a common condition that causes programs to crash; they are often associated with a file named core . Segfaults are caused by a program trying to read or write an illegal memory location.

There is 1 question to complete.