Exam Code: 1D0-435 (Practice Exam Latest Test Questions VCE PDF)
Exam Name: CIW JAVA XCRIPT FUNDAMENTALS
Certification Provider: CIW
Free Today! Guaranteed Training- Pass 1D0-435 Exam.
Q3. Sasha needs to display quotation marks for a greeting on the corporate Web page. She adds the quotation marks to the JavaScript as follows:
var questions = new Array(2)
questions[0] = u201cWhat is the capital of the USA?u201d; questions[1] = u201cWho is the company u201cPresidentu201d?u201d; questions[2] = u201cWho is the company u201cVice-Presidentu201d?u201d;
When Sasha runs the code, however, the quotation marks do not appear around the words u201cPresidentu201d and u201cVice-Presidentu201d
Which of the following choices shows how Sasha should rewrite the code to make the script execute properly?
A. questions[1] = u201cWho is the company u201c\Presidentu201d \?u201d; questions[2] = u201cWho is the company u201c\Vice-Presidentu201d \?u201d;
B. questions[1] = u201cWho is the company u201c\Presidentu201d\?u201d; questions[2] = u201cWho is the company u201c\Vice-Presidentu201d\?u201d;
C. questions[1] = u201cWho is the company \ u201cPresidentu201d \?u201d; questions[2] = u201cWho is the company \ u201cVice-Presidentu201d \?u201d;
D. questions[1] = u201cWho is the company \u201dPresident\u201d?u201d; questions[2] = u201cWho is the company \u201dVice-President\u201d?u201d;
Answer: D
Topic 5, Exam Set E
Q4. The object is used to reflect information about the browser being used. This object can determine the brand and version of the browser in use, as well as the user's operating system.
A. navigator
B. userAgent
C. useNav
D. version
Answer: A
Q5. The only way to use date and time information in JavaScript is through the Date object.
A. FALSE
B. TRUE
Answer: B
Q6. How would you change two frames simultaneously in JavaScript?
A. You must write a JavaScript function that includes two references to top.
B. You must write a JavaScript function that includes two or more location.href statements.
C. You must write a JavaScript function that includes the top.top statement.
D. You must write a JavaScript function that includes the parent.parent statement.
Answer: B
Q7. VBScript and are scripting languages that are similar in purpose. Both extend the capabilities of static Web pages.
A. C++
B. Visual Basic
C. JavaScript
D. Java
Answer: C
Q8. The continue statement is used with a .
A. for or a while loop
B. for or a next loop
C. for loop
D. while statement
Answer: A
Q9. Which property of the form object describes the URL to which the form data is submitted?
A. name
B. action
C. method
D. target
Answer: B
Q10. When using frames, where should functions and variables be stored in a JavaScript-based Web site?
A. Anywhere in the Web server that has an appropriate set of permissions to access and write.
B. Anywhere in the HTML pages that not invoked in making the frameset.
C. In any HTML file that is invoked in making the frameset.
D. In the cgi-bin directory of the Web server.
Answer: C
Q11. Consider the following HTML:
<TT></TT>
Which method of the String object is used to write the JavaScript equivalent to this HTML?
A. blink()
B. sub()
C. italics()
D. fixed()
Answer: D
Q12. The key difference between the While Statement and the Do While Statement is
A. The Do While Statement does not check the condition until it has iterated the loop at the first time. The While Statement will check the condition before beginning the first loop.
B. None. There is no Do While loop in JavaScript.
C. The While Statement does not check the condition until it has iterated the loop at the first time. The Do While Statement will check the condition before beginning the first loop.
D. The Do While Statement will check the condition before it loops the first time. The Do While Statement will never check the condition.
Answer: A
P.S. Easily pass 1D0-435 Exam with Examcollectionplus Simulation Dumps & pdf vce, Try Free: https://www.examcollectionplus.net/vce-1D0-435/ ( New Questions)