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
Total Marks 200

Paper pattern & analysis

Available question types, difficulty and classifications for this paper.

Explore previous papers
Showing all 100 questions in this paper.

Difficulty distribution

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

Question type distribution

MCQ 100 100%
Sample

Practise paper questions

Choose your answer to check it. Log in to view the explanation. For a timed attempt and result, start the exam.

1
PYP
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.
2
PYP
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 :
3
PYP
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
4
PYP
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 */
5
PYP
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?

Showing 5 of 100 questions