Which of the following comparison statement will return true?
A) X=10;
Y=11;
y - - ;
x==y
B) X=10;
Y=11;
Y++;
x==y’
C) X=11;
Y=10;
y - - ;
x==y;
D) X=11;
Y=10;
y - = 1;
x==y
Question No 2
Which of the following will correctly declare the courseNumber variable as a siring data type?
Question No 3
Geraldine is creating a custom object to store user account data on her Web site. She has written the
following code it is not working properly. What change should she make to enable the script to run
correctly?
Question No 4
Considering the following code:
Var 1 ;
For (I = 1; I < 10; I ++)
What part of the code fragment initializes the counter variable?
Question No 5
What basis code is needed to define the JavaScript function avgGrades?