UGC NET · Topic-wise previous year questions

Computer Science Previous Year Questions (page 9)

570 Computer Science questions asked in UGC NET previous year papers, each with the correct answer and explanation. Read them free on UTpaper, or attempt the full papers as timed online tests.

  • 570 questions
  • 15 topics
  • Official answer key
  • Free

Practise by topic

Q401UGC NET Computer Science, August 2016 (Paper II & III, Selected Questions)
The ISO quality assurance standard that applies to software Engineering is
  1. AISO 9000: 2004
  2. BISO 9001: 2000
  3. CISO 9002: 2001
  4. DISO 9003: 2004
Show answerHide answer

Correct answer: (B) ISO 9001: 2000

Explanation

The 9001 : 2000 is the quality assurance standard that applies to software engineering. The standard contains 20 requirement that must be present for an effective quality assurance system.

Q402UGC NET Computer Science, August 2016 (Paper II & III, Selected Questions)
Which of the following are external qualities of a software product?
  1. AMaintainability, reusability, portability, efficiency, correctness.
  2. BCorrectness, reliability, robustness, efficiency, usability.
  3. CPortability, interoperability, maintainability, reusability.
  4. DRobustness, efficiency, reliability, maintainability, reusability.
Show answerHide answer

Correct answer: (B) Correctness, reliability, robustness, efficiency, usability.

Explanation

External qualities of a software product: - Correctness - Reliability - Robustness - Efficiency - Usability Internal qualities of a software product - Maintainability - Reusability - Portability - Interoperability

Q403UGC NET Computer Science, August 2016 (Paper II & III, Selected Questions)
Which of the following tag in HTML is used to surround information, such as signature of the person who created the page?
  1. A<body> </body>
  2. B<address> </address>
  3. C<strong> </strong>
  4. D<em> </em>
Show answerHide answer

Correct answer: (B) <address> </address>

Explanation

The <address> tag is used to surround information, such as the signature of the person who created the page or the address of the organization the page is about. The <body> tag defines the document is body. The <em> tag defines emphasized text. The <strong> tag defines important text.

Q404UGC NET Computer Science, August 2016 (Paper II & III, Selected Questions)
Which of the following is not used in standard JPEG image compression?
  1. AHuffman coding
  2. BRun length encoding
  3. CZig-zag scan
  4. DK-L Transform
Show answerHide answer

Correct answer: (D) K-L Transform

Explanation

Standard JPEG uses the DCT, zig-zag scan, run-length encoding and Huffman coding. The K-L (Karhunen-Loeve) transform is not used in standard JPEG compression.

Q405UGC NET Computer Science, August 2016 (Paper II & III, Selected Questions)
If the histogram of an image is clustered towards origin on X-axis of a histogram plot then it indicates that the image is
  1. ADark
  2. BGood contrast
  3. CBright
  4. DVery low contrast
Show answerHide answer

Correct answer: (A) Dark

Explanation

If the histogram of an image is clustered towards the origin (low intensity values) on the X-axis, the image is dark. If it is clustered towards the high end of the X-axis, the image is bright.

Q406UGC NET Computer Science, August 2016 (Paper II & III, Selected Questions)
In Artificial Intelligence, a semantic network
  1. AIs a graph-based method of knowledge representation where nodes represent concepts and arcs represent relations between concepts.
  2. BIs a graph-based method of knowledge representation where nodes represent relations between concepts and arcs represent concepts.
  3. CRepresents an entity as a set of slots and associated rules.
  4. DIs a subset of first-order logic.
Show answerHide answer

Correct answer: (A) Is a graph-based method of knowledge representation where nodes represent concepts and arcs represent relations between concepts.

Explanation

In Artificial Intelligence, a semantic network is a graph-based method of knowledge representation where nodes represent concepts, instances or events and arcs (links) represent relationships between them, such as is-a, part-of and kind-of.

Q407UGC NET Computer Science, August 2016 (Paper II & III, Selected Questions)
Given a Turing Machine M = ({q₀, q₁}, {0, 1}, {0, 1, B}, δ, B, {q₁}) Where δ is a transition function defined as δ(q₀, 0) = (q₀, 0, R) δ(q₀, B) = (q₁, B, R) The language L(M) accepted by turing machine is given as:
  1. A0* 1*
  2. B00*
  3. C10*
  4. D1*0*
Show answerHide answer

Correct answer: (B) 00*

Explanation

