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.
| 901. |
Which of the following XML declarations for DTD is valid? |
| A. | <?xml version = “1.0” standalone = “true”?> |
| B. | <?xml version = “1.0” standalone = “false”?> |
| C. | <?xml version = “1.0” standalone = “yes”> |
| D. | <?xml version = “1.0” standalone = “yes”?> |
| Answer» E. | |
| 902. |
What is the correct CSS syntax for making all the elements bold? |
| A. | p{text – size : bold;} |
| B. | <p style = “text – size : bold”;> |
| C. | P{font – weight : bold;}” |
| D. | <p style = “font – size” : bold;> |
| Answer» D. <p style = “font – size” : bold;> | |
| 903. |
Which of the following is the correct syntax to insert comments into an XML document? |
| A. | <comment> this is a comment <⁄comment> |
| B. | <? - This is a comment -> |
| C. | <! – This is a comment --> |
| D. | <⁄This is a comment> |
| Answer» D. <⁄This is a comment> | |
| 904. |
When retrieving mail, which of the following is the proper order of working with classes? |
| A. | Store, Folder, Message, Transport |
| B. | Session, Store, Folder, Message |
| C. | Session, Store, Folder, Transport, Message |
| D. | Session, Folder, Message, Transport |
| Answer» C. Session, Store, Folder, Transport, Message | |
| 905. |
HTML is an acronym of |
| A. | Hyper Terminal Making Language |
| B. | How to Markup Library |
| C. | Hyper Text Markup Language |
| D. | Hyper Text Machine Language |
| Answer» D. Hyper Text Machine Language | |
| 906. |
Which of the following tag sequence is correct? |
| A. | <html><head></head><body><title></title></body></html> |
| B. | <html><head><title></title><body></body></head></html> |
| C. | <html><title></title><hear></head><body></body></html> |
| D. | <html><head><title></title></head><body></body></html> |
| Answer» E. | |
| 907. |
Which of the following HTML codes displays the content in bold face? |
| A. | <b> This text is big <b> |
| B. | <b> This text is bold </b> |
| C. | <b/> This text is bold </b> |
| D. | <b> This text is bold <> |
| Answer» D. <b> This text is bold <> | |
| 908. |
Which of the following attributes of the font tag is used to choose the type of font in HTML? |
| A. | Type |
| B. | text-type |
| C. | face |
| D. | font-type |
| Answer» D. font-type | |
| 909. |
Which of the following tag is not written in the section? |
| A. | Title |
| B. | table |
| C. | meta |
| D. | script |
| Answer» C. meta | |
| 910. |
Which of the following tags is used to add a row to a table? |
| A. | <td> and </td> |
| B. | <row> and <row> |
| C. | <table row> and </table row> |
| D. | <tr> and </tr> |
| Answer» E. | |
| 911. |
To insert images, we use the ……….. Tag. |
| A. | Picture |
| B. | pic |
| C. | img |
| D. | image |
| Answer» D. image | |
| 912. |
Which of the following form attribute specifies the URL to be used to submit form data? |
| A. | Action |
| B. | method |
| C. | id |
| D. | name |
| Answer» B. method | |
| 913. |
Which of the following represents the value attributes of a text field? |
| A. | The number of characters the text field can contain |
| B. | The possible value that the text field can have |
| C. | Whether the text field is editable or not |
| D. | The text that appears in the field as the default value |
| Answer» E. | |
| 914. |
What is the value of node type attribute for a text node? |
| A. | 1 |
| B. | 2 |
| C. | 3 |
| D. | 4 |
| Answer» D. 4 | |
| 915. |
Which of the following creates the element? |
| A. | document.createScript(‘script); |
| B. | document.createScript(); |
| C. | document.createElement(‘script’); |
| D. | document.createScriptElement(‘script’); |
| Answer» D. document.createScriptElement(‘script’); | |
| 916. |
Which of the following is used to declare an element having only character data? |
| A. | #char |
| B. | #PCDATA |
| C. | #Text |
| D. | #CDATA |
| Answer» C. #Text | |
| 917. |
What property is used to redirect a visitor to another page? |
| A. | window.location.href |
| B. | link.ref |
| C. | document.URL |
| D. | .document.location.href |
| Answer» B. link.ref | |
| 918. |
Which of the following CSS declarations is correct? |
| A. | body: color = black |
| B. | {body; color : black} |
| C. | {body : color = black(body} |
| D. | body { color : black} |
| Answer» E. | |
| 919. |
The size of the frames are mentioned by |
| A. | Pixel unit |
| B. | Percentage unit |
| C. | Fraction unit |
| D. | All of these |
| Answer» E. | |
| 920. |
What is the name of the event that occurs when a user leaves an object? |
| A. | Change |
| B. | click |
| C. | blur |
| D. | abort |
| Answer» D. abort | |
| 921. |
Which of the following forms is a valid attribute specifications |
| A. | name = “value” |
| B. | name = value |
| C. | name = (value) |
| D. | name = ‘value’ |
| Answer» B. name = value | |
| 922. |
Which of the following pops up an alert box? |
| A. | alert(“Hello World”); |
| B. | show(“Hello World”); |
| C. | msg Box(“Hello World”); |
| D. | pop(“Hello World”); |
| Answer» D. pop(“Hello World”); | |
| 923. |
Which of the following is a valid X path axis? |
| A. | Followed |
| B. | previous |
| C. | next |
| D. | parent |
| Answer» E. | |
| 924. |
Which of the following support the same set of operators and functions? |
| A. | XQuery 2.0 and X path 1.0 |
| B. | XQuery 2.0 and X path 2.0 |
| C. | XQuery 1.0 and X path 2.0 |
| D. | XQuery 1.0 and X path 1.0 |
| Answer» D. XQuery 1.0 and X path 1.0 | |
| 925. |
What is the full form of DTD? |
| A. | Document Type Declaration |
| B. | Dynamic Type Definition |
| C. | Direct Type Definition |
| D. | Dynamic Type Declaration |
| Answer» C. Direct Type Definition | |
| 926. |
Which loop executes at least once irrespective of the condition? |
| A. | For |
| B. | while |
| C. | do while |
| D. | none of them |
| Answer» D. none of them | |
| 927. |
Which of the following methods is used to clone a node? |
| A. | doClone() |
| B. | cloneNode() |
| C. | clone() |
| D. | doCloneNode() |
| Answer» C. clone() | |
| 928. |
Which of the following characters is used before an attribute to access it? |
| A. | % |
| B. | $ |
| C. | @ |
| D. | & |
| Answer» D. & | |
| 929. |
To create an input stream to read data sent by a web server, we use the method ………… in the URI clan. |
| A. | ConnectStream() |
| B. | ObtainInputStream(); |
| C. | OpenStream(); |
| D. | GetInputStream(); |
| Answer» D. GetInputStream(); | |
| 930. |
What is the port number of RMI? |
| A. | 1099 |
| B. | 23 |
| C. | 25 |
| D. | 110 |
| Answer» B. 23 | |
| 931. |
A remote object must be an instance of |
| A. | java.rmi.Remove Object |
| B. | java.io.Serialzable |
| C. | java.lang.Cloneable |
| D. | java.rmi.Remote |
| Answer» E. | |
| 932. |
Which of the following is a Utility that registers remote objects and provides naming services for locating objects? |
| A. | rmiregistry |
| B. | rmic |
| C. | java |
| D. | javac |
| Answer» C. java | |
| 933. |
Which of the following is an object that resides on the client host and serves as a proxy for the remote server object? |
| A. | Stub |
| B. | RMI Registry |
| C. | Server implementation |
| D. | Skeleton |
| Answer» B. RMI Registry | |
| 934. |
………. is an object that resides on the server hast and communicates with the stub and the actual server object. |
| A. | Server object interface |
| B. | RMI Registry |
| C. | Skeleton |
| D. | Stub |
| Answer» D. Stub | |
| 935. |
Which of the following command is used in java RMI to start the object registry on port 1080? |
| A. | rmi registry 1080 |
| B. | rmi registry |
| C. | Object registry 1080 |
| D. | object registry |
| Answer» B. rmi registry | |
| 936. |
Which of the following is used to send emails from a mail server? |
| A. | SMTP |
| B. | POP3 |
| C. | HTTP |
| D. | FTP |
| Answer» B. POP3 | |
| 937. |
Which of the following is used to retrieve emails from a mail server? |
| A. | SMTP |
| B. | POP3 |
| C. | HTTP |
| D. | FTP |
| Answer» C. HTTP | |
| 938. |
…… is a sub interface of java.rmi. Remote that defines the methods for the server object. |
| A. | Skeleton |
| B. | Serve object interface |
| C. | Server implementation |
| D. | RMI Registry |
| Answer» C. Server implementation | |
| 939. |
Which of the following is a transport layer protocol in the TCP/IP protocol suite? |
| A. | HTTP |
| B. | UDP |
| C. | SMTP |
| D. | FTP |
| Answer» C. SMTP | |
| 940. |
ISP is an acronym of |
| A. | Internet system provider |
| B. | Internet service provider |
| C. | Internal system provider |
| D. | Internal service procedure |
| Answer» C. Internal system provider | |
| 941. |
Which of the following layers of the TCP/IP references model routes packets? |
| A. | Application |
| B. | Transport |
| C. | Internet |
| D. | Link |
| Answer» D. Link | |
| 942. |
Networks of computers connected over greater distances are called |
| A. | LAN |
| B. | WAN |
| C. | Subnet |
| D. | None of these |
| Answer» C. Subnet | |
| 943. |
Which of the following is not a layer in the TCP/IP reference model? |
| A. | Application |
| B. | Session |
| C. | Transport |
| D. | Internet |
| Answer» C. Transport | |
| 944. |
How many bits are their in an IP address? |
| A. | 30 |
| B. | 31 |
| C. | 32 |
| D. | 33 |
| Answer» D. 33 | |
| 945. |
Rules contained in programs on router computers that determine the best path on which to send packets are called |
| A. | Switches |
| B. | Routing Algorithm |
| C. | Gateways |
| D. | Proxies |
| Answer» B. Routing Algorithm | |
| 946. |
What is the top-level domain in www.yahoo.com/sports |
| A. | sports |
| B. | .com |
| C. | www. |
| D. | yahoo.com |
| Answer» C. www. | |
| 947. |
Which of the following protocols is used to send and receive emails? |
| A. | SMTP |
| B. | POP3 |
| C. | HTTP |
| D. | FTP |
| Answer» B. POP3 | |
| 948. |
To obtained an Input Stream on a socket Skt, we use |
| A. | InputStream in = Skt.obtainInputStream(); |
| B. | InputStream in = Skt.getInputStream(); |
| C. | InputStream in = Skt.getStream(); |
| D. | InputStream in = Skt.newInputStream(); |
| Answer» C. InputStream in = Skt.getStream(); | |
| 949. |
Which of the following protocols is used to transfer files over a network? |
| A. | HTTP |
| B. | FTP |
| C. | Both (a) and (b) |
| D. | None of the above |
| Answer» D. None of the above | |
| 950. |
A web server is a |
| A. | Software |
| B. | Hardware |
| C. | Combination of both |
| D. | None of the above |
| Answer» B. Hardware | |