Filters
Question type

Study Flashcards

Which of the following navigator object properties is the same in both Netscapeand IE?


A) navigator.appCodeName
B) navigator.appName
C) navigator.appVersion
D) None of the above

E) A) and C)
F) A) and B)

Correct Answer

verifed

verified

Which is the correct way to write a JavaScript array?


A) var txt = new Array(1:"tim",2:"kim",3:"jim")
B) var txt = new Array:1=("tim") 2=("kim") 3=("jim")
C) var txt = new Array("tim","kim","jim")
D) var txt = new Array="tim","kim","jim"

E) B) and D)
F) None of the above

Correct Answer

verifed

verified

What is a web browser?


A) a program that can display a web page
B) a program used to view html documents
C) it enables user to access the resources of internet
D) all of the above

E) A) and D)
F) A) and C)

Correct Answer

verifed

verified

D

Physical or logical arrangement of network is


A) Topology
B) Routing
C) Networking
D) None of the above

E) B) and C)
F) A) and D)

Correct Answer

verifed

verified

What is the correct JavaScript syntax to write "Hello World"?


A) System.out.println("Hello World")
B) println ("Hello World")
C) document.write("Hello World")
D) response.write("Hello World")

E) A) and D)
F) None of the above

Correct Answer

verifed

verified

Choose the server-side JavaScript object?


A) FileUpLoad
B) Function
C) File
D) Date

E) None of the above
F) C) and D)

Correct Answer

verifed

verified

C

Inside which HTML element do we put the JavaScript?


A) <js>
B) <scripting>
C) <script>
D) <javascript>

E) B) and C)
F) All of the above

Correct Answer

verifed

verified

Using _______ statement is how you test for a specific condition.


A) Select
B) If
C) Switch
D) For

E) A) and B)
F) C) and D)

Correct Answer

verifed

verified

JavaScript is interpreted by ______Sol:.


A) Client
B) Server
C) Object
D) None of the above

E) None of the above
F) All of the above

Correct Answer

verifed

verified

Choose the client-side JavaScript object?


A) Database
B) Cursor
C) Client
D) FileUpLoad

E) B) and C)
F) A) and D)

Correct Answer

verifed

verified

JavaScript entities start with _______ and end with _________.


A) Semicolon, colon
B) Semicolon, Ampersand
C) Ampersand, colon
D) Ampersand, semicolon

E) A) and B)
F) A) and C)

Correct Answer

verifed

verified

Which types of image maps can be used with JavaScript?


A) Server-side image maps
B) Client-side image maps
C) Server-side image maps and Client-side image maps
D) None of the above

E) B) and C)
F) A) and B)

Correct Answer

verifed

verified

What is internet?


A) a single network
B) a vast collection of different networks
C) interconnection of local area networks
D) none of the above

E) B) and C)
F) A) and C)

Correct Answer

verifed

verified

B

What is the correct syntax for referring to an external script called " abc.js"?


A) <script href=" abc.js">
B) <script name=" abc.js">
C) <script src=" abc.js">
D) None of the above

E) All of the above
F) B) and C)

Correct Answer

verifed

verified

Which of the following attribute can hold the JavaScript version?


A) LANGUAGE
B) SCRIPT
C) VERSION
D) None of the above

E) A) and B)
F) C) and D)

Correct Answer

verifed

verified

______method evaluates a string of JavaScript code in the context of thespecified object.


A) Eval
B) ParseInt
C) ParseFloat
D) Efloat

E) A) and B)
F) A) and C)

Correct Answer

verifed

verified

Which of the following way can be used to indicate the LANGUAGE attribute?


A) <LANGUAGE="JavaScriptVersion">
B) <SCRIPT LANGUAGE="JavaScriptVersion">
C) <SCRIPT LANGUAGE="JavaScriptVersion"> JavaScript statements…</SCRIPT>
D) <SCRIPT LANGUAGE="JavaScriptVersion"!> JavaScript statements…</SCRIPT>

E) B) and D)
F) A) and B)

Correct Answer

verifed

verified

How does JavaScript store dates in a date object?


A) The number of milliseconds since January 1st, 1970
B) The number of days since January 1st, 1900
C) The number of seconds since Netscape's public stock offering.
D) None of the above

E) A) and C)
F) B) and C)

Correct Answer

verifed

verified

Which of the following best describes JavaScript?


A) a low-level programming language.
B) a scripting language precompiled in the browser.
C) a compiled scripting language.
D) an object-oriented scripting language.

E) None of the above
F) All of the above

Correct Answer

verifed

verified

Which of the following event fires when the form element loses the focus:<button>, <input>, <label>, <select>, <textarea>?


A) onfocus
B) onblur
C) onclick
D) ondblclick

E) A) and D)
F) C) and D)

Correct Answer

verifed

verified

Showing 1 - 20 of 24

Related Exams

Show Answer