The machine moves right over 0s and accepts on reaching the blank, so it accepts 0*. 00* is a subset of 0*, so the machine accepts all strings of 00*; the only other accepted string is the empty string ε.

Q408UGC NET Computer Science, August 2016 (Paper II & III, Selected Questions)
Let G = (V, T, S, P) be a context-free grammar such that every one of its productions is of the form A → v, with |v| = k > 1. The derivation tree for any string W ∈ L(G) has a height such that
  1. Ah < (|W| – 1)/(K – 1)
  2. Blogₖ |W| ≤ h
  3. Clogₖ |W| < h < (|W| – 1)/(K – 1)
  4. Dlogₖ |W| ≤ h ≤ (|W| – 1)/(K – 1)
Show answerHide answer

Correct answer: (D) logₖ |W| ≤ h ≤ (|W| – 1)/(K – 1)

Explanation

Each internal node of the derivation tree has exactly k children. The tree is shortest when it is complete, giving h ≥ logₖ |W|, and tallest when each level has only one internal node, giving h ≤ (|W| – 1)/(k – 1). So logₖ |W| ≤ h ≤ (|W| – 1)/(k – 1).

Q409UGC NET Computer Science, August 2016 (Paper II & III, Selected Questions)
Match the following with reference to Functional programming history: List-I A. Lambda calculus B. Lambda calculus as programming language C. Lazy evaluation D. Type classes List-II 1. Church, 1932 2. Wordsworth, 1970 3. Haskel, 1990 4. Mecarthy, 1960 Codes: A B C D
  1. A4 1 3 2
  2. B1 4 2 3
  3. C3 2 4 1
  4. D2 1 4 3
Show answerHide answer

Correct answer: (B) 1 4 2 3

Explanation

Lambda calculus was introduced by Alonzo Church (1932). Its use as a programming language came with LISP by McCarthy (1960). Lazy evaluation was introduced by Wadsworth (1970). Type classes were introduced in Haskell (1990). So A-1, B-4, C-2, D-3.

Q410UGC NET Computer Science, August 2016 (Paper II & III, Selected Questions)
Criticism free idea generation is a factor of ______.
  1. ADecision Support System
  2. BGroup Decision Support System
  3. CEnterprise Resource Support System
  4. DArtificial Intelligence
Show answerHide answer

Correct answer: (B) Group Decision Support System

Explanation

Criticism-free idea generation is a feature of a group decision support system (GDSS).

Q411UGC NET Computer Science, August 2016 (Paper II & III, Selected Questions)
Which of the following is a source coding technique?
  1. AHuffman coding
  2. BArithmetic coding
  3. CRun-length coding
  4. DDPCM
Show answerHide answer

Correct answer: (D) DPCM

Explanation

DPCM (differential pulse code modulation) converts the analog source signal into a digital signal, i.e. it is a source coding technique.

Q412UGC NET Computer Science, June 2017 (Paper II & III, Selected Questions)
Convert the octal number 0.4051 into its equivalent decimal number.
  1. A0.5100098
  2. B0.2096
  3. C0.52
  4. D0.4192
Show answerHide answer

Correct answer: (A) 0.5100098

Explanation

(0.4051)₈ = 0×8⁰ + 4×8⁻¹ + 0×8⁻² + 5×8⁻³ + 1×8⁻⁴ = 0 + 0.5 + 0 + 0.009765625 + 0.000244140625 = (0.510009765625)₁₀ ≈ 0.5100098

Q413UGC NET Computer Science, June 2017 (Paper II & III, Selected Questions)
The hexadecimal equivalent of the octal number 2357 is :
  1. A2EE
  2. B2FF
  3. C4EF
  4. D4FE
Show answerHide answer

Correct answer: (C) 4EF

Explanation

(2357)₈ = (010 011 101 111)₂. Grouping into 4 bits from right to left: 0100 1110 1111, so it is (4EF)₁₆.

Q414UGC NET Computer Science, June 2017 (Paper II & III, Selected Questions)
If X is a binary number which is power of 2, then the value of X & (X – 1) is :
  1. A11.......11
  2. B00.......00
  3. C100......0
  4. D000.......1
Show answerHide answer

Correct answer: (B) 00.......00

Explanation

Let x = 2³ = 8 = 1000; then x – 1 = 7 = 0111. Now x & (x – 1) = 0000 (& is bitwise AND: a result bit is 1 only if both compared bits are 1, otherwise 0). So for any power of 2 the result is all zeros.

Q415UGC NET Computer Science, June 2017 (Paper II & III, Selected Questions)
A binary 3-bit down counter uses J-K flip-flops, FFᵢ with inputs Jᵢ, Kᵢ and outputs Qᵢ, i = 0, 1, 2 respectively. The minimized expression for the input from following, is I. J₀ = K₀ = 0 II. J₀ = K₀ = 1 III. J₁ = K₁ = Q₀ IV. J₁ = K₁ = Q₀' V. J₂ = K₂ = Q₁ Q₀ VI. J₂ = K₂ = Q₁' Q₀'
  1. AI, III, V
  2. BI, IV, VI
  3. CII, III, V
  4. DII, IV, VI
Show answerHide answer

Correct answer: (D) II, IV, VI

Explanation

For a 3-bit down counter using J-K flip-flops (in toggle mode): J₀ = K₀ = 1, J₁ = K₁ = Q₀' and J₂ = K₂ = Q₁' Q₀'. So II, IV and VI.

Q416UGC NET Computer Science, June 2017 (Paper II & III, Selected Questions)
Match the following : List-I A. Absurd B. Ambiguous C. Axiom D. Conjecture List-II i. Clearly impossible being contrary to some evident truth ii. Capable of more than one interpretation or meaning iii. An assertion that is accepted and used without a proof iv. An opinion preferably based on some experience or wisdom Codes : A B C D
  1. Ai ii iii iv
  2. Bi iii iv ii
  3. Cii iii iv i
  4. Dii i iii iv
Show answerHide answer

Correct answer: (A) i ii iii iv

Explanation

Absurd means utterly or obviously senseless, illogical or untrue, i.e. contrary to all reason or evident truth (A–i). Ambiguous means open to more than one meaning or interpretation (B–ii). Axiom is a self-evident truth that requires no proof, a universally accepted principle (C–iii). Conjecture is an opinion or theory formed without sufficient evidence, e.g. based on past experience (D–iv).

Q417UGC NET Computer Science, June 2017 (Paper II & III, Selected Questions)
In propositional logic if (P → Q) ∧ (R → S) and (P ∧ R) are two premises such that (P → Q) ∧ (R → S) P ∨ R ---------- Y Y is the premise :
  1. AP ∨ R
  2. BR ∨ S
  3. CQ ∨ R
  4. DQ ∨ S
Show answerHide answer

Correct answer: (D) Q ∨ S

Explanation

Given premises (P → Q) ∧ (R → S) and (P ∨ R). (P → Q) = ¬P ∨ Q and (R → S) = ¬R ∨ S. Resolving with P ∨ R, ¬P with P and ¬R with R resolve out, leaving the disjunction Q ∨ S (constructive dilemma). So Q ∨ S is correct.

Q418UGC NET Computer Science, June 2017 (Paper II & III, Selected Questions)
Consider a sequence F₀₀ defined as : F₀₀(0) = 1, F₀₀(1) = 1 F₀₀(n) = (10*F₀₀(n – 1) + 100) / F₀₀(n – 2) for n ≥ 2 Then what shall be the set of values of the sequence F₀₀ ?
  1. A(1, 110, 1200)
  2. B(1, 110, 600, 1200)
  3. C(1, 2, 55, 110, 600, 1200)
  4. D(1, 55, 110, 600, 1200)
Show answerHide answer

Correct answer: (A) (1, 110, 1200)

Explanation

F₀₀(0) = 1, F₀₀(1) = 1. F₀₀(2) = (10*1 + 100)/1 = 110, F₀₀(3) = (10*110 + 100)/1 = 1200, F₀₀(4) = (10*1200 + 100)/110 = 110, F₀₀(5) = (10*110 + 100)/1200 = 1, F₀₀(6) = (10*1 + 100)/110 = 1, and the values repeat. So the set of values is (1, 110, 1200).

Q419UGC NET Computer Science, June 2017 (Paper II & III, Selected Questions)
Consider a Hamiltonian Graph G with loops or parallel edges and with |V(G)| = n ≥ 3. Then which of the following is true?
  1. Adeg(v) ≥ n/2 for each vertex v.
  2. B|E(G)| ≥ (1/2)(n – 1)(n – 2) + 2
  3. Cdeg(v) + deg(w) ≥ n whenever v and w are not connected by an edge.
  4. DAll of the above
Show answerHide answer

Correct answer: (D) All of the above

Explanation

By Dirac's theorem, deg(v) ≥ n/2 for every vertex; by Ore's theorem, deg(v) + deg(w) ≥ n for every pair of non-adjacent vertices v and w; and a graph with |E(G)| ≥ (1/2)(n – 1)(n – 2) + 2 edges is Hamiltonian. So all of the above.

Q420UGC NET Computer Science, June 2017 (Paper II & III, Selected Questions)
Consider the following assembly language instructions : mov al, 15 mov ah, 15 xor al, al mov cl, 3 shr ax, cl add al, 90H adc ah, 0 What is the value in ax register after execution of above instructions?
  1. A0270H
  2. B01070H
  3. C01E0H
  4. D0370H
Show answerHide answer

Correct answer: (A) 0270H

Explanation

AX consists of AH and AL. mov al, 15 → AX = 000FH mov ah, 15 → AX = 0F0FH xor al, al → AX = 0F00H mov cl, 3 → AX = 0F00H, CL = 03 shr ax, cl → AX = 01E0H (shift right 3 times) add al, 90H → AX = 0170H, carry = 1 adc ah, 0 → AX = 0270H (adds the carry) So AX = 0270H.

Q421UGC NET Computer Science, June 2017 (Paper II & III, Selected Questions)
The contents of register (BL) and register (AL) of 8085 microprocessor are 49H and 3AH respectively. The contents of Al, the status of carry flag (CF) and sign flag (SF) after executing 'SUB AL, BL' assembly language instruction, are
  1. AAL = 0FH; CF = 1; SF = 1
  2. BAL = F0H; CF = 0; SF = 0
  3. CAL = F1H; CF = 1; SF = 1
  4. DAL = 1FH; CF = 1; SF = 1
Show answerHide answer

Correct answer: (C) AL = F1H; CF = 1; SF = 1

Explanation

(AL) = 3AH = 00111010, (BL) = 49H = 01001001. AL – BL = 11110001, so (AL) = F1H, CF = 1, SF = 1. The carry (borrow) flag is set since the first operand is less than the second; the result is negative, so the sign flag is set.

Q422UGC NET Computer Science, June 2017 (Paper II & III, Selected Questions)
Which of the following statements is false? (A) Optimal binary search tree construction can be performed efficiently using dynamic programming. (B) Breadth-first search cannot be used to find connected components of a graph. (C) Given the prefix and postfix walks of a binary tree, the tree cannot be re-constructed uniquely. (D) Depth-first-search can be used to find the connected components of a graph.
  1. AA
  2. BB
  3. CC
  4. DD
Show answerHide answer

Correct answer: (B) B

Explanation

Statement B is false: breadth-first search can be used to find the connected components of a graph, just like depth-first search. Optimal binary search tree construction is a well-known dynamic programming application, and given only the prefix and postfix walks of a binary tree, the tree cannot be reconstructed uniquely.

Q423UGC NET Computer Science, June 2017 (Paper II & III, Selected Questions)
If h is chosen from a universal collection of hash functions and is used to hash n keys into a table of size m, where n ≤ m, the expected number of collisions involving a particular key x is less than .........
  1. A1
  2. B1/n
  3. C1/m
  4. Dn/m
Show answerHide answer

Correct answer: (A) 1

Explanation

Let Xᵢ = 1 if key x collides with the i-th other key, else 0. For a universal hash family, a given pair collides with probability 1/m, so E(Xᵢ) = 1/m. Summing over the other (n – 1) keys, the expected number of collisions involving x is (n – 1)/m. Since n ≤ m, this is less than 1.

Q424UGC NET Computer Science, June 2017 (Paper II & III, Selected Questions)
Which of the following is true for computation time in insertion, deletion and finding maximum and minimum element in a sorted array?
  1. AInsertion – O(1), Deletion – O(1), Maximum – O(1), Minimum – O(1)
  2. BInsertion – O(1), Deletion – O(1), Maximum – O(n), Minimum – O(n)
  3. CInsertion – O(n), Deletion – O(n), Maximum – O(1), Minimum – O(1)
  4. DInsertion – O(n), Deletion – O(n), Maximum – O(n), Minimum – O(n)
Show answerHide answer

Correct answer: (C) Insertion – O(n), Deletion – O(n), Maximum – O(1), Minimum – O(1)

Explanation

In a sorted array, insertion and deletion take O(n) in the worst case (elements must be shifted), while the minimum and maximum are always at the two ends, so finding them takes O(1).

Q425UGC NET Computer Science, June 2017 (Paper II & III, Selected Questions)
The order of a leaf in a B+ tree is the maximum number of children it can have. Suppose that block size is 1 kilobyte, the child pointer takes 7 bytes long and search field value takes 14 bytes long. The order of the leaf node is ..........
  1. A16
  2. B63
  3. C64
  4. D65
