Deck 10: Javascript Language and Syntax: Part A

Full screen (f)
exit full mode
Question
Which type of JavaScript language is ___

A)Object-Oriented
B)Object-Based
C)Assembly-language
D)High-level
Use Space or
up arrow
down arrow
to flip the card.
Question
Which one of the following also known as Conditional Expression:

A)Alternative to if-else
B)Switch statement
C)If-then-else statement
D)immediate if
Question
The "function" and " var" are known as

A)Keywords
B)Data types
C)Declaration statements
D)Prototypes
Question
Which of the following variables takes precedence over the others if the namesare the same?

A)Global variable
B)The local element
C)The two of the above
D)None of the above
Question
Which one of the following is the correct way for calling the JavaScript code?

A)Preprocessor
B)Triggering Event
C)RMI
D)Function/Method
Question
Which of the following type of a variable is volatile?

A)Mutable variable
B)Dynamic variable
C)Volatile variable
D)Immutable variable
Question
the JavaScript, which one of the following is not considered as an error:

A)Syntax error
B)Missing of semicolons
C)Division by zero
D)Missing of Bracket
Question
In JavaScript the x===y statement implies that:

A)Both x and y are equal in value, address as well.
B)Both are x and y are equal in value only.
C)Both are equal in the value and data type.
D)Both are not same at all.
Question
In JavaScript, what will be used for calling the function definition expression:

A)Function prototype
B)Function literal
C)Function calling
D)Function declaration
Question
Which one of the following is an ternary operator:

A)(?)
B)(:)
C)(-)
D)(+)
Question
Which one of the following is known as the Equality operator, which is used tocheck whether the two values are equal or not:

A)=
B)===
C)==
D)&&
Question
Which one of the following symbol is used for creating comments in thejavascript:

A)\\
B)//
C)\* *\
D)\* */
Question
Which one of the following is not considered as "statement" in the JavaScript?

A)use strict
B)debugger
C)if
D)with
Question
A collection of elements of the same data type which may either in order or not,is called _____.

A)String
B)Array
C)Serialized Object
D)Object
Question
Is JavaScript a case-sensitive language?

A)true
B)false
C)can not say
D)none of these
Question
JavaScript is ______ Side scripting language.

A)Server
B)Client
C)ISP
D)Browser
Question
. The behaviour of the document elements can be defined by

A)Using document object
B)Registering appropriate event handlers
C)Using element object
D)All of the mentioned
Question
The service(s) that enables networking through scripted HTTP requests is

A)XMLHttpResponse
B)XMLRequest
C)XMLHttpRequest
D)All of the mentioned
Question
The HTML5 specification includes

A)Data storage
B)Graphics APIs
C)Other APIs for web apps
D)All of the mentioned
Question
Which of the following are not advanced services?

A)Data storage
B)Networking
C)XMLHttpRequest object
D)None of the mentioned
Question
JavaScript code between a pair of "script" tags are called

A)Non-inline
B)External
C)Referenced
D)Inline
Question
Client-side JavaScript code is embedded within HTML documents in

A)A URL that uses the special javascript:encoding
B)A URL that uses the special javascript:stack
C)A URL that uses the special javascript:protocol
D)A URL that uses the special javascript:code
Question
What is the programming philosophy that argues that content and behaviourshould as much as possible be kept separate?

A)Unobtrusive JavaScript
B)Obtrusive JavaScript
C)Inherited JavaScript
D)Modular JavaScript
Question
Which of the following communicates with server-side CGI scripts through HTMLform submissions and can be written without the use of JavaScript?

A)Static Web Pages
B)Interactive Web Pages
C)Conditional Web Pages
D)None of the mentioned
Question
______ tag is an extension to HTML that can enclose any number of JavaScriptstatements.

A)<SCRIPT>
B)<BODY>
C)<HEAD>
D)<TITLE>
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/25
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 10: Javascript Language and Syntax: Part A
1
Which type of JavaScript language is ___

A)Object-Oriented
B)Object-Based
C)Assembly-language
D)High-level
Object-Based
2
Which one of the following also known as Conditional Expression:

A)Alternative to if-else
B)Switch statement
C)If-then-else statement
D)immediate if
If-then-else statement
3
The "function" and " var" are known as

A)Keywords
B)Data types
C)Declaration statements
D)Prototypes
Declaration statements
4
Which of the following variables takes precedence over the others if the namesare the same?

A)Global variable
B)The local element
C)The two of the above
D)None of the above
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
5
Which one of the following is the correct way for calling the JavaScript code?

A)Preprocessor
B)Triggering Event
C)RMI
D)Function/Method
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
6
Which of the following type of a variable is volatile?

A)Mutable variable
B)Dynamic variable
C)Volatile variable
D)Immutable variable
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
7
the JavaScript, which one of the following is not considered as an error:

A)Syntax error
B)Missing of semicolons
C)Division by zero
D)Missing of Bracket
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
8
In JavaScript the x===y statement implies that:

A)Both x and y are equal in value, address as well.
B)Both are x and y are equal in value only.
C)Both are equal in the value and data type.
D)Both are not same at all.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
9
In JavaScript, what will be used for calling the function definition expression:

A)Function prototype
B)Function literal
C)Function calling
D)Function declaration
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
10
Which one of the following is an ternary operator:

A)(?)
B)(:)
C)(-)
D)(+)
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
11
Which one of the following is known as the Equality operator, which is used tocheck whether the two values are equal or not:

A)=
B)===
C)==
D)&&
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
12
Which one of the following symbol is used for creating comments in thejavascript:

A)\\
B)//
C)\* *\
D)\* */
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
13
Which one of the following is not considered as "statement" in the JavaScript?

A)use strict
B)debugger
C)if
D)with
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
14
A collection of elements of the same data type which may either in order or not,is called _____.

A)String
B)Array
C)Serialized Object
D)Object
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
15
Is JavaScript a case-sensitive language?

A)true
B)false
C)can not say
D)none of these
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
16
JavaScript is ______ Side scripting language.

A)Server
B)Client
C)ISP
D)Browser
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
17
. The behaviour of the document elements can be defined by

A)Using document object
B)Registering appropriate event handlers
C)Using element object
D)All of the mentioned
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
18
The service(s) that enables networking through scripted HTTP requests is

A)XMLHttpResponse
B)XMLRequest
C)XMLHttpRequest
D)All of the mentioned
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
19
The HTML5 specification includes

A)Data storage
B)Graphics APIs
C)Other APIs for web apps
D)All of the mentioned
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
20
Which of the following are not advanced services?

A)Data storage
B)Networking
C)XMLHttpRequest object
D)None of the mentioned
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
21
JavaScript code between a pair of "script" tags are called

A)Non-inline
B)External
C)Referenced
D)Inline
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
22
Client-side JavaScript code is embedded within HTML documents in

A)A URL that uses the special javascript:encoding
B)A URL that uses the special javascript:stack
C)A URL that uses the special javascript:protocol
D)A URL that uses the special javascript:code
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
23
What is the programming philosophy that argues that content and behaviourshould as much as possible be kept separate?

A)Unobtrusive JavaScript
B)Obtrusive JavaScript
C)Inherited JavaScript
D)Modular JavaScript
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
24
Which of the following communicates with server-side CGI scripts through HTMLform submissions and can be written without the use of JavaScript?

A)Static Web Pages
B)Interactive Web Pages
C)Conditional Web Pages
D)None of the mentioned
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
25
______ tag is an extension to HTML that can enclose any number of JavaScriptstatements.

A)<SCRIPT>
B)<BODY>
C)<HEAD>
D)<TITLE>
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 25 flashcards in this deck.