Test 2- Preguntas y respuestas

Please answer each test question, then click 'Get score.' Your test score will be displayed with the correct answers shown.
The section below contains mandatory questions. All questions MUST BE ANSWERED correctly in order to pass this test. No exceptions!


Multiple Choice Questions


1.What handles an "event" in JavaScript?

A. A command called event handler.
B. A command called porter.
C. Javascript event activist.
D. Javascript cannot handle events.

2.Objects, properties and methods are separated by ...

A. Forward slashes
B. Commas
C. Dots
D. Curly brackets

3.What is the main difference between validating and verifying an e-mail address by using Javascript?

A. There is no difference.
B. The main difference is that the validation script sometimes can fail. Verification scripts can never fail.
C. Verification is performed faster than validation.
D. Validation checks if the user entered a proper form for an e-mail address, but actually does not verify that the address really exists.

4.To write Javascript you need...

A. ...a program called ColdFusion.
B. ...an expensive compiler program.
C. ...a simple text editor.
D. ...a program called New Wave.

5.What is a cookie?

A. A unique nugget of information that a Web server gives to your browser when the two first meet.
B. Sweet stuff you keep in a cookie jar.
C. A computer virus.
D. An applet also known as a worm.

6.What technique do you use in a slide show or a cycling banner to make sure the user has seen all of the graphic before displaying the next?

A. You need to create an array.
B. Use a for loop.
C. The recycle() function.
D. The rotate() function.

7.Which one of the following can be done by using Javascript?

A. Displaying time and day.
B. Scrolling status bar.
C. Rollovers.
D. All of the above.

8.What is DHTML?

A. A collection of the following programming languages: C+, Visual Basic, Java and Javascript.
B. A combination of HTML, CSS and Javascript.
C. Refers to a combination of all computer programming languages.
D. Data Interaction Transcript Modifier Language.

9.How can you debug Javascript?

A. Only with the help of madou Wane.
B. You must pay a fee to a computer repair technician to debug Javascript.
C. You can use a full-featured debugger program available from companies such as Netscape and Microsoft.
D. Javascript cannot be debugged.

10.Which of the following statement is true?

A. Javascript can interact with a Java applet.
B. Javascript cannot interact with a Java applet. If you try, your browser will crash.
C. Javascript and Java applet are the same.
D. Javascript will only work if you run Java applets on the same page.

Fill in the Blank Questions


11.Who invented javascript?



12.Javacript is an example of what type of language?



13.Is Javascript weakly or strongly typed?



14.What is the process called to append literals?



15.Color is expressed in what type of notation?



True/False Questions


16.The first element in an array is always 0.

true
false

17.A function call evokes a function.

true
false

18.DOM stands for Document Object Model.

true
false

19.'Name.Number' will determine the number of elements in an array.

true
false

20.JavaScript must never be placed in the head of the document.

true
false

Extra Credit Questions


21.Mui Farata is from Chad.

true
false

22.Fifty percent of the inhabitants of Chad are over 50 years of age.

true
false

23.The official currency of Chad is the dirham.

true
false

24.The people of Chad are the Bambara, Tuareg, Dogon, Songhai, Senoufou and Fulani.

true
false

25.Chad is in West Africa.

true
false


Resultados =
Respuestas correctas: