nerdexam
Oracle

1Z0-409 · Question #36

You execute the following two commands at the bash prompt in the same order as shown below: [root@station2]# myexpr=$((14*18)) [root@station2]# echo $((56+$myexpr)) What would be the output of the…

The correct answer is B. 308. See the full explanation below for the reasoning.

Question

You execute the following two commands at the bash prompt in the same order as shown below:

[root@station2]# myexpr=$((14*18)) [root@station2]# echo $((56+$myexpr)) What would be the output of the echo command?

Options

  • A56
  • B308
  • C252
  • D$myexpr
  • E$((56+$myexpr))

How the community answered

(21 responses)
  • B
    76% (16)
  • C
    5% (1)
  • D
    14% (3)
  • E
    5% (1)

Community Discussion

No community discussion yet for this question.

Full 1Z0-409 Practice