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.
| 751. |
In Java, which of the following statements is/are True?S1: The ‘final’ keyword applied to a class definition prevents the class from being extended through derivation.S2: A class can only inherit one class but can implement multiple interfaces.S3: Java permits a class to replace the implementation of a method that it has inherited. It is called method overloading. |
| A. | S1 and S2 only |
| B. | S1 and S3 only |
| C. | S2 and S3 only |
| D. | All of S1, S2 and S3 |
| Answer» B. S1 and S3 only | |
| 752. |
Consider the following recursive Java function f that takes two long arguments and returns a float value.Which of the following integers best approximates the value of f(2, 3)? |
| A. | 3 |
| B. | 2 |
| C. | 0 |
| D. | 1 |
| Answer» C. 0 | |
| 753. |
Consider the JavaScript Code. If M is the number of alert dialog boxes generated by this JavaScript code and D1, D2, ............, DM represents the content displayed in each of the M dialog boxes, then: |
| A. | M=3; D1 displays “12”; D2 displays “6”; D3 displays “12”. |
| B. | M=3; D1 displays “6”; D2 displays “12”; D3 displays “6”. |
| C. | M=2; D1 displays “6”; D2 displays “12”. |
| D. | M=2; D1 displays “12”; D2 displays “6”. |
| Answer» E. | |
| 754. |
The definitions in an XML document are said to be .............. when the tagging system and definitions in the DTD are all in compliance. |
| A. | well-formed |
| B. | reasonable |
| C. | valid |
| D. | logical |
| Answer» D. logical | |
| 755. |
What is the full form of LAN? |
| A. | Local Area Network |
| B. | Least Accessed Nodes |
| C. | Link and Node |
| D. | Large Area Network |
| Answer» B. Least Accessed Nodes | |
| 756. |
What is the output of the following JAVA program? |
| A. | dogood : dogoodgood |
| B. | dogood : gooddogood |
| C. | dogood : dodogood |
| D. | dogood : dogood |
| Answer» E. | |
| 757. |
What is the full form of WWW? |
| A. | Wide Web & Wet |
| B. | World Wide Wait |
| C. | World Wide Web |
| D. | World Working Web |
| Answer» D. World Working Web | |
| 758. |
What is the full form of Email? |
| A. | Elective Mail |
| B. | Easy Mail |
| C. | Empty Mail |
| D. | Electronic Mail |
| Answer» E. | |
| 759. |
Which of the following statements is/are TRUE?(a) In HTML, character entities are used to incorporate external content into a web page, such as images.(b) Once a web server returns a cookie to a browser, the cookie will be included in all future requests from the browser to the same server. |
| A. | Only (a) is TRUE. |
| B. | Only (b) is TRUE. |
| C. | Both (a) and (b) are TRUE. |
| D. | Neither (a) nor (b) is TRUE. |
| Answer» E. | |
| 760. |
Consider the following HTML table definition. This HTML code would render on screen as : |
| A. | 1 |
| B. | 2 |
| C. | 3 |
| D. | 4 |
| Answer» D. 4 | |
| 761. |
Java uses threads to enable the entire environment to be ................ |
| A. | Symmetric |
| B. | Asymmetric |
| C. | Synchronous |
| D. | Asynchronous |
| Answer» E. | |
| 762. |
The syntax of capturing events method for document object is |
| A. | CaptureEvents() |
| B. | CaptureEvents(Orgs eventType) |
| C. | CaptureEvents(eventType) |
| D. | CaptureEvents(eventVal) |
| Answer» D. CaptureEvents(eventVal) | |
| 763. |
In XML, DOCTYPE declaration specifies to include a reference to ___________ file. |
| A. | Document type Definition |
| B. | Document type declaration |
| C. | Document transfer definition |
| D. | Document type language |
| Answer» B. Document type declaration | |
| 764. |
The ............... language was originally designed as the Transformation Language for Style Sheet facility. |
| A. | XSTL |
| B. | XML |
| C. | XQuery |
| D. | XPath |
| Answer» B. XML | |
| 765. |
In XML we can specify the frequency of an element by using the symbols : |
| A. | + * ! |
| B. | # *! |
| C. | + * ? |
| D. | — B ? |
| Answer» D. — B ? | |
| 766. |
Given an image of size 1024 x 1024 pixels in which intensity of each pixel is an 8-bit quality. It requires of storage space if the image is not compressed. |
| A. | one Terabyte |
| B. | one Megabyte |
| C. | 8 Megabytes |
| D. | 8 Terabytes |
| Answer» C. 8 Megabytes | |
| 767. |
Web Mining is not used in which of the following areas? |
| A. | Information filtering |
| B. | Crime fighting on the internet |
| C. | Online transaction processing |
| D. | Click stream analysis |
| Answer» C. Online transaction processing | |
| 768. |
To compare, overlay or cross analyze to maps in GIS |
| A. | both maps must be in digital form |
| B. | both maps must be at the same equivalent scale |
| C. | both maps must be on the same coordinate system |
| D. | All of the above |
| Answer» E. | |
| 769. |
An example of a file extension is: |
| A. | text |
| B. | pict |
| C. | mp3 |
| D. | web |
| Answer» D. web | |
| 770. |
Which of the following statements are true with reference to the way of describing XML data ?(a) XML uses DTD to describe the data(b) XML uses XSL to describe the data(c) XML uses a description node to describe the data |
| A. | (a) only |
| B. | (b) only |
| C. | (a) and (b) |
| D. | (a) and (c) |
| Answer» E. | |
| 771. |
BCC in the internet refers to |
| A. | Black carbon copy |
| B. | Blind carbon copy |
| C. | Blank carbon copy |
| D. | Beautiful carbon copy |
| Answer» C. Blank carbon copy | |
| 772. |
HTML is defined using SGML – an ……………. standard, information processing-text and office systems (SGML) for text information processing. |
| A. | ISO – 8878 |
| B. | ISO – 8879 |
| C. | ISO – 8880 |
| D. | ISO – 8881 |
| Answer» C. ISO – 8880 | |
| 773. |
DOM represents a document as a |
| A. | Tree |
| B. | Array |
| C. | Table |
| D. | List |
| Answer» B. Array | |
| 774. |
A for loop contains |
| A. | Single statements |
| B. | two statements |
| C. | As many individual statements as you like |
| D. | a function call |
| Answer» D. a function call | |
| 775. |
Which of the following is true regarding schema? |
| A. | You cannot create your own types derived from the standard types |
| B. | You cannot reference multiple schemas in the same document |
| C. | You cannot reuse your schema in other schemas |
| D. | You can verify an XML document against a schema |
| Answer» E. | |
| 776. |
What is the correct place to insert a java script code? |
| A. | The <head> section |
| B. | The <body> section |
| C. | Both the <head> section and the <body> section |
| D. | None of the above |
| Answer» D. None of the above | |
| 777. |
Which of these character cannot be used as an entity reference in xml? |
| A. | < |
| B. | $ |
| C. | “ |
| D. | & |
| Answer» C. “ | |
| 778. |
Which of the following properties returns the number of arguments expected by a function? |
| A. | arguments.length |
| B. | function.caller |
| C. | function.display |
| D. | function.parity |
| Answer» B. function.caller | |
| 779. |
Which of the following java script statements are correct definitions of an array? |
| A. | var a = new Array [100] |
| B. | a = new Array [1, 2, 3, 4] |
| C. | a = new Array(1, 2, 3, 4) |
| D. | a = new Array [ ] |
| Answer» D. a = new Array [ ] | |
| 780. |
Which of the following is not a kind of X path node? |
| A. | Namespace |
| B. | Instruction |
| C. | Comment |
| D. | Processing – instruction |
| Answer» C. Comment | |
| 781. |
Which of the following is used to represent a sub expression? |
| A. | [ and ] |
| B. | ( and ) |
| C. | { and } |
| D. | <and> |
| Answer» C. { and } | |
| 782. |
Which of the following tag make the text content bold? |
| A. | Strong |
| B. | thick |
| C. | fat |
| D. | large |
| Answer» B. thick | |
| 783. |
What is the purpose of REFRESH meta tag? |
| A. | To refresh the page at periodic intervals |
| B. | To redirect to a different web page |
| C. | To refresh your keywords |
| D. | To allow season engines to retrieve information about your page |
| Answer» C. To refresh your keywords | |
| 784. |
Which of the following properties is used to change the background color? |
| A. | bg color: |
| B. | background – color: |
| C. | color: |
| D. | background: |
| Answer» C. color: | |
| 785. |
Which of the following fields can hold information that is not displayed? |
| A. | Text field |
| B. | Text Area field |
| C. | Hidden field |
| D. | Table |
| Answer» D. Table | |
| 786. |
Which of the following returns a reference of an element having the id “panel”? |
| A. | get elements by tag name(“panel”) |
| B. | get element(“panel”) |
| C. | get element by name(“panel”) |
| D. | get element by id(“panel”) |
| Answer» E. | |
| 787. |
Which of the following triggers an event automatically at regular intervals? |
| A. | on load |
| B. | set time out |
| C. | set interval |
| D. | set automatic |
| Answer» D. set automatic | |
| 788. |
Match the following interfaces of Java.Servlet package :List-I List-IIa.Servlet Config i. Enables Servlets to log eventsb. Servlet Context ii. Read data from a clientc. Servlet Request iii. Write data to a clientd. Sendet Response iv. To get initialization parametersCodes:a b c d |
| A. | iii iv ii i |
| B. | iii ii iv i |
| C. | ii ii iv i |
| D. | iv i ii iii |
| Answer» E. | |
| 789. |
Javascript and Java has similar name because .................... is/are true.(a) Javascripts syntax is loosely based on Java’s syntax(b) Javascript is stripped down version of Java(c) Java and Javascript are originated from Island of Java |
| A. | (a) only |
| B. | (a), (b) and (c) |
| C. | (a) and (b) |
| D. | (a) and (c) |
| Answer» B. (a), (b) and (c) | |
| 790. |
What does “_” do? |
| A. | Compares two values |
| B. | Exchanges two values |
| C. | Makes the right – hand value equal to the left – hand value |
| D. | Makes the left – hand value equal to the right – hand value |
| Answer» E. | |
| 791. |
............... tag is an extension to HTML that can enclose any number of Javascript statements. |
| A. | < SCRIPT > |
| B. | < BODY > |
| C. | < HEAD > |
| D. | < TITLE > |
| Answer» B. < BODY > | |
| 792. |
Which of the following keywords is used to return a value from a function? |
| A. | return |
| B. | pass |
| C. | send |
| D. | set |
| Answer» B. pass | |
| 793. |
Which of the following X path expression selects all color attributes in the XML document? |
| A. | / color |
| B. | // @ color |
| C. | / @ color |
| D. | // color |
| Answer» C. / @ color | |
| 794. |
How to you set background color for all tags? |
| A. | all.h1 { background – color : #FFFFFF;} |
| B. | h1 { background – color : #FFFFFF;} |
| C. | h1.all { background – color : #FFFFFF;} |
| D. | * h1 { background – color : #FFFFFF;} |
| Answer» C. h1.all { background – color : #FFFFFF;} | |
| 795. |
What is the full form of TDC? |
| A. | Text Data Control |
| B. | Tabular Data Control |
| C. | Text Digital Communication |
| D. | Tabular Document Content |
| Answer» C. Text Digital Communication | |
| 796. |
Which of the following is a method of the location object? |
| A. | go() |
| B. | add() |
| C. | reload() |
| D. | delete() |
| Answer» D. delete() | |
| 797. |
Which of the following elements is used to create a form? |
| A. | <create form> |
| B. | <form> |
| C. | <HTML form> |
| D. | <do form> |
| Answer» C. <HTML form> | |
| 798. |
In X path, predicates are used to find |
| A. | The child of a specific node |
| B. | the root node |
| C. | The parent of a specific node |
| D. | a specific set of nodes |
| Answer» E. | |
| 799. |
Which of the following is not true regarding an XML schema? |
| A. | It specifies what attributes an element can have |
| B. | It specifies elements that can appear in a document |
| C. | It specifies which files a directory can contain |
| D. | It specifies which elements are children of which elements |
| Answer» D. It specifies which elements are children of which elements | |
| 800. |
Which of the following is the correct representation of data and time in XML schema? |
| A. | gDayMonth |
| B. | gMonthDay |
| C. | TimeDate |
| D. | gMonthYear |
| Answer» C. TimeDate | |