UGC NET Computer Science Solved Question Paper July 2018 Paper II



 

UGC NET Computer science Solved question paper July 2018 has been given below

Test yourself for previous year question paper of UGC NET 2018 and have complete information about UGC NET Paper II. Solve 7 previous year papers with us along with explanation and concept, we ensure 100% success rate for UGC NET LS exam.

Please enter your email:

1. The definitions in XML documents are said to be __________________ when the tagging system and definitions in the DTD are all in compliance.

For more details: Watch this and Read this. This study material provides enough information to attempt 90% questions in UGC NET CSA as the question asked are introductory on XML. 10% of the questions are asked with deep understanding but those can be ignored when you are preparing for UGC NET exam in 6 months because depth of every concept takes its own time.

 

 
 
 
 

2. Consider the Javascript code:

var y=’12’;

function f() {

var y=’6′;

alert(this.y);

function (g) { alert(y); }

g();

}

f();

 

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:

 
 
 
 

3. What is the output of the following JAVA program?

class simple

{

public static void main(String[] args)

{

simple obj=new simple();

obj.start();

}

void start()

{

long[ ] P={3,4,5};

long[ ] Q=method(P);

System.out.print(P[0]+P[1]+P[2]+”:”);

System.out.print(Q[0]+Q[1]+Q[2]);

}

long [ ] method (long [ ] R)

{

R[1]=7;

return R;

} // end of class

 

 
 
 
 

4. What is the output of following C program? (Assuming little-endian representation of multi-byte data in which Least Significant Byte (LSB) is stored at lowest memory address.

Include<stdio.h>

include<stdlib.h>

july 2018 solved question paper net computer

 
 
 
 

5.

In Java, which off 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 plus 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.
Code:
 
 
 
 


Share this...
Share on Facebook
Facebook
Tweet about this on Twitter
Twitter

Leave a Reply

Your email address will not be published. Required fields are marked *