Deck 10: Javascript Language and Syntax: Part A
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/25
العب
ملء الشاشة (f)
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
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
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
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
A)Global variable
B)The local element
C)The two of the above
D)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
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
A)Preprocessor
B)Triggering Event
C)RMI
D)Function/Method
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
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
A)Mutable variable
B)Dynamic variable
C)Volatile variable
D)Immutable variable
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
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
A)Syntax error
B)Missing of semicolons
C)Division by zero
D)Missing of Bracket
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
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.
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
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
A)Function prototype
B)Function literal
C)Function calling
D)Function declaration
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
10
Which one of the following is an ternary operator:
A)(?)
B)(:)
C)(-)
D)(+)
A)(?)
B)(:)
C)(-)
D)(+)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
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)&&
A)=
B)===
C)==
D)&&
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
12
Which one of the following symbol is used for creating comments in thejavascript:
A)\\
B)//
C)\* *\
D)\* */
A)\\
B)//
C)\* *\
D)\* */
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
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
A)use strict
B)debugger
C)if
D)with
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
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
A)String
B)Array
C)Serialized Object
D)Object
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
15
Is JavaScript a case-sensitive language?
A)true
B)false
C)can not say
D)none of these
A)true
B)false
C)can not say
D)none of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
16
JavaScript is ______ Side scripting language.
A)Server
B)Client
C)ISP
D)Browser
A)Server
B)Client
C)ISP
D)Browser
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
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
A)Using document object
B)Registering appropriate event handlers
C)Using element object
D)All of the mentioned
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
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
A)XMLHttpResponse
B)XMLRequest
C)XMLHttpRequest
D)All of the mentioned
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
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
A)Data storage
B)Graphics APIs
C)Other APIs for web apps
D)All of the mentioned
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
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
A)Data storage
B)Networking
C)XMLHttpRequest object
D)None of the mentioned
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
21
JavaScript code between a pair of "script" tags are called
A)Non-inline
B)External
C)Referenced
D)Inline
A)Non-inline
B)External
C)Referenced
D)Inline
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
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
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
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
A)Unobtrusive JavaScript
B)Obtrusive JavaScript
C)Inherited JavaScript
D)Modular JavaScript
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
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
A)Static Web Pages
B)Interactive Web Pages
C)Conditional Web Pages
D)None of the mentioned
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
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>
A)<SCRIPT>
B)<BODY>
C)<HEAD>
D)<TITLE>
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck