Deck 1: Introduction to Javascript
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
Match between columns
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/42
العب
ملء الشاشة (f)
Deck 1: Introduction to Javascript
1
____ refers to programming using a scripting language that is executed from a web server.
A) Host-side scripting
B) Client-side scripting
C) Servlet-side scripting
D) Server-side scripting
A) Host-side scripting
B) Client-side scripting
C) Servlet-side scripting
D) Server-side scripting
D
2
A(n)____ comment hides multiple lines of code.
A)variable
B)element
C)line
D)block
A)variable
B)element
C)line
D)block
D
3
An HTML document is a text document that contains codes called ____.
A) elements
B) tags
C) styles
D) rules
A) elements
B) tags
C) styles
D) rules
B
4
A system consisting of a client and a server is known as a ____ system.
A) traditional
B) three-tier
C) monolithic
D) two-tier
A) traditional
B) three-tier
C) monolithic
D) two-tier
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
5
____ was established in 1994 at MIT to oversee the development of web technology standards.
A) The University of Illinois
B) The W3C
C) Microsoft
D) Netscape
A) The University of Illinois
B) The W3C
C) Microsoft
D) Netscape
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
6
The procedures associated with an object are called ____.
A) methods
B) processes
C) attributes
D) functions
A) methods
B) processes
C) attributes
D) functions
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
7
Elements that do not require a closing tag are called empty elements.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
8
JavaScript code is always stored in an external file separate from the HTML or XHTML code for a web document.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
9
____ are lines of code that are not processed by browsers, which you use to add notes about your code.
A)methods
B)comments
C)variables
D)properties
A)methods
B)comments
C)variables
D)properties
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
10
In the client/server system, one of the primary roles of the client, or front end, is to ____.
A) carry out complex data processing
B) provide for data storage
C) send email
D) present an interface to the user
A) carry out complex data processing
B) provide for data storage
C) send email
D) present an interface to the user
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
11
____ can turn static documents into applications such as games or calculators.
A) HTML
B) XHTML
C) JavaScript
D) Cascading Style Sheets
A) HTML
B) XHTML
C) JavaScript
D) Cascading Style Sheets
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
12
Like HTML, XHTML is not case sensitive.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
13
You can place script elements in either the document head or in the document body.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
14
Some of the more popular server-side scripting languages include ____.
A) C, C++, and CGI
B) JScript, Livescript, and ECMAScript
C) PHP, ASP.NET, and Python
D) VBS and JScript
A) C, C++, and CGI
B) JScript, Livescript, and ECMAScript
C) PHP, ASP.NET, and Python
D) VBS and JScript
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
15
When a client requests a server-side script, a client will never see the server-side script, only the ____ that the web server software returns from the script.
A) email sent
B) program executing
C) HTML
D) raw data requested
A) email sent
B) program executing
C) HTML
D) raw data requested
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
16
A(n)____ comment occupies only a single line or part of a line.
A)variable
B)element
C)line
D)block
A)variable
B)element
C)line
D)block
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
17
An object is ____ that can be treated as an individual unit or component.
A) state and contents
B) file and data
C) formatting and color
D) programming code and data
A) state and contents
B) file and data
C) formatting and color
D) programming code and data
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
18
A three-tier, or multitier, client/server system consists of three distinct pieces: These are ____.
A) the client tier, the processing tier, and the data storage tier
B) the client tier, the design tier, and the processing tier
C) the storage tier, the distributing tier, and the processing tier
D) the email tier, the messaging tier, and the data storage tier
A) the client tier, the processing tier, and the data storage tier
B) the client tier, the design tier, and the processing tier
C) the storage tier, the distributing tier, and the processing tier
D) the email tier, the messaging tier, and the data storage tier
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
19
Although JavaScript is considered a programming language, it is also a critical part of web page design and authoring.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
20
On client/server systems, heavy processing, such as calculations, usually takes place on the ____.
A) client
B) server
C) middle-ware
D) browser
A) client
B) server
C) middle-ware
D) browser
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
21
When you assign a value to a variable, you use an equal sign, which is also called a(n)__________ operator.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
22
Which method displays a dialog box with an OK button?
A) write()
B) alert()
C)onclick()
D)getElementById()
A) write()
B) alert()
C)onclick()
D)getElementById()
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
23
Match between columns
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
24
JavaScript source files that store especially useful generic scripts used on many different website are known as __________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
25
A document on the web is called a web page and is identified by a unique address called the _________________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
26
Discuss case sensitivity in JavaScript.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
27
When an event occurs, your script executes any code that responds to that specific event on that specific element. This code is known as the __________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
28
Which method do you use to reference an element on a web page in a script?
A) write()
B) alert()
C)onclick()
D)getElementById()
A) write()
B) alert()
C)onclick()
D)getElementById()
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
29
Explain what a library is and what it is used for, and name one commonly used library.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
30
What does each of the following statements do?
document.write("Plant choices");
window.alert("Plant choices");
document.write("Plant choices");
window.alert("Plant choices");
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
31
Describe why it's important to validate web documents, and how to do it.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
32
Special words that are part of the JavaScript language syntax and that can't be used as variable names are known as ____.
A)identifiers
B)reserved words
C)operands
D)operators
A)identifiers
B)reserved words
C)operands
D)operators
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
33
Describe how events are useful in JavaScript code.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
34
What is client-side scripting, and how is it related to the JavaScript language?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
35
What are the components that make up a JavaScript object?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
36
Symbols such as + and * used in expressions to manipulate operands are known as ____.
A)operators
B)variables
C)events
D)properties
A)operators
B)variables
C)events
D)properties
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
37
Variables and literals contained in an expression are known as ____.
A)operators
B)operands
C)events
D)properties
A)operators
B)operands
C)events
D)properties
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
38
Which keyword do you use to create a variable?
A) for
B) value
C) assign
D) var
A) for
B) value
C) assign
D) var
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
39
A(n)_____ is a specific circumstance that is monitored by JavaScript and that your script can respond to in some way.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
40
Where does a script element usually go in an HTML document, and why?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
41
Under what circumstances would you use server-side scripting?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
42
What does the following code do?
var fname = document.getElementById("firstName");
var fname = document.getElementById("firstName");
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck