please answer the following question\nselect many\nidentify all of the following that use correct function…

please answer the following question\nselect many\nidentify all of the following that use correct function call syntax.\nselect all choices that best answers the prompt above:\nanswer 1\nturnright;\nanswer 2\ncountsheep(15);\nanswer 3\nmoveforward 3;\nanswer 4\nclimbtree();
Answer
Explanation:
Step1: Analyze Answer 1
Function call needs parentheses. turnRight; is just a reference, not a call.
Step2: Analyze Answer 2
countSheep(15); has function name followed by parentheses with an argument inside, correct syntax.
Step3: Analyze Answer 3
moveForward 3; is incorrect. There should be parentheses around the argument in a function call.
Step4: Analyze Answer 4
climbTree(); has function name with empty parentheses (if no arguments), correct syntax.
Answer:
B. countSheep(15);, D. climbTree();