Oracle
1Z0-409 · Question #113
Observe the script below: echo " Enter your name : " read name echo " Hello $name , Good Morning. " What does read do in this script? (Choose all that apply.)
The correct answer is A. It will store the input in the name variable. D. It will make the program pause till the input is given through the standard input. See the full explanation below for the reasoning.
Question
Observe the script below:
echo " Enter your name : " read name echo " Hello $name , Good Morning. " What does read do in this script? (Choose all that apply.)
Options
- AIt will store the input in the name variable.
- BIt will accept only file name as the input.
- CIt will make the script stop execution if numbers are given as input.
- DIt will make the program pause till the input is given through the standard input.
How the community answered
(27 responses)- A81% (22)
- B7% (2)
- C11% (3)
Community Discussion
No community discussion yet for this question.