My Cart
Your Cart 0

    Your cart is empty.

  • Total (Amount) ₹0.00
Exam Details

UGC NET COMPUTER JULY (PAPER II) 2018

Review the key details, then start the test when you are ready. You can also open the full package to see related papers.

Questions 100
Duration 180 mins
Package UGC NET & SET - Previous Year Papers

Paper pattern & analysis

Filter this paper by subject, topic or subtopic. Every graph updates from the selected questions.

Explore previous papers
Showing all 100 questions in this paper.

Subject distribution

No subject classification is available.

Topic distribution

No topic classification is available.

Subtopic distribution

No subtopic classification is available.

Difficulty distribution

Medium 62 62%
Hard 30 30%
Easy 8 8%

Question type distribution

Multiple Choices 100 100%

Instructions

Demo Instruction

Syllabus

Sample

Sample questions from this paper

Questions are selected across the paper subjects wherever the paper contains that variety.

1
2018 · Unclassified
UGC NET COMPUTER JULY (PAPER II) 2018
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
2
2018 · Unclassified
UGC NET COMPUTER JULY (PAPER II) 2018
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 :
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".
3
2018 · Unclassified
UGC NET COMPUTER JULY (PAPER II) 2018
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
A
1899-12-31 01:36:10
B
1899-12-31 04:33:10
C
1899-12-31 01:33:10
D
1899-12-31 04:36:10
4
2018 · Unclassified
UGC NET COMPUTER JULY (PAPER II) 2018
What is the output of the following 'C' program? (Assuming little - endian representation of multi-byte data in which Least Significant Byte (LSB) is stored at the lowest memory address.)
#include
#include
/* Assume short int occupies two bytes of storage */
int main ( )
{
union saving
{
short int one;
char two[2];
};
union saving m;
m.two [0] = 5;
m.two [1] = 2;
printf("%d, %d, %d\n", m.two [0], m.two [1], m.one);
}/* end of main */
A
1282-04-25 13:46:26
B
1952-05-02 12:30:00
C
2025-05-02 12:30:00
D
0517-04-30 13:46:26
5
2018 · Unclassified
UGC NET COMPUTER JULY (PAPER II) 2018
Given below are three implementations of the swap( ) function in C++ :
Which of these would actually swap the contents of the two integer variables p and q?
A
(a) only
B
(b) only
C
(b) and (c) only
D
(c) only
6
2018 · Unclassified
UGC NET COMPUTER JULY (PAPER II) 2018
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.
Code :
A
S1 and S2 only
B
S2 and S3 only
C
All of S1, S2 and S3
D
S1 and S3 only