Show answerHide answer

Correct answer: (A) 16

Explanation

Data pointer = child pointer + search field value = 7 + 14 = 21 bytes. Maximum number of entries = 1 KB/21 bytes = 1024/21 ≈ 48.76. The book picks 16 since all other options are greater than 48.

Q426UGC NET Computer Science, June 2017 (Paper II & III, Selected Questions)
Which of the following is a valid heap? (Each tree is a complete binary tree given in level order, left to right.) (A) 16, 14, 10, 4, 7, 9, 3, 2, 8, 1 (root 16; children of 16: 14, 10; children of 14: 4, 7; children of 10: 9, 3; children of 4: 2, 8; child of 7: 1) (B) 16, 14, 10, 8, 7, 9, 3, 2, 4, 1 (root 16; children of 16: 14, 10; children of 14: 8, 7; children of 10: 9, 3; children of 8: 2, 4; child of 7: 1) (C) 16, 14, 10, 8, 1, 9, 3, 2, 4, 7 (root 16; children of 16: 14, 10; children of 14: 8, 1; children of 10: 9, 3; children of 8: 2, 4; child of 1: 7) (D) 16, 14, 3, 4, 1, 9, 10, 8, 2, 7 (root 16; children of 16: 14, 3; children of 14: 4, 1; children of 3: 9, 10; children of 4: 8, 2; child of 1: 7)
  1. AA
  2. BB
  3. CC
  4. DD
Show answerHide answer

Correct answer: (B) B

Explanation

(A) fails the max-heap property (4 has child 8). (B) is a valid max heap because every parent ≥ its children. (C) fails (1 has child 7). (D) fails (3 has children 9 and 10; 4 has child 8; 1 has child 7).

Q427UGC NET Computer Science, June 2017 (Paper II & III, Selected Questions)
How many multiples of 6 are there between the following pairs of numbers? 0 and 100 and –6 and 34
  1. A16 and 6
  2. B17 and 6
  3. C17 and 7
  4. D16 and 7
Show answerHide answer

Correct answer: (A) 16 and 6

Explanation

(i) Multiples of 6 between 1 and 100 = ⌊100/6⌋ = 16 (the book counts 16 for 0 to 100). (ii) Multiples of 6 between 0 and 34 = ⌊34/6⌋ + 1 (for 0) = 5 + 1 = 6.

Q428UGC NET Computer Science, June 2017 (Paper II & III, Selected Questions)
Which of the following strings would match the regular expression : p+[3 – 5]*[xyz]? I. p443y II. p6y III. 3xyz IV. p35z V. p353535x VI. ppp5
  1. AI, III and VI only
  2. BIV, V and VI only
  3. CII, IV and V only
  4. DI, IV and V only
Show answerHide answer

Correct answer: (D) I, IV and V only

Explanation

p+[3–5]*[xyz] = one or more p, then any number of 3, 4 or 5, then exactly one of x, y, z. (I) p443y → matched (II) p6y → not matched, since 6 cannot be used (III) 3xyz → not matched, string must start with p (IV) p35z → matched (V) p353535x → matched (VI) ppp5 → not matched, string must end with x, y or z

Q429UGC NET Computer Science, June 2017 (Paper II & III, Selected Questions)
Which of the following statements (s) regarding a linker software is/are true? I. A function of a linker is to combine several object modules into a single load module. II. A function of a linker is to replace absolute references in an object module by symbolic references to locations in other modules
  1. AOnly I
  2. BOnly II
  3. CBoth I and II
  4. DNeither I nor II
Show answerHide answer

Correct answer: (A) Only I

Explanation

Statement I is true: a linker combines several object modules into a single load module. Statement II is wrong: a linker replaces symbolic references by addresses (it generates relocatable addresses), not absolute references by symbolic ones.

Q430UGC NET Computer Science, June 2017 (Paper II & III, Selected Questions)
There are three processes P1, P2 and P3 sharing a semaphore for synchronizing a variable. Initial value of semaphore is one. Assume that negative value of semaphore tells us how many processes are waiting in queue. Processes access the semaphore in following order : (A) P2 needs to access (B) P1 needs to access (C) P3 needs to access (D) P2 exits critical section (E) P1 exits critical section The final value of semaphore will be :
  1. A0
  2. B1
  3. C–1
  4. D–2
Show answerHide answer

