MCQOPTIONS
Saved Bookmarks
This section includes 1917 Mcqs, each offering curated multiple-choice questions to sharpen your UGC-NET knowledge and support exam preparation. Choose a topic below to get started.
| 851. |
How do you add a property on a per – class basis? |
| A. | Using prototype() method |
| B. | Using prototype property |
| C. | Using add() method |
| D. | Using add property |
| Answer» C. Using add() method | |
| 852. |
Linking to another place in the same or another webpage require two A (Anchor) tags, the first with the attribute and the second with the attribute. |
| A. | NAME & LINK |
| B. | LINK & HREF |
| C. | HREF & NAME |
| D. | TARGET & VALUE |
| Answer» D. TARGET & VALUE | |
| 853. |
Which of the following functions returns the number of nodes present in a argument node set? |
| A. | find |
| B. | number |
| C. | counter |
| D. | count |
| Answer» E. | |
| 854. |
What does the following XSLT output? |
| A. | hello |
| B. | <! - - hello - -> |
| C. | & It ; ! - - hello - - & gt ; |
| D. | It will not output anything |
| Answer» E. | |
| 855. |
Which of the following is a valid XSLT element? |
| A. | copy – by |
| B. | copy – of |
| C. | copy – for |
| D. | copy – with |
| Answer» C. copy – for | |
| 856. |
Which of the following attributes of the tag refers to an external java script source file? |
| A. | src |
| B. | source |
| C. | link |
| D. | href |
| Answer» B. source | |
| 857. |
Regarding java script, which of the following is true? |
| A. | Programmed using java language |
| B. | can react to events |
| C. | Cannot read HTML elements |
| D. | used to delete cookies |
| Answer» C. Cannot read HTML elements | |
| 858. |
Which colors consists of equal amount of all basic colors? |
| A. | black, blue and gray |
| B. | olive, green and red |
| C. | White, black and gray |
| D. | yellow, magenta and red |
| Answer» D. yellow, magenta and red | |
| 859. |
Which of the following attribute is used to define a name space? |
| A. | ns |
| B. | name – space |
| C. | xml – ns |
| D. | xmlns |
| Answer» D. xmlns | |
| 860. |
Which of the following functions is used to submit a form using java script? |
| A. | doSubmit() |
| B. | submit() |
| C. | formSubmit() |
| D. | submitForm() |
| Answer» C. formSubmit() | |
| 861. |
Which of the following element is used to insert formatted numbers in the output? |
| A. | number |
| B. | no |
| C. | do number |
| D. | format |
| Answer» B. no | |
| 862. |
Entities are variables |
| A. | Used to control data |
| B. | Used to create data base |
| C. | Used to define document structure |
| D. | Used to define common test |
| Answer» E. | |
| 863. |
Which of the following Is not a element? |
| A. | <input> |
| B. | <select> |
| C. | <br> |
| D. | <button> |
| Answer» D. <button> | |
| 864. |
Which of following elements is a valid element in XSLT? |
| A. | Than |
| B. | where |
| C. | when |
| D. | which |
| Answer» D. which | |
| 865. |
Which of the following is not provided by a name space? |
| A. | Generate a unique name |
| B. | Help in avoiding name collisions |
| C. | Access control |
| D. | Displays name in boldface |
| Answer» C. Access control | |
| 866. |
Can the element be replaced with |
| A. | No, they represent different elements together |
| B. | Both are same |
| C. | <First> in correct only |
| D. | <First> is only correct |
| Answer» B. Both are same | |
| 867. |
Which of the following methods is used to instruct the parse to validate on XML document against a DTD? |
| A. | setValidating() |
| B. | Validate() |
| C. | doValidate() |
| D. | getvalidating() |
| Answer» B. Validate() | |
| 868. |
Which one of the following is equivalent to ‘*’? |
| A. | {1, } |
| B. | {0, } |
| C. | {0, 1} |
| D. | None of the above |
| Answer» C. {0, 1} | |
| 869. |
What is the full form of FTP? |
| A. | File Transfer Protocol |
| B. | File Transfer Process |
| C. | File Translation Process |
| D. | File Transfer Program |
| Answer» B. File Transfer Process | |
| 870. |
Italics, Tele type, super script are |
| A. | Logical style tag |
| B. | Physical style |
| C. | View style tag |
| D. | All of these |
| Answer» C. View style tag | |
| 871. |
Restrictions that are incorporated on XML elements are called |
| A. | Rules |
| B. | facts |
| C. | facets |
| D. | faces |
| Answer» D. faces | |
| 872. |
Which of the following methods executes a certain piece of code after a periodic interval? |
| A. | setInterval() |
| B. | setTimeout() |
| C. | clearinterval() |
| D. | clearTimeout() |
| Answer» B. setTimeout() | |
| 873. |
Which of the following tags is used to set the background colour of your web page? |
| A. | <html> |
| B. | <body> |
| C. | <head> |
| D. | <font> |
| Answer» C. <head> | |
| 874. |
The best known example of a MAN is: |
| A. | Ethernet |
| B. | Cable Television |
| C. | FDDI |
| D. | IEEE 802.3 |
| Answer» C. FDDI | |
| 875. |
An XML document that adheres to syntax rules specified by XML 1.0 specification in that it must satisfy both physical and logical structured, is called : |
| A. | Well - formed |
| B. | Reasonable |
| C. | Valid |
| D. | Sophisticated |
| Answer» B. Reasonable | |
| 876. |
In XML schemas the default model for complex types is |
| A. | Text only |
| B. | Element only |
| C. | Both (a) & (b) |
| D. | no default type |
| Answer» C. Both (a) & (b) | |
| 877. |
Name space |
| A. | Distinguishes on XML vocabulary form another |
| B. | Provide the spaces in the names |
| C. | Is a querying language |
| D. | None of these |
| Answer» B. Provide the spaces in the names | |
| 878. |
Which of the following is used to declare attributes? |
| A. | ATTRIBUTELIST |
| B. | ATTRIBUTE |
| C. | ATTLIST |
| D. | ALIST |
| Answer» D. ALIST | |
| 879. |
Which one of the following is the correct syntax for importing a style sheet in CSS? |
| A. | @import url (“example.css”); |
| B. | @import – css url (‘example.css’); |
| C. | @import – style url (“example.css”); |
| D. | @import – style sheet url (“example.css”); |
| Answer» B. @import – css url (‘example.css’); | |
| 880. |
Client – side scripting is about “programming” the behaviour of the |
| A. | server |
| B. | browser |
| C. | html |
| D. | all of the above |
| Answer» C. html | |
| 881. |
What is the correct syntax to create a java script function? |
| A. | function : a Function() { } |
| B. | Function() { } |
| C. | Create function a Function() { } |
| D. | New function a Function() { } |
| Answer» C. Create function a Function() { } | |
| 882. |
How many root element can an XML document have? |
| A. | One |
| B. | Two |
| C. | Three |
| D. | As many as the memory provides |
| Answer» B. Two | |
| 883. |
Which of the following is false regarding a complex element? |
| A. | It can contain other elements |
| B. | It cannot have any attribute |
| C. | It may be empty |
| D. | It may contain text |
| Answer» C. It may be empty | |
| 884. |
Which of the following is used to add an attribute to an element node? |
| A. | setAttr() |
| B. | setAttribute() |
| C. | addAttribute() |
| D. | addAttr() |
| Answer» C. addAttribute() | |
| 885. |
Which of the following is used to select a set of nodes in X path? |
| A. | Location steps |
| B. | location path |
| C. | Both a and b |
| D. | URL |
| Answer» D. URL | |
| 886. |
The axis following – sibling contains |
| A. | Nodes that have a common parent |
| B. | Nodes that have a common parent and the same name |
| C. | Nodes that have a common ancestor and the same name |
| D. | Nodes that have a common ancestor |
| Answer» B. Nodes that have a common parent and the same name | |
| 887. |
Which of the following types of variable you can declare in XSL? |
| A. | Local variable only |
| B. | Global variable only |
| C. | Both local and global variable |
| D. | None of these |
| Answer» D. None of these | |
| 888. |
How many phases are there in the W3C event propagation model? |
| A. | 1 |
| B. | 2 |
| C. | 3 |
| D. | 4 |
| Answer» C. 3 | |
| 889. |
Which of the following is a java script multi – line cornment? |
| A. | ⁄ * This comment has more than one line * ⁄ |
| B. | ⁄⁄ This comment has more than one line ⁄⁄ |
| C. | <! - - This comment has more than one line - -> |
| D. | “This comment has more than one line” |
| Answer» B. ⁄⁄ This comment has more than one line ⁄⁄ | |
| 890. |
Which of the following regular expression engines is used by java script? |
| A. | Regular expression directed engine |
| B. | Text directed engine |
| C. | Both a & b |
| D. | None of the above |
| Answer» B. Text directed engine | |
| 891. |
A method to provide secure transmission of email is called ................. |
| A. | TLS |
| B. | SA |
| C. | IPSec |
| D. | PGP |
| Answer» E. | |
| 892. |
Which of the following is false regarding an empty element? |
| A. | It cannot have any attribute |
| B. | It cannot contain text |
| C. | It cannot contain other elements |
| D. | It is a simple element |
| Answer» B. It cannot contain text | |
| 893. |
Which of following file retrieval methods use hypermedia? |
| A. | HTML |
| B. | Veronica |
| C. | WAIS |
| D. | HTTP |
| Answer» E. | |
| 894. |
Parameter entities can appear in |
| A. | xml file |
| B. | xsl file |
| C. | dtd file |
| D. | Both (a) and (b) |
| Answer» D. Both (a) and (b) | |
| 895. |
XML is a⁄an |
| A. | Imperative language |
| B. | declarative language |
| C. | Standard |
| D. | none of these |
| Answer» C. Standard | |
| 896. |
Regarding XML which of the following is true |
| A. | XML was designed to carry data |
| B. | XML is free and extensible |
| C. | XML is not a replacement for XML |
| D. | All of the above |
| Answer» E. | |
| 897. |
What does the element do? |
| A. | It generates an attributes in the destination documents |
| B. | It matches an attribute node in the source document |
| C. | It associates an attribute to an element |
| D. | nothing; it does not exist |
| Answer» D. nothing; it does not exist | |
| 898. |
An XSD document describes the structure of |
| A. | A file |
| B. | an XML document |
| C. | a page |
| D. | a database |
| Answer» C. a page | |
| 899. |
In X path, the following axis contains |
| A. | All the descendants of the node |
| B. | All the children of the node |
| C. | All the nodes that appear after the current node is opened |
| D. | All the nodes that appear after the current node is closed |
| Answer» E. | |
| 900. |
Which of the following is input element? |
| A. | Hidden field |
| B. | Password field |
| C. | Check box |
| D. | All of these |
| Answer» E. | |