nerdexam
EC-Council

312-50V7 · Question #420

Choose one of the following pseudo codes to describe this statement: "If we have written 200 characters to the buffer variable, the stack should stop because it cannot hold any more data."

The correct answer is D. If (I >= 200) then exit (1). See the full explanation below for the reasoning.

Question

Choose one of the following pseudo codes to describe this statement:

"If we have written 200 characters to the buffer variable, the stack should stop because it cannot hold any more data."

Options

  • AIf (I > 200) then exit (1)
  • BIf (I < 200) then exit (1)
  • CIf (I <= 200) then exit (1)
  • DIf (I >= 200) then exit (1)

How the community answered

(19 responses)
  • A
    5% (1)
  • B
    11% (2)
  • C
    5% (1)
  • D
    79% (15)

Community Discussion

No community discussion yet for this question.

Full 312-50V7 Practice