Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

CIW JavaScript Specialist 1D0 735 Certification Exam, Exercises of Javascript programming

This CIW JavaScript Specialist training kit includes all 1D0 735 exam dumps & 1D0 735 pdf dumps with free updates for 3 months.

Typology: Exercises

2021/2022

Uploaded on 08/31/2022

TestsExpert
TestsExpert 🇺🇸

1 document

1 / 3

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Latest Version: 6.1
Question: 1
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
A. Option A
B. Option B
C. Option C
D. Option D
Answer: D
Question: 2
Which of the following will correctly declare the courseNumber variable as a siring data type?
A. var courseNumber = ''JS101'';
B. var courseNumber = ''JS101'';
C. var_courseNumber = JS101'';
D. var courseNumber = JS101;
pf3

Partial preview of the text

Download CIW JavaScript Specialist 1D0 735 Certification Exam and more Exercises Javascript programming in PDF only on Docsity!

Latest Version: 6.

Question: 1

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

A. Option A B. Option B C. Option C D. Option D

Answer: D

Question: 2

Which of the following will correctly declare the courseNumber variable as a siring data type?

A. var courseNumber = ''JS101''; B. var courseNumber = ''JS101''; C. var_courseNumber = JS101''; D. var courseNumber = JS101;

Answer: C

Question: 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?

A. She must remove the this keyword from the left side of the assignment variables B. She must add the parameters username. password and email to the function definition C. She must change the this keyword to the object keyword on the left side of the assignment variables D. She must change the function keyword to the object keyword in the function definition

Answer: A

Question: 4

Considering the following code: Var 1 ; For (I = 1; I < 10; I ++) What part of the code fragment initializes the counter variable?

A. i ++ B. i < 10; C. i = 1; D. Var 1;

Answer: C

Question: 5

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

A. Function avgGrades () {} B. avgGrades function () C. avgGrades (){ } D. var = function avgGrades () {}