Correct answer: (A) 0

Explanation

Initial value S = 1. (1) P2 needs to access: S = 0 (no one waiting) (2) P1 needs to access: S = –1 (one process waiting) (3) P3 needs to access: S = –2 (two processes waiting) (4) P2 exits critical section: S = –1 (one process waiting) (5) P1 exits critical section: S = 0 (no process waiting)

Q431UGC NET Computer Science, June 2017 (Paper II & III, Selected Questions)
In a paging system, it takes 30 ns to search translation Look-a-side buffer (TLB) and 90 ns to access the main memory. If the TLB hit ratio is 70%, the effective memory access time is :
  1. A48ns
  2. B147ns
  3. C120ns
  4. D84ns
Show answerHide answer

Correct answer: (B) 147ns

Explanation

TLB hit ratio 70%, TLB search 30 ns, memory access 90 ns. On a hit, the page is found in the TLB (30 ns); on a miss, the TLB is searched and the page table read from memory (30 + 90 ns); then 90 ns to access the data. Total = (0.7 × 30) + (0.3 × (90 + 30)) + 90 = 21 + 36 + 90 = 147 ns

Q432UGC NET Computer Science, June 2017 (Paper II & III, Selected Questions)
Match the following w.r.t. Input/Output management : List-I A. Device controller B. Device driver C. Interrupt handler D. Kernel I/O subsystem List-II i. Extracts information from the controller register and store it in data buffer ii. I/O scheduling iii. Performs data transfer iv. Processing of I/O request Codes : A B C D
  1. Aiii iv i ii
  2. Bii i iv iii
  3. Civ i ii iii
  4. Di iii iv ii
Show answerHide answer

Correct answer: (D) i iii iv ii

Explanation

The correct match: A. Device controller – i. Extracts information from the controller register and stores it in data buffer; B. Device driver – iii. Performs data transfer; C. Interrupt handler – iv. Processing of I/O request; D. Kernel I/O subsystem – ii. I/O scheduling.

Q433UGC NET Computer Science, June 2017 (Paper II & III, Selected Questions)
Which of the following scheduling algorithms may cause starvation? A. First-come-first-served B. Round Robin C. Priority D. Shortest process next E. Shortest remaining time first
  1. AA, C and E
  2. BC, D and E
  3. CB, D, and E
  4. DB, C and D
Show answerHide answer

Correct answer: (B) C, D and E

Explanation

(1) First come – first served – No starvation (2) Round robin – No starvation (3) Priority – starvation if higher priority process called again & again lower priority starves (4) Shortest process next = starvation possible (5) Shortest remaining time first = starvation possible

Q434UGC NET Computer Science, June 2017 (Paper II & III, Selected Questions)
Distributed operating system consist of :
  1. ALoosely coupled O.S. software on a loosely coupled hardware
  2. BLoosely coupled O.S. Software on a tightly coupled hardware
  3. CTightly coupled O.S. Software on a loosely coupled hardware
  4. DTightly coupled O.S. software on a tightly coupled hardware
Show answerHide answer

Correct answer: (C) Tightly coupled O.S. Software on a loosely coupled hardware

Explanation

A distributed operating system is usually defined as running on more loosely coupled hardware. There is no shared memory, but provides a single memory by tightly coupled software.

Q435UGC NET Computer Science, June 2017 (Paper II & III, Selected Questions)
______ refers loosely to the process of semi-automatically analyzing large databases to find useful patterns
  1. ADatamining
  2. BData warehousing
  3. CDBMS
  4. DData mirroring
Show answerHide answer

Correct answer: (A) Datamining

Explanation

The practice of examining large pre-existing databases in order to generate new information is data mining. It refers loosely to the process of semi-automatically analyzing large databases to find useful patterns.

Q436UGC NET Computer Science, June 2017 (Paper II & III, Selected Questions)
Which of the following statements is/are true w.r.t. Enterprise Resource planning (ERP)? (A) ERP automates and integrates majority of business processes (B) ERP provides access to information in a Real Time Environment. (C) ERP is inexpensive to implement.
  1. A(A), (B) and (C) are false
  2. B(A) and (B) false; (C) true
  3. C(A) and (B) true; (C) false
  4. D(A) true; (B) and (C) are false
Show answerHide answer

Correct answer: (C) (A) and (B) true; (C) false

Explanation

(1) ERP automates and integrates majority of business – true (2) ERP provides access to information in a real time environment – true (3) ERP is inexpensive to implement – false

