Você está na página 1de 3

a++; is the same as which of the following ?

Your Answer: a=a+1;


Correct!
This question is explained in: JavaScript > Basics

2 Which is detected when the mouse moves over a link ?


Your Answer: onMouseOver event
Correct!
This question is explained in: JavaScript > Advanced Scripts

3 Which will assign the name EchoEcho to the variable n ?


Your Answer: n="EchoEcho";
Correct!
This question is explained in: JavaScript > Advanced Scripts

4 onSubmit events are added to which tags ?


Your Answer: <form>
Correct!
This question is explained in: JavaScript > Advanced Scripts

5 Which of the following is NOT done with JavaScript ?


Your Answer: Browser Detection
Correct answer: RGB Colors
This question is explained in: JavaScript > Basics

6 Which of the following is NOT a type of loop ?


Your Answer: Yet
Correct!
This question is explained in: JavaScript > Basics

7 How do you load a new page with javascript ?


Your Answer: Javascript can not change the location.
Correct answer: window.location.href=newPage;
This question is explained in: JavaScript > Advanced Scripts

8 Ausers
variable that your webpage can store on or retrieve from the
computer is known as ?
Your Answer: Cookie
Correct!
This question is explained in: JavaScript > Advanced Scripts

9 In JavaScript, capital letters are different from lowercase letters ?


Your Answer: Yes
Correct!
This question is explained in: JavaScript > Basics

10 How do you translate to uppercase ?


Your Answer: someVariable.toUpperCase();
Correct!
This question is explained in: JavaScript > Advanced Scripts
11 Java is short for JavaScript?
Your Answer: No
Correct!
This question is explained in: JavaScript > Advanced Scripts

12 To create subpages that if loaded outside the frameset will load


themselves into the frameset use what ?
Your Answer: javascript
Correct!
This question is explained in: JavaScript > Advanced Scripts

13 The most common way to assign a value to a variable is by using


what ?
Your Answer: Equals sign
Correct!
This question is explained in: JavaScript > Basics

14 When comparing variables use which of the following ?


Your Answer: ==
Correct!
This question is explained in: JavaScript > Basics

15 Which is NOT correct syntax ?


Your Answer: myDate = new Date();
Correct answer: myDate = new Date(October 13);
This question is explained in: JavaScript > Advanced Scripts

16 Itwhich
is usually advisable to keep as much JavaScript as possible in
section ?
Your Answer: Layer
Correct answer: Head
This question is explained in: JavaScript > Basics

17 Which method will open a new window ?


Your Answer: window.launch(PageURL,WindowName,settings);
Correct answer: window.open(PageURL,WindowName,settings);
This question is explained in: JavaScript > Advanced Scripts

18 JavaScript lines end with what ?


Your Answer: semicolon
Correct!
This question is explained in: JavaScript > Basics

19 Which of the following is NOT a type of popup box ?


Your Answer: Radio
Correct!
This question is explained in: JavaScript > Basics

20 How do you read the first character in a string ?


Your Answer: stringName.charAt(0);
Correct!

Você também pode gostar