Web Programming (CBSE (UGC) NET)
Test covers web programming including HTML5, JavaScript, DOM manipulation, web services, and media handling.
Questions
Which of the following models in web services provides an interface to the programmer to manipulate XML documents while they are in memory?
- XML DOM
- UDDI
- WSDL
- SOA
- SOAP
Which of the following methods in DOM allows you to create a new element node and takes a single argument which is the tag name of the element that you want to create?
- createTextNode
- createElement
- setAttribute
- appendChild
- removeChild
Which of the following models is a hierarchy of parent and child objects supported by JavaScript in which objects are organised into a tree-like structure?
- AJAX
- JavaScript
- DOM
- C
- HTML
Which of the following methods of JavaScript array removes and returns an element from the beginning of an array?
- array.concat()
- array.join()
- array.sort()
- array.shift()
- array.reverse()
Which of the following elements of HTML5 is used to define a generic section of a document or application?
- nav
- article
- aside
- section
- hgroup
Which of the following is an MIT licensed JavaScript library that provides visual effects, drag-and-drop support and controls to HTML pages?
- Sarissa
- DB2 XML Extender
- Script.aculo.us
- SQL/XML
- AJAX
Which of the following media event attributes is used when fetching media data has been started but stopped before the entire media file was fetched?
- onsuspend
- onseeking
- onseeked
- onstalled
- onwaiting
Which of the following DOM event attributes in HTML5 is used when the element loses focus?
- onafterprint
- onbeforeprint
- onblur
- onfocus
- onload
Which of the following attributes is used with audio element in HTML to specify if the browser should display its default media controls?
- autoplay
- loop
- controls
- preload
- buffered()
Which of the following is a video container format which is open source friendly and is imaginative by any known patent?
- MPEG-4
- Ogg
- Flash Video
- WebM
- Audio Video Interleave
Which of the following attributes in HTML5 indicates that the element is no longer relevant?
- Draggable
- Hidden
- lang
- Accesskey
- style
Which of the following elements in HTML5 specifies a key-pair generator field in a form and is also a complicated cryptographic key?
- datalist
- keygen
- output
- autocomplete
- autofocus