nerdexam
LPI

117-010 · Question #66

Which of the following commands will set the variable text to olaf is home? (Select TWO answers)

The correct answer is A. text=olaf\ is\ home E. text="olaf is home". See the full explanation below for the reasoning.

Question

Which of the following commands will set the variable text to olaf is home? (Select TWO answers)

Options

  • Atext=olaf\ is\ home
  • Btext=$olaf is home
  • C$text='olaf is home'
  • Dtext=='olaf is home'
  • Etext="olaf is home"

How the community answered

(22 responses)
  • A
    82% (18)
  • B
    5% (1)
  • C
    9% (2)
  • D
    5% (1)

Community Discussion

No community discussion yet for this question.

Full 117-010 Practice