Deck 11: Using Dom to Enhance Web Pages
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/112
العب
ملء الشاشة (f)
Deck 11: Using Dom to Enhance Web Pages
1
Dynamic ____ of elements is a key feature of modern Web pages and makes the Web page more appealing and interactive.
A)positioning
B)embedding
C)installation
D)concatenation
A)positioning
B)embedding
C)installation
D)concatenation
A
2
Which of the following is true?
A)Object positions can be changed within a span tag.
B)The layer created by a < div > or < span > tag is the same as the < layer > tag from Netscape.
C)Differences in browsers can cause a division to appear slightly higher or lower than originally intended by the developer.
D)Object positions cannot be changed within a div tag.
A)Object positions can be changed within a span tag.
B)The layer created by a < div > or < span > tag is the same as the < layer > tag from Netscape.
C)Differences in browsers can cause a division to appear slightly higher or lower than originally intended by the developer.
D)Object positions cannot be changed within a div tag.
A,C
3
Which of the following is a core part of the DOM?
A)hierarchy charts
B)the scripting language
C)the markup language
D)style sheets
A)hierarchy charts
B)the scripting language
C)the markup language
D)style sheets
B,C,D
4
Which of the following does HTML use to make Web pages more dynamic?
A)COM
B)CSS
C)VBS
D)DOM
A)COM
B)CSS
C)VBS
D)DOM
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
5
Which of the following is true of the < div > tag?
A)The < div > tag is also called the < id > tag.
B)It is a container.
C)It is used to format the layout of sections or divisions of text needing the same style.
D)It is often described as a layer.
A)The < div > tag is also called the < id > tag.
B)It is a container.
C)It is used to format the layout of sections or divisions of text needing the same style.
D)It is often described as a layer.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
6
The < html > tag can be thought of as the ____ node in the DOM naming system.
A)lead
B)key
C)main
D)root
A)lead
B)key
C)main
D)root
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
7
A ____ is text that appears in a small pop-up box when you hover the mouse pointer over an item on the screen.
A)QuickPic
B)context-sensitive menu
C)HelpBox
D)pop-up caption
A)QuickPic
B)context-sensitive menu
C)HelpBox
D)pop-up caption
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
8
Which of the following is true?
A)JavaScript arrays are a fixed length like in other programming languages.
B)New elements can be added to an array without having to redefine the structure.
C)JavaScript is a loosely typed language.
D)JavaScript requires variables to be declared as a data type.
A)JavaScript arrays are a fixed length like in other programming languages.
B)New elements can be added to an array without having to redefine the structure.
C)JavaScript is a loosely typed language.
D)JavaScript requires variables to be declared as a data type.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
9
Which of following is a scripting language?
A)Java
B)C++
C)JavaScript
D)Both a and c
A)Java
B)C++
C)JavaScript
D)Both a and c
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
10
____ uses a combination of HTML tags and options that allow you to create Web pages that are more animated and more responsive to visitor interaction than basic HTML Web pages.
A)DOM
B)VBS
C)CSS
D)COM
A)DOM
B)VBS
C)CSS
D)COM
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
11
Which of the following is a step necessary to create a pop-up caption?
A)Enter the < div > tags containing the pop-up caption text and style sheet attributes that format the appearance of the pop-up caption text
B)Enter the < a > tag and event handler for each term associated with the pop-up caption
C)Create the JavaScript code for the user-defined function,popupCaption()
D)Resample the class selector for the popup caption object
A)Enter the < div > tags containing the pop-up caption text and style sheet attributes that format the appearance of the pop-up caption text
B)Enter the < a > tag and event handler for each term associated with the pop-up caption
C)Create the JavaScript code for the user-defined function,popupCaption()
D)Resample the class selector for the popup caption object
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
12
DOM is an example of which of the following?
A)CSS
B)API
C)IP
D)HTTP
A)CSS
B)API
C)IP
D)HTTP
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
13
____ specifies the placement of elements,such as text and graphics,on a Web page.
A)Positioning
B)Embedding
C)Installation
D)Concatenation
A)Positioning
B)Embedding
C)Installation
D)Concatenation
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
14
A(n)____ allows JavaScript and other languages to manipulate the structure of the underlying document.
A)DPL
B)APL
C)API
D)CSS
A)DPL
B)APL
C)API
D)CSS
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
15
A(n)____ is a point in a tree-like structure that indicates the relationship between people or objects.
A)key
B)index
C)node
D)link
A)key
B)index
C)node
D)link
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
16
The ____ has a simple,hierarchical naming system that makes certain elements on a Web page accessible as objects to scripting languages.
A)DOM
B)VBS
C)CSS
D)COM
A)DOM
B)VBS
C)CSS
D)COM
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
17
A(n)____ provides additional information about an item.
A)hover icon
B)definition
C)index
D)pop-up caption
A)hover icon
B)definition
C)index
D)pop-up caption
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
18
The ____ naming system uses a tree-like hierarchy of parent and child relationships.
A)DOM
B)VBS
C)CSS
D)COM
A)DOM
B)VBS
C)CSS
D)COM
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
19
A(n)____ language is used to make your Web pages even more dynamic.
A)embedded
B)inline
C)scripting
D)Boolean
A)embedded
B)inline
C)scripting
D)Boolean
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
20
Which of the following is NOT identified by an API?
A)classes
B)semantics
C)interfaces
D)relationships
A)classes
B)semantics
C)interfaces
D)relationships
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
21
The first item in a JavaScript array is which of the following element numbers?
A)0
B)-1
C)1
D)2
A)0
B)-1
C)1
D)2
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
22
Which of the following tags is called a container?
A)< div >
B)< id >
C)< html >
D)< name >
A)< div >
B)< id >
C)< html >
D)< name >
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
23
Which of the following is useful in executing JavaScript statements using data whose value is not known at the time the Web page loads?
A)get()
B)known()
C)isNaN()
D)eval()
A)get()
B)known()
C)isNaN()
D)eval()
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
24
JavaScript must use the ____ method to access an image object.
A)classAcquire
B)getGraphic
C)acquireImage
D)getElementByID
A)classAcquire
B)getGraphic
C)acquireImage
D)getElementByID
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
25
Which of the following selectors can be used to identify one element?
A)eval
B)class
C)id
D)window
A)eval
B)class
C)id
D)window
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
26
____ can be placed on top of each other and be revealed dynamically as needed.
A)Borders
B)Display pages
C)Divisions
D)Subscripts
A)Borders
B)Display pages
C)Divisions
D)Subscripts
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
27
Which of the following is a value that designates a single occurrence of an array element?
A)superscript
B)subscript
C)variable
D)constant
A)superscript
B)subscript
C)variable
D)constant
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
28
A(n)____ style is enclosed within the < div > tag.
A)integrated
B)inline
C)indexed
D)blocked
A)integrated
B)inline
C)indexed
D)blocked
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
29
Web developers often describe divisions as ____.
A)layers
B)reveals
C)objects
D)hierarchies
A)layers
B)reveals
C)objects
D)hierarchies
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
30
The second item in a JavaScript array is which of the following element numbers?
A)0
B)-1
C)1
D)2
A)0
B)-1
C)1
D)2
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
31
A ____ must be any valid JavaScript variable or numeric literal value.
A)subscript
B)deprecation
C)division
D)layer
A)subscript
B)deprecation
C)division
D)layer
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
32
Animation can be created by moving objects associated with a ____.
A)display page
B)border
C)subscript
D)division
A)display page
B)border
C)subscript
D)division
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
33
Using JavaScript takes away the dependence on the ____ to produce interesting effects and animation on a Web page.
A)attribute
B)selector
C)server
D)browser
A)attribute
B)selector
C)server
D)browser
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
34
Which of the following event handlers can be placed in the < body > tag to call a user-defined function when a Web page first loads?
A)displayPage
B)open
C)onLoad
D)openPage
A)displayPage
B)open
C)onLoad
D)openPage
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
35
The class ____ must be notated by the class attribute in the HTML tag.
A)declaration
B)selector
C)parameter
D)style
A)declaration
B)selector
C)parameter
D)style
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
36
To be HTML5 compliant,< img > tags need which attribute?
A)alt
B)lowsrc
C)res
D)border
A)alt
B)lowsrc
C)res
D)border
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
37
Different screen ____ will need to adjust the positioning values of an image on a Web page.
A)indices
B)classes
C)resolutions
D)floats
A)indices
B)classes
C)resolutions
D)floats
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
38
Which of the following designates an HTML division?
A)< id >
B)< div >
C)< sect >
D)< name >
A)< id >
B)< div >
C)< sect >
D)< name >
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
39
In the normal hierarchy of cascading selectors,which of the following has a higher priority than attribute selectors?
A)function
B)class
C)id
D)body
A)function
B)class
C)id
D)body
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
40
A slide ____ is a set of images,all the same size,that are displayed in the same location for a few seconds,one after the other,to create the appearance that the images are rotating.
A)montage
B)show
C)panel
D)presentation
A)montage
B)show
C)panel
D)presentation
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
41
You cannot store string and Boolean values in the same array in JavaScript.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
42
In creating a complex Web site with multiple Web pages,you should determine what pages will be created and what content each page will contain._________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
43
You can use the new()method to open a pop-up window._________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
44
Using JavaScript increases dependence on the server to produce interesting effects and animation on a Web page.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
45
Static positioning of elements is a key feature of modern Web pages and makes them more appealing and interactive._________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
46
Which tag groups items as a block?
A)< div >
B)< body >
C)< span >
D)< pre >
A)< div >
B)< body >
C)< span >
D)< pre >
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
47
Unlike other programming languages,JavaScript uses a data structure called an array to work with lists of data.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
48
The ____ tag allows changing styles within a division or paragraph.
A)< div >
B)< span >
C)< body >
D)< id >
A)< div >
B)< span >
C)< body >
D)< id >
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
49
The relationships within the DOM allow an object to become a child of another object.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
50
New elements cannot be added to an array in JavaScript without having to redefine the structure.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
51
Which tag groups items inline?
A)< div >
B)< span >
C)< pre >
D)< body >
A)< div >
B)< span >
C)< pre >
D)< body >
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
52
The DOM hierarchical naming system makes objects on a Web page accessible to scripting languages.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
53
The ____ sign means that the link in an < a href > tag is a null link.
A)@
B)&
C)#
D)%
A)@
B)&
C)#
D)%
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
54
JavaScript arrays are fixed length as in other programming languages.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
55
You can use the Math.ceil()and Math.random()methods to create a random number.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
56
HTML5 requires that empty tags must include the closing / symbol within the tag.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
57
The < body > tag is the root node in the DOM._________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
58
JavaScript is a loosely typed language,which requires variables to be declared a data type.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
59
An id selector is used in a style sheet much like a class selector except that the id selector is entered with a preceding pound sign (#)._________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
60
What character is entered at the beginning of an id selector?
A)#
B)&
C)*
D)+
A)#
B)&
C)*
D)+
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
61
Using the < div > tag allows changing styles within a division or paragraph.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
62
An embedded style sheet can employ either id selectors or class selectors,but not both in the same sheet.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
63
The DOM naming system uses a tree-like hierarchy of parent and child relationships where each object is a(n)_________________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
64
The _________________________ attribute identifies the object for JavaScript.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
65
In a JavaScript array,the first item is element -1.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
66
Object positions can be changed within a division < div > but not within a < span > tag.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
67
All colors must be entered using their hexadecimal values.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
68
A class selector is used to identify one element.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
69
Normally,a link is associated with a URL,so when the visitor clicks the hyperlink,the browser shows a new Web page.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
70
A(n)_________________________ is a point in a tree-like structure that indicates the relationship between objects.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
71
You can use an event handler to call a function.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
72
An id selector can be used to identify more than one element.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
73
If the < a href="#" > code is used,the browser will not show a new Web page if the user clicks the link.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
74
No difference exists between color names and hexadecimal codes for the same colors.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
75
Using JavaScript takes away the dependence on the _________________________ to produce interesting effects and animation on a Web page.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
76
Differences in browsers may cause a division to appear slightly lower or higher than originally intended by the developer.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
77
The intent in the use of slide shows is to grab the visitors' attention and keep them on the page.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
78
_________________________ tags like < img > may place the closing / symbol within the tag.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
79
By changing the positioning and placement of a label,the object moves.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
80
Few browsers recognize standard colors by name.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck