0

Web Programming (CBSE (UGC) NET)

Description: Test is on Web Programming
Number of Questions: 15
Created by:
Tags: Computer Science Web Technology OOps Programming OOP and Web Technologies
Attempted 0/15 Correct 0 Score 0

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


Correct Option: A
Explanation:

This model in web services provides an interface to the programmer to manipulate XML documents while they are in memory.

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


Correct Option: B
Explanation:

This method 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.

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


Correct Option: C
Explanation:

DOM stands for Document Object Model. This model is a hierarchy of parent and child objects supported by JavaScript in which objects are organised into a tree-like structure.

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()


Correct Option: D
Explanation:

This method of JavaScript array removes and returns an element from the beginning of an array.

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


Correct Option: D
Explanation:

This element of HTML5 is used to define a generic section of a document or application.

Which of the following is the screen object component in MIDP user interface that contains a list of choices for the user?

  1. Alert

  2. List

  3. TextBox

  4. Form

  5. Canvas


Correct Option: B
Explanation:

This screen object component in MIDP user interface contains a list of choices for the user. It is ideal for implementing choice-based menus, which are the core user interface of most mobile devices.

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


Correct Option: C
Explanation:

This is an MIT licensed JavaScript library that provides visual effects, drag-and-drop support and controls to HTML pages.

Which of the following is the hardware requirement for Mobile Information Device Profile (MIDP) that specifies the capacity of bandwidth and the wireless connectivity?

  1. Graphics

  2. Display

  3. Kernel

  4. Network

  5. Memory


Correct Option: D
Explanation:

This hardware requirement for Mobile Information Device Profile (MIDP) specifies the capacity of bandwidth and the wireless connectivity.

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


Correct Option: A
Explanation:

This media event attribute is triggered when browser had started fetching media file but stopped before the entire media file was fetched.

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


Correct Option: C
Explanation:

This event attribute in HTML5 is used when the element loses focus.

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()


Correct Option: C
Explanation:

This boolean attribute is used with audio element in HTML to specify if the browser should display its default media controls (such as a play/pause button etc).

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


Correct Option: B
Explanation:

This is a video container format (.ogg) which is an open standard. It is open source friendly and is imaginative by any known patent. Ogging (in game Netrek) is the art of killing a carrier or potential carrier by a suicide run.

Which of the following is the simple java program intended for mobile devices and is also a collection of one or more packages put together using a Java Archive (JAR) file?

  1. J2ME

  2. J2SE

  3. MIDlet

  4. J2EE

  5. Socket


Correct Option: C
Explanation:

This is a simple java program intended for mobile devices and is also a collection of one or more packages put together, using a Java Archive (JAR) file.

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


Correct Option: B
Explanation:

This attribute in HTML5 indicates that the element is no longer relevant.

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


Correct Option: B
Explanation:

This element in HTML5 specifies a key-pair generator field in a form. The purpose of theĀ element is to provide a secure way to authenticate users. When the form is submitted, two keys are generated, one private and one public. The private key is stored locally and the public key is sent to the server.

- Hide questions