Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1. An anonymous function __________. (Points : 6) has no identifier after the ke

ID: 3538076 • Letter: 1

Question

1. An anonymous function __________. (Points : 6)

has no identifier after the keyword function

is registered as an event handler at the same time it is created

neither a nor b

both a and b



2. In the statement node1.replaceChild( node2, node3 ) , __________ replaces __________. (Points : 6)

node3; node1

node1; node3

node2; node3

node3; node2



3. The __________ symbol selects any element node. (Points : 6)

asterisk ( * )

at-sign ( @ )

hyphen ( - )

slash ( / )



4. The __________ method specifies the location at which the color of the gradient changes. (Points : 6)

colorStop

addColorStop

addColor

gradientColorStop



5. Web forms are customized by programmers by adding Web __________ such as labels and buttons. (Points : 6)

features

controls

servers

none of the above



6. To draw a horizontal gradient, use the __________ method where the start and end have different x-coordinates but the same y-coordinates. (Points : 6)

startLinearGradient

linearGradient

createGradient

createLinearGradient



7. Event bubbling is __________. (Points : 6)

the process of child elements passing events to their parent elements

the process of sorting elements which contain events that have fired

the process of sorting events which have fired

the process of parent elements passing events to their children



8. A DTD is typically used to __________ an XML document. (Points : 6)

display

validate

compile

parse



9. Which of these is the method of the window object that stops repetitive calls to a method? (Points : 6)

clearTimer

stopTimer

stopInterval

clearInterval



10. The __________ element contains all other elements in the document. (Points : 6)

root

prolog

epilog

XML



11. Which of the following is not a property of a DOM node? (Points : 6)

nodeType

nodeName

attribute

lastChild



12. __________, a widely supported open technology for data exchange, was developed by __________. (Points : 6)

SGML; The Mozilla Foundation

XML; the W3C

HTML5; the W3C

XML; The Mozilla Foundation



13. The information tier typically stores data in a(n) __________. (Points : 6)

DataGrid

XML document

database management system

None of the above



14. Which of the following is not an advantage of XML? (Points : 6)

It is portable and widely supported.

It is faster to parse than any other data exchange format.

It can be used to create customized markup for any type of information.

It is understandable by both humans and computers.



15. The __________ method can stretch a circle to create an ellipse. (Points : 6)

arcStyle

ellipse

stretch

scale



16. There is a(n) __________ relationship between a primary key and its corresponding foreign key. (Points : 6)

one-to-one

one-to-many

many-to-one

inverse



17. An HTML5 element inside another element is a __________ of the containing element. (Points : 6)

parent

child

instance

sub-element



18. Which of the following is true of simple content in an XML schema? (Points : 6)

It can have attributes but not child elements.

It can have neither attributes nor child elements.

It cannot be contained by complex elements.

It can have attributes and child elements.



19. MySQL functions on the __________ platform. (Points : 6)

Windows

Linux

UNIX

All of the above



20. The file that contains the programming logic of a Web Form is called the __________ file. (Points : 6)

logic

code

code-aside

code-behind

Explanation / Answer

An anonymous function __________. (Points : 6)

has no identifier after the keyword function

  

===================================================================================================================================================================================================================================================



===================================================================================================================================================================================================================================================


3. The __________ symbol selects any element node. (Points : 6)

asterisk ( * )

  


===================================================================================================================================================================================================================================================

4. The __________ method specifies the location at which the color of the gradient changes. (Points : 6)

colorStop

addColorStop

addColor

gradientColorStop


===================================================================================================================================================================================================================================================

5. Web forms are customized by programmers by adding Web __________ such as labels and buttons. (Points : 6)

features


6. To draw a horizontal gradient, use the __________ method where the start and end have different x-coordinates but the same y-coordinates. (Points : 6)

startLinearGradient

linearGradient

createGradient

createLinearGradient

===================================================================================================================================================================================================================================================


7. Event bubbling is __________. (Points : 6)

the process of parent elements passing events to their children


===================================================================================================================================================================================================================================================

8. A DTD is typically used to __________ an XML document. (Points : 6)


validate


===================================================================================================================================================================================================================================================

9. Which of these is the method of the window object that stops repetitive calls to a method? (Points : 6)

  

clearInterval


===================================================================================================================================================================================================================================================

10. The __________ element contains all other elements in the document. (Points : 6)

root

  


===================================================================================================================================================================================================================================================


===================================================================================================================================================================================================================================================


12. __________, a widely supported open technology for data exchange, was developed by __________. (Points : 6)

XML; the W3C


===================================================================================================================================================================================================================================================

13. The information tier typically stores data in a(n) __________. (Points : 6)

DataGrid

  

===================================================================================================================================================================================================================================================

14. Which of the following is not an advantage of XML? (Points : 6)

It can be used to create customized markup for any type of information.


===================================================================================================================================================================================================================================================

15. The __________ method can stretch a circle to create an ellipse. (Points : 6)


ellipse

  

===================================================================================================================================================================================================================================================


16. There is a(n) __________ relationship between a primary key and its corresponding foreign key. (Points : 6)

many-to-one

===================================================================================================================================================================================================================================================


17. An HTML5 element inside another element is a __________ of the containing element. (Points : 6)

parent


===================================================================================================================================================================================================================================================

18. Which of the following is true of simple content in an XML schema? (Points : 6)

It can have attributes and child elements.


===================================================================================================================================================================================================================================================

19. MySQL functions on the __________ platform. (Points : 6)

Windows

  


===================================================================================================================================================================================================================================================

20. The file that contains the programming logic of a Web Form is called the __________ file. (Points : 6)

l

code-behind