Q437UGC NET Computer Science, June 2017 (Paper II & III, Selected Questions)
An attribute A of data type varchar (20) has value 'Ram' and the attribute B of data type char (20) has value 'Sita' in oracle. The attribute A has ______ memory spaces and B has ______ memory spaces.
  1. A20, 20
  2. B3, 20
  3. C3, 4
  4. D20, 4
Show answerHide answer

Correct answer: (B) 3, 20

Explanation

CHAR and VARCHAR are both declared with a maximum length, but a CHAR column is fixed to the declared length (padded with spaces), while VARCHAR(20) uses only as much space as the stored value. So A ('Ram') needs 3 spaces and B ('Sita') needs 20.

Q438UGC NET Computer Science, June 2017 (Paper II & III, Selected Questions)
Integrity constraints ensure that change made to the database by authorized users do not result into loss of data consistency. Which of the following statement (s) is (are) true w.r.t. the examples of integrity constraints? (A) An instructor Id. No. cannot be null, provided Instructor Id No. being primary key. (B) No two citizens have same Adhar-Id (C) Budget of a company must be zero
  1. A(A), (B) and (C) are true
  2. B(A) false, (B) and (C) are true
  3. C(A) and (B) are true; (C) false
  4. D(A), (B) and (C) are false
Show answerHide answer

Correct answer: (C) (A) and (B) are true; (C) false

Explanation

An instructor Id. No. cannot be null when it is the primary key – valid integrity constraint. No two citizens have the same Aadhaar-Id – valid. But 'the budget of a company must be zero' is not a valid integrity constraint. So (A) and (B) are true and (C) is false.

Q439UGC NET Computer Science, June 2017 (Paper II & III, Selected Questions)
Let M and N be two entities in an E-R diagram with simple single value attributes. R₁ and R₂ are two relationship between M and N, where as : R₁ is one-to-many and R₂ is many-to-many. The minimum number of tables required to represent M, N, R₁ and R₂ in the relational model are _____
  1. A4
  2. B6
  3. C7
  4. D3
Show answerHide answer

Correct answer: (D) 3

Explanation

Two tables are created for entities M and N, and a third table for the many-to-many relationship R₂. R₁ (one-to-many) needs no separate table: the primary key of the 'one' side is placed as a foreign key in the 'many' side. So the minimum is 3 tables.

Q440UGC NET Computer Science, June 2017 (Paper II & III, Selected Questions)
Consider a schema R(MNPQ) and functional dependencies M → N, P → Q. Then the decomposition of R into R₁ (MN) and R₂(PQ) is ______
  1. ADependency preserving but not lossless join
  2. BDependency preserving and lossless join
  3. CLossless join but not dependency preserving
  4. DNeither dependency preserving nor lossless join
Show answerHide answer

Correct answer: (A) Dependency preserving but not lossless join

Explanation

With R(MNPQ), M → N and P → Q, the decomposition into R₁(MN) and R₂(PQ) clearly preserves both dependencies, but it is not lossless because R₁ and R₂ have no common attribute, so R cannot be recovered by joining them.

Q441UGC NET Computer Science, June 2017 (Paper II & III, Selected Questions)
Match the following layers and Protocols for a user browsing with SSL : List-I A. Application of layer B. Transport layer C. Network layer D. Datalink layer List-II i. TCP ii. IP iii. PPP iv. HTTP Codes : A B C D
  1. Aiv i ii iii
  2. Biii ii i iv
  3. Cii iii iv i
  4. Diii i iv ii
Show answerHide answer

Correct answer: (A) iv i ii iii

Explanation

The correct match: A. Application layer – iv. HTTP; B. Transport layer – i. TCP; C. Network layer – ii. IP; D. Datalink layer – iii. PPP.

Q442UGC NET Computer Science, June 2017 (Paper II & III, Selected Questions)
A packet whose destination is outside the local TCP/IP network segment is sent to______
  1. AFile server
  2. BDNS server
  3. CDHCP server
  4. DDefault gateway
Show answerHide answer

Correct answer: (D) Default gateway

Explanation

Default gateway serves an access point or IP router that a networked uses to send information to a computer in another network or the internet. Default simply means that this gateway is used by default, unless an application specifies another gateway.

Q443UGC NET Computer Science, June 2017 (Paper II & III, Selected Questions)
Distance vector routing algorithm is a dynamic algorithm. The routing tables in distance vector routing algorithm are updated ______
  1. AAutomatically
  2. BBy server
  3. CBy exchanging information with neighbor nodes
  4. DWith back up database
