Web Programming (CBSE (UGC) NET)

Test covers web programming including HTML5, JavaScript, DOM manipulation, web services, and media handling.

12 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Which of the following models in web services provides an interface to the programmer to manipulate XML documents while they are in memory?

  1. XML DOM
  2. UDDI
  3. WSDL
  4. SOA
  5. SOAP
Question 2 Multiple Choice (Single Answer)

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?

  1. createTextNode
  2. createElement
  3. setAttribute
  4. appendChild
  5. removeChild
Question 3 Multiple Choice (Single Answer)

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?

  1. AJAX
  2. JavaScript
  3. DOM
  4. C
  5. HTML
Question 4 Multiple Choice (Single Answer)

Which of the following methods of JavaScript array removes and returns an element from the beginning of an array?

  1. array.concat()
  2. array.join()
  3. array.sort()
  4. array.shift()
  5. array.reverse()
Question 5 Multiple Choice (Single Answer)

Which of the following elements of HTML5 is used to define a generic section of a document or application?

  1. nav
  2. article
  3. aside
  4. section
  5. hgroup
Question 6 Multiple Choice (Single Answer)

Which of the following is an MIT licensed JavaScript library that provides visual effects, drag-and-drop support and controls to HTML pages?

  1. Sarissa
  2. DB2 XML Extender
  3. Script.aculo.us
  4. SQL/XML
  5. AJAX
Question 7 Multiple Choice (Single Answer)

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?

  1. onsuspend
  2. onseeking
  3. onseeked
  4. onstalled
  5. onwaiting
Question 8 Multiple Choice (Single Answer)

Which of the following DOM event attributes in HTML5 is used when the element loses focus?

  1. onafterprint
  2. onbeforeprint
  3. onblur
  4. onfocus
  5. onload
Question 9 Multiple Choice (Single Answer)

Which of the following attributes is used with audio element in HTML to specify if the browser should display its default media controls?

  1. autoplay
  2. loop
  3. controls
  4. preload
  5. buffered()
Question 10 Multiple Choice (Single Answer)

Which of the following is a video container format which is open source friendly and is imaginative by any known patent?

  1. MPEG-4
  2. Ogg
  3. Flash Video
  4. WebM
  5. Audio Video Interleave
Question 11 Multiple Choice (Single Answer)

Which of the following attributes in HTML5 indicates that the element is no longer relevant?

  1. Draggable
  2. Hidden
  3. lang
  4. Accesskey
  5. style
Question 12 Multiple Choice (Single Answer)

Which of the following elements in HTML5 specifies a key-pair generator field in a form and is also a complicated cryptographic key?

  1. datalist
  2. keygen
  3. output
  4. autocomplete
  5. autofocus