Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

CIW 1D0-735 Exam - Topic 6 Question 94 Discussion

What basis code is needed to define the JavaScript function avgGrades?
C) avgGrades (){ }
A) Function avgGrades () {}
B) avgGrades function ()
D) var = function avgGrades () {}

CIW 1D0-735 Exam - Topic 6 Question 94 Discussion

Actual exam question for CIW's 1D0-735 exam
Question #: 94
Topic #: 6
[All 1D0-735 Questions]

What basis code is needed to define the JavaScript function avgGrades?

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

0/2000 characters
Stephaine
21 days ago
D seems off. Why use 'var ='?
upvoted 0 times
...
Gabriele
26 days ago
I prefer C. It's concise and clear.
upvoted 0 times
...
Ammie
1 month ago
I think it's A. Looks correct to me.
upvoted 0 times
...
Melvin
1 month ago
B) avgGrades function () is definitely wrong.
upvoted 0 times
...
Glendora
1 month ago
Wait, is it really C? That seems too simple.
upvoted 0 times
...
Lezlie
2 months ago
I thought it was D) var = function avgGrades () {}?
upvoted 0 times
...
Avery
3 months ago
C) avgGrades (){ } looks right to me!
upvoted 0 times
...
Fausto
3 months ago
A) Function avgGrades () {} is incorrect.
upvoted 0 times
...
Kaycee
4 months ago
I feel like I've seen something similar in my notes, but I can't recall if the parentheses should have a space or not.
upvoted 0 times
...
Lucille
4 months ago
I’m a bit confused about the use of "var" in option D. Isn’t that for variable declarations?
upvoted 0 times
...
Art
4 months ago
I remember practicing a question that had a similar format, and I think option A looks right to me.
upvoted 0 times
...
Jeannine
5 months ago
I think the correct syntax for defining a function in JavaScript is something like "function avgGrades() {}", but I'm not completely sure.
upvoted 0 times
...

Save Cancel