Show answerHide answer

Correct answer: (C) By exchanging information with neighbor nodes

Explanation

A distance vector routing protocol requires that a router inform its neighbors about its topology changes periodically.

Q444UGC NET Computer Science, June 2017 (Paper II & III, Selected Questions)
Software Engineering is an engineering discipline that is concerned with :
  1. AHow computer systems work
  2. BTheories and methods that underline computers and software systems
  3. CAll aspects of software production
  4. DAll aspects of computer-based system development, including hardware, software and process engineering
Show answerHide answer

Correct answer: (C) All aspects of software production

Explanation

Software engineering is an engineering discipline that is concerned with all aspects of software production.

Q445UGC NET Computer Science, June 2017 (Paper II & III, Selected Questions)
The prototyping model of software development is :
  1. AA reasonable approach when requirements are well-defined
  2. BA useful approach when a customer cannot define requirements clearly
  3. CThe best approach to use for projects with large development teams
  4. DA risky model that rarely produces a meaningful product
Show answerHide answer

Correct answer: (B) A useful approach when a customer cannot define requirements clearly

Explanation

This model allows for the creation of a preliminary version (prototype) of the software, which can be refined iteratively based on user feedback until satisfactory version is achieved. Clarifies Requirements– The prototyping process helps customers visualize and understand what the final product will look like and how it will function. Reduce Risk– By identifying potential issues early on through prototyping, developers can avoid costly rework and delays later in the development cycle.

Q446UGC NET Computer Science, June 2017 (Paper II & III, Selected Questions)
Which of the following is not one of three software product aspects addressed by Mccall's software quality factors?
  1. AAbility to undergo change
  2. BAdaptability to new environments
  3. COperational characteristics
  4. DProduction costs and scheduling
Show answerHide answer

Correct answer: (D) Production costs and scheduling

Explanation

Mccalls's software quality factors. (1) ability to undergo change (2) Adaptability to new environments (3) Operational characteristics but production costs & scheduling is not the aspect of quality factor.

Q447UGC NET Computer Science, June 2017 (Paper II & III, Selected Questions)
Which of the following statement(s) is/are true with respect to software architecture? S1 : Coupling is a measure of how well the grouped together in a module belong together logically. S2 : Cohesion is a measure of the degree of interaction between software modules S3 : If coupling is low and cohesion is high then it is easier to change one module without affecting others.
  1. AOnly S1 and S2
  2. BOnly S3
  3. CAll of S1, S2 and S3
  4. DOnly S1
Show answerHide answer

Correct answer: (B) Only S3

Explanation

S1 and S2 swap the definitions: cohesion measures how well the things grouped in a module belong together, and coupling measures the degree of interaction between modules. S3 is true: if coupling is low and cohesion is high, it is easier to change one module without affecting others.

Q448UGC NET Computer Science, June 2017 (Paper II & III, Selected Questions)
A software design pattern used to enhance the functionality of an object at run-time is :
  1. AAdapter
  2. BDecorator
  3. CDelegation
  4. DProxy
Show answerHide answer

Correct answer: (B) Decorator

Explanation

In object-oriented programming, the decorator pattern (also known as wrapper) is a design pattern that allows behaviour to be added to an individual object, statically or dynamically at run-time, without affecting the behaviour of other objects of the same class.

Q449UGC NET Computer Science, June 2017 (Paper II & III, Selected Questions)
Which of the following storage classes have global visibility in C/C++?
  1. AAuto
  2. BExtern
  3. CStatic
  4. DRegister
Show answerHide answer

Correct answer: (B) Extern

Explanation

extern declares variables/functions with external linkage, giving them global visibility across files. It is the default storage class of all global variables and functions.

Q450UGC NET Computer Science, June 2017 (Paper II & III, Selected Questions)
Which of the following operators cannot be overloaded in C/C++?
  1. ABitwise right shift assignment
  2. BAddress of
  3. CIndirection
  4. DStructure reference
Show answerHide answer

Correct answer: (D) Structure reference

Explanation

Structure reference refers to the dot operator (.), which is one of the operators that cannot be overloaded in C++. The other options (>>=, unary & and unary *) can be overloaded for custom types in C++.

How to use these UGC NET Computer Science questions

Every question here was asked in a real UGC NET paper; the paper and shift are shown on the card, and the number opens the question on its own page. Try each one before tapping Show answer, then attempt the full UGC NET papers as timed tests to check your speed under exam conditions.