Q1. You can only create 5 methods for an object?
A. FALSE
B. TRUE
Answer: A
Q2. Amazon.com deposits a cookie that allows a user to purchase a book by clicking only once. The user does not have to re-enter credit card or any other information.
What is this an example of?
A. cookie magic
B. state maintenance
C. cookie assignment
D. cookie maintenance
Answer: B
Topic 2, Exam Set B
Q3. Consider the following Code:
<script>
var state = "";
var orderAmount = 50;
state = prompt("Which state do you live in?",""); if (state.toUpperCase() == "CA") {
alert("Your total owed is: " + (orderAmount * 1.0825));
} else {
alert("Your total owed is:" + orderAmount);
}
</script>
What will the alert method display if the user lives in Tennessee?
A. 1.0825 % of the order amount
B. nothing
C. The order amount only
D. The order amount plus sales tax of 1.0825
Answer: C
Q4. is used to associate an object's name with the object's properties or methods.
A. A property
B. A function
C. A statement
D. Dot notation
Answer: D
Q5. is used frequently in JavaScript to combine text strings, especially in conjunction with prompt() and alert().
A. Concatenation
B. String()
C. Instaniation
D. Confirmation
Answer: A
Q6. A user can never delete or disable cookies
A. TRUE
B. FALSE
Answer: B
Q7. When you want to evaluate multiple objects in an array, you need a instead of a .
A. literal, variable
B. method, function
C. variable, literal
D. function, method
Answer: D
Q8. JavaScript is an event-driven programming language. Events trigger .
A. functions
B. behaviors
C. methods
D. actions
Answer: A
Q9. is JavaScript's server-side solution. It enables you to connect Web pages to databases, as well as enable server-side image maps and save client state so that the computer will remember where the client is in a multi-page preocess.
A. ServerSide JavaScript
B. JavaWire
C. LiveWire
D. Java
Answer: C
Q10. For a comment that extends beyond the current line, enclose the area that will not execute with -
A. */comment/*
B. /*comment*/
C. */comment*/
D. /*comment/*
Answer: B
Recommend!! Get the High value 1D0-435 dumps in VCE and PDF From Thedumpscentre, Welcome to download: http://www.thedumpscentre.com/1D0-435-dumps/ (New Q&As Version)