UGC NET 2018 Paper 2 Computer Science Question Paper (08-Jul-2018); Download PDF
UGC NET 2018 Paper 2 (Computer Science & Applications) conducted on 8th July 2018 was a specialized test for Assistant Professor and JRF aspirants. It comprised 100 MCQs (2 marks each) covering core CS topics like Data Structures, Algorithms, DBMS, Operating Systems, and Computer Networks, with no negative marking. This paper tested both conceptual depth and problem-solving skills, making it essential for aspirants to practice previous year papers to identify repeating patterns and high-weightage topics.
Q2.
Run the following JavaScript as a classic browser script in non-strict mode: var y = "12"; If M is the number of alert dialog boxes and D1, D2, ..., DM are their displayed contents, which option is correct?
function f() {
var y = "6";
alert(this.y);
function g() { alert(y); }
g();
}
f();