Previous Year Paper · Questions with answers

UGC NET Computer Science PYQ, June 2015 (Paper II & III, Selected Questions)

All 77 questions of UGC NET Computer Science PYQ, June 2015 (Paper II & III, Selected Questions) with the correct answer from the official answer key and a solution. Read them free on UTpaper, or attempt the paper as a timed online test.

  • 77 questions
  • 77 explained
  • Official answer key
  • Free

Paper II 40 questions

Q1UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Consider the following statements : S₁: Boolean expressions and logic networks correspond to labeled acyclic digraphs. S₂: Optimal Boolean expressions may not correspond to simplest networks. S₃: Choosing essential blocks first in a Karnaugh map and then greedily choosing the largest remaining blocks to cover may not give an optimal expression. Which of these statement(s) is/are correct?
  1. AS₁ only
  2. BS₂ only
  3. CS₁ and S₂
  4. DS₁, S₂ and S₃
Show answerHide answer

Correct answer: (D) S₁, S₂ and S₃

Explanation

S₁: Boolean expressions and logic networks correspond to labeled acyclic digraphs. S₂: Minimal expressions do not always give the simplest network. S₃: Greedy K-map grouping may not give an optimal expression. So S₁, S₂ and S₃ are all correct.

Q2UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Consider a full-adder with the following input values : (a) x = 1, y = 0 and C₁ (carry input) = 0 (b) x = 0, y = 1 and C₁ = 1 Compute the values of S (sum) and C₀ (carry output) for the above input values.
  1. AS = 1, C₀ = 0 and S = 0, C₀ = 1
  2. BS = 0, C₀ = 0 and S = 1, C₀ = 1
  3. CS = 1, C₀ = 1 and S = 0, C₀ = 1
  4. DS = 0, C₀ = 1 and S = 1, C₀ = 0
Show answerHide answer

Correct answer: (A) S = 1, C₀ = 0 and S = 0, C₀ = 1

Explanation

For a full adder, S = A ⊕ B ⊕ Cᵢₙ and Cₒᵤₜ = A·B + Cᵢₙ·(A ⊕ B). (a) A = 1, B = 0, Cᵢₙ = 0: S = 1 ⊕ 0 ⊕ 0 = 1, Cₒᵤₜ = 1·0 + 0·(1 ⊕ 0) = 0. (b) A = 0, B = 1, Cᵢₙ = 1: S = 0 ⊕ 1 ⊕ 1 = 0, Cₒᵤₜ = 0·1 + 1·(0 ⊕ 1) = 1. So S = 1, C₀ = 0 and S = 0, C₀ = 1.

Q3UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
"If my computations are correct and I pay the electric bill, then I will run out of money. If I don't pay the electric bill, the power will be turned off. Therefore, if I don't run out of money and the power is still on, then my computations are incorrect." Convert this argument into logical notations using the variables c, b, r, p for propositions of computations, electric bills, out of money and the power respectively. (Where ¬ means NOT)
  1. Aif (c ∧ b) → r and ¬b → ¬p, then (¬r ∧ p) → ¬c
  2. Bif (c ∧ b) → r and ¬b → ¬p, then (r ∧ p) → c
  3. Cif (c ∧ b) → r and ¬p → ¬b, then (¬r ∧ p) → ¬c
  4. Dif (c ∨ b) → r and ¬b → ¬p, then (¬r ∧ p) → ¬c
Show answerHide answer

Correct answer: (A) if (c ∧ b) → r and ¬b → ¬p, then (¬r ∧ p) → ¬c

Explanation

S₁: (c ∧ b) → r S₂: ¬b → ¬p Conclusion: (¬r ∧ p) → ¬c So: if (c ∧ b) → r and ¬b → ¬p, then (¬r ∧ p) → ¬c.

Q4UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Match the following : List–I (a) (p→q) ⇔ (¬q→¬p) (b) [(p∧q)→r] ⇔ [p→(q→r)] (c) (p→q) ⇔ [(p∧¬q)→0] (d) (p↔q) ⇔ [(p→q) ∧ (q→p)] List–II (i) Contrapositive (ii) Exportation law (iii) Reductio ad absurdum (iv) Equivalence Codes : a b c d
  1. A(i) (ii) (iii) (iv)
  2. B(ii) (iii) (i) (iv)
  3. C(iii) (ii) (iv) (i)
  4. D(iv) (ii) (iii) (i)
Show answerHide answer

Correct answer: (A) (i) (ii) (iii) (iv)

Explanation

(a) Contrapositive: negate both hypothesis and conclusion and interchange them: (p → q) ⇔ (¬q → ¬p). (b) Exportation is a valid rule of replacement: ((p ∧ q) → r) ⇔ (p → (q → r)). (c) Reductio ad absurdum: (p → q) ⇔ [(p ∧ ¬q) → 0]. (d) Equivalence (biconditional): (p ↔ q) ⇔ (p → q) ∧ (q → p). So a-(i), b-(ii), c-(iii), d-(iv).

Q5UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Consider a proposition given as : "x ≥ 6, if x² ≥ 25" and its proof as : If x ≥ 6, then x² = x . x ≥ 6 . 6 = 36 ≥ 25 Which of the following is correct w.r.to the given proposition and its proof? (1) The proof shows the converse of what is to be proved (2) The proof starts by assuming what is to be shown (3) The proof is correct and there is nothing wrong
  1. A(1) only
  2. B(3) only
  3. C(1) and (2)
  4. D(2) only
Show answerHide answer

Correct answer: (C) (1) and (2)

Explanation

The proposition is "if x² ≥ 25 then x ≥ 6", but the proof assumes x ≥ 6 and derives x² ≥ 25. So the proof starts by assuming what is to be shown and actually proves the converse; the proof is not correct. Statements (1) and (2) are correct, statement (3) is not.

Q6UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Which of the following is not valid with reference to message passing interface (MPI)?
  1. AMPI can run on any hardware platform
  2. BThe programming model is a distributed memory model
  3. CAll parallelism is implicit
  4. DMPI - Comm. - size returns the total number of MPI processes in specified communication
Show answerHide answer

Correct answer: (C) All parallelism is implicit

Explanation

Message passing interface (MPI) is a standardized and portable message passing system. • It can run on any hardware platform. It is portable, efficient, flexible. • It has become a de facto standard for communication among memory system. • MPI – Comm. – Size returns the total number of MPI processes in specified communication. So answer is (c)

Q7UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
The translator which performs macro calls expansion is called :
  1. AMacro processor
  2. BMicro pre-processor
  3. CMacro pre-processor
  4. DDynamic Linker
Show answerHide answer

Correct answer: (C) Macro pre-processor

Explanation

Translator which performs macro calls expansion is called macro pre-processors

Q8UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
The in order and preorder Traversal of binary tree are dbeafcg and abdecfg respectively. The post-order Traversal is ..........
  1. Adbefacg
  2. Bdebfagc
  3. Cdbefcga
  4. Ddebfgca
Show answerHide answer

Correct answer: (D) debfgca

Explanation

Take the first node in preorder traversal a will be the root. Now we construct the binary tree Therefore, postorder is - debfgca

Q9UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Level order Traversal of a rooted Tree can be done by starting from root and performing :
  1. ABreadth first search
  2. BDepth first search
  3. CRoot search
  4. DDeep search
Show answerHide answer

Correct answer: (A) Breadth first search

Explanation

Level order traversal is similar to breadth first search, whereas preorder traversal is similar to depth first search. So the answer is (a).

Q10UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
To determine the efficiency of an algorithm the time factor is measured by:
  1. ACounting micro seconds
  2. BCounting number of key operations
  3. CCounting number of statements
  4. DCounting kilobytes of algorithm
Show answerHide answer

Correct answer: (B) Counting number of key operations

Explanation

The complexity is commonly estimated by counting the number of elementary operations performed by the algorithm, where an elementary operation takes a fixed amount of time to perform. Thus the amount of time taken and the number of elementary operations performed by the algorithm differ by at most a constant factor.

Q11UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
The average case occurs in the Linear search Algorithm when
  1. AThe item to be searched is in some where middle of the array
  2. BThe item to be searched is not in the array
  3. CThe item to be searched is in the last of the array
  4. DThe item to be searcher is either in the last or not in the array
Show answerHide answer

Correct answer: (A) The item to be searched is in some where middle of the array

Explanation

Linear search runs in at worst linear time and make at most n comparisons, where n is the length of the list. If each element is equally likely to be searched then the linear search has an average case of (n/2) comparisons, but the average case can be affected if the search probability for each element vary.

Q12UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Which of the following algorithms sort n integers, having the range 0 to (n² – 1), in ascending order in O(n) time?
  1. ASelection sort
  2. BBubble sort
  3. CRadix sort
  4. DInsertion sort
Show answerHide answer

Correct answer: (C) Radix sort

Explanation

Radix sort because it sorts in integers in range 0 … (n² – 1) in O(n) time using base-n representation.

Q13UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Consider the given graph (edge : weight) : 1–6 : 10, 1–2 : 28, 2–7 : 14, 2–3 : 16, 6–5 : 25, 5–7 : 24, 7–4 : 18, 5–4 : 22, 4–3 : 12 Its Minimum cost spanning tree is ..........
  1. AEdges 1–2 (28), 2–3 (16), 3–4 (12), 4–5 (22), 5–6 (25), 6–7
  2. BEdges 1–6 (10), 6–5 (25), 5–4 (22), 4–3 (12), 3–2 (16), 2–7 (14)
  3. CEdges 1–2 (28), 2–3 (16), 3–4 (12), 4–5 (22), 5–6 (25), 5–7 (24)
  4. DEdges 1–6 (10), 1–2 (28), 2–3 (16), 3–4 (12), 4–7 (18), 4–5 (22)
Show answerHide answer

Correct answer: (B) Edges 1–6 (10), 6–5 (25), 5–4 (22), 4–3 (12), 3–2 (16), 2–7 (14)

Explanation

Using Kruskal's algorithm: take 10 (1–6), 12 (3–4), 14 (2–7), 16 (2–3); skip 18 (4–7, cycle); take 22 (4–5); skip 24 (5–7, cycle); take 25 (5–6). Total = 10 + 12 + 14 + 16 + 22 + 25 = 99, which is option (b).

Q14UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Given that x = 7.5, j = – 1.0, n = 1.0, m = 2.0 the value of --x + j == x > n >= m is :
  1. A0
  2. B1
  3. C2
  4. D3
Show answerHide answer

Correct answer: (A) 0

Explanation

Relational operators > and >= have higher precedence than ==, so the expression is (--x + j) == ((x > n) >= m). --x makes x = 6.5, so LHS = 6.5 + (–1.0) = 5.5. RHS: (6.5 > 1.0) = 1, then (1 >= 2.0) = 0. 5.5 == 0 is false, so the value is 0.

Q15UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
What is the output of the following program? (Assume that the appropriate directive are included and there is no syntax error) main () { char S[ ] = "ABCDEFGH", printf ("%C", * (&S[3])); printf ("%s", S + 4); printf ("%u", S); /* Base address of S is 1000*/ }
  1. AABCDEFGH1000
  2. BCDEFGH1000
  3. CDDEFGHH1000
  4. DDEFGH1000
Show answerHide answer

Correct answer: (D) DEFGH1000

Explanation

S occupies addresses 1000 to 1008: A B C D E F G H \0. S[3] is 'D', and *(&S[3]) is 'D' itself, so %c prints D. S + 4 skips 4 characters, so %s prints "EFGH". %u prints the base address of S, 1000. Final output: DEFGH1000.

Q16UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
A LRU page replacement is used with four page frames and eight pages. How many page faults will occur with the reference string 0172327103 if the four frames are initially empty?
  1. A6
  2. B7
  3. C5
  4. D8
Show answerHide answer

Correct answer: (B) 7

Explanation

Reference string 0 1 7 2 3 2 7 1 0 3 with 4 frames (LRU): 0, 1, 7, 2 are faults (4); 3 replaces 0 (5); 2, 7, 1 are hits; 0 replaces 3 (6); 3 replaces 2 (7). Total page faults = 7.

Q17UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Let Pᵢ and Pⱼ be two processes, R be the set of variables read from memory, and W be the set of variables written to memory. For the concurrent execution of two processes Pᵢ and Pⱼ which of the following conditions is not true?
  1. AR(Pᵢ) ∩ W(Pⱼ) = Φ
  2. BW(Pᵢ) ∩ R(Pⱼ) = Φ
  3. CR(Pᵢ) ∩R(Pⱼ) = Φ
  4. DW(Pᵢ) ∩W(Pⱼ) = Φ
Show answerHide answer

Correct answer: (C) R(Pᵢ) ∩R(Pⱼ) = Φ

Explanation

Reading of two process won't create any problem, So answer is (c)

Q18UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
In the case of parallelization, Amdahl's law states that if P is the proportion of a program that can be made parallel and (1–P) is the proportion that cannot be parallelized, then the maximum speed-up that can be achieved by using N processors is :
  1. A1 / [(1 – P) + N.P]
  2. B1 / [(N – 1)P + P]
  3. C1 / [(1 – P) + P/N]
  4. D1 / [P + (1 – P)/N]
Show answerHide answer

Correct answer: (C) 1 / [(1 – P) + P/N]

Explanation

By Amdahl's law, the serial part (1 – P) cannot be sped up while the parallel part P is divided among N processors, so the maximum speed-up is 1 / [(1 – P) + P/N].

Q19UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
A disk drive has 100 cylinders, numbered 0 to 99. Disk requests come to the disk driver for cylinders 12, 26, 24, 4, 42, 8 and 50 in that order. The driver is currently serving a request at cylinder 24. A seek takes 6 msec per cylinder moved. How much seek time is needed for shortest seek time first (SSTF) algorithm?
  1. A0.984 sec
  2. B0.396 sec
  3. C0.738 sec
  4. D0.42 sec
Show answerHide answer

Correct answer: (D) 0.42 sec

Explanation

SSTF from cylinder 24: 24 → 26 (2) → 12 (14) → 8 (4) → 4 (4) → 42 (38) → 50 (8). Total distance = 70 cylinders. Seek time = 70 × 6 msec = 420 msec = 0.42 sec.

Q20UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
The Unix Kernel maintains two key data structures related to processes, the process table and the user structure. Which of the following information is not the part of user structure?
  1. AFile descriptor table
  2. BSystem call state
  3. CScheduling parameters
  4. DKernel stack
Show answerHide answer

Correct answer: (C) Scheduling parameters

Explanation

The Unix Kernel maintains two key data structures related to processes, the process table and the user structure. In user structure there is no place for scheduling parameter process table store the information of all running process. The process table contains process ID's, memory usage of the process, what are file descriptor used in the process.

Q21UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Database applications were built directly on top of file system to overcome the following drawbacks of using file-systems : (1) Data redundancy and inconsistency (2) Difficulty in accessing Data (3) Data isolation (4) Integrity problems
  1. A(1)
  2. B(1) and (4)
  3. C(1), (2) and (3)
  4. D(1), (2), (3) and (4)
Show answerHide answer

Correct answer: (D) (1), (2), (3) and (4)

Explanation

Traditional file system has all mentioned drawbacks. Database applications built by using tables are used to overcome them. eg : Normalization and integrity constraints reduces redundancy & inconsistency. Select * from table provide easy access to data references, joins etc removes data is action primary & foreign key along with check predicates solves integrity problem

Q22UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
For a weak entity set to be meaningful, it must be associated with another entity set in combination with some of their attribute values, is called as :
  1. ANeighbor Set
  2. BStrong Entity Set
  3. COwner Entity Set
  4. DWeak Set
Show answerHide answer

Correct answer: (C) Owner Entity Set

Explanation

Every weak entity must be associated with an identifying entity i.e. the weak entity set is said to be existence dependent on the identifying set. The identifying entity set is said to own the weak entity set that it identifies. It is also called owner entity set.

Q23UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Drop Table cannot be used to drop a Table referenced by ______constraint. (1) Primary key (2) Sub key (3) Super key (4) Foreign key
  1. A(1)
  2. B(1), (2) and (3)
  3. C(4)
  4. D(1) and (4)
Show answerHide answer

Correct answer: (C) (4)

Explanation

If you drop child table first, the foreign key will be dropped as well. If you attempt to drop percent table first you will get an "could not drop object "a" because it is referenced by a foreign key constraint error, Drop table can not be used to drop a table reference by a foreign key constraint. The referencing foreign key constraint or the referencing table must be dropped.

Q24UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Which of the following statements is FALSE about weak entity set?
  1. AWeak entities can be deleted automatically when their strong entity is deleted
  2. BWeak entity set avoids the data duplication and consequent possible inconsistencies caused by duplicating the key of the strong entity
  3. CA weak entity set has no primary keys unless attributes of the strong entity set on which it depends are included
  4. DTuples in a weak entity set are not partitioned according to their relationship with tuples in a strong entity set
Show answerHide answer

Correct answer: (D) Tuples in a weak entity set are not partitioned according to their relationship with tuples in a strong entity set

Explanation

We have weak entities for several reasons : • We want to avoid the data duplication and consequent entity. Possible inconsistencies caused by duplicating the key of strong. • Weak entities be stored physically with their strong entities • Weak entities can be detected automatically when their strong entity is detected. So (d) is incorrect statement, Hence (d) is the answer.

Q25UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
An assertion is a predicate expressing a condition we wish database to always satisfy. The correct syntax for Assertion is :
  1. ACREATE ASSERTION 'ASSERTION Name' CHECK 'Predicate'
  2. BCREATE ASSERTION 'ASSERTION Name'
  3. CCREATE ASSERTION, CHECK Predicate
  4. DSELECT ASSERTION
Show answerHide answer

Correct answer: (A) CREATE ASSERTION 'ASSERTION Name' CHECK 'Predicate'

Explanation

CREATE ASSERTION <assertion name> CHECK <predicate> is the proper syntax. For example, an assertion demanding that there is no more than one president among the employees: CREATE ASSERTION AT_MOST_ONE_PRESIDENT CHECK ((SELECT COUNT(*) FROM EMP e WHERE e.job = 'PRESIDENT') <= 1).

Q26UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Which of the following concurrency protocol ensures both conflict serializability and freedom from deadlock? (1) 2-phase Locking (2) Time stamp - ordering
  1. ABoth (1) and (2)
  2. B(1) only
  3. C(2) only
  4. DNeither (1) nor (2)
Show answerHide answer

Correct answer: (C) (2) only

Explanation

In basic two-phase locking there is a chance of deadlock. The timestamp-ordering protocol ensures conflict serializability and, since no transaction waits, it is free from deadlock. So the answer is (2) only.

Q27UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Which of the following is not associated with the session layer?
  1. ADialog control
  2. BToken management
  3. CSemantics of the information transmitted
  4. DSynchronization
Show answerHide answer

Correct answer: (C) Semantics of the information transmitted

Explanation

Semantics of the information transmitted is not associated with the session layer but associated with presentation layer So correct option is (c).

Q28UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Which of the following is/are restriction (s) in classless addressing?
  1. AThe number of addresses needs to be power of 2
  2. BThe mask needs to be include in the address to define the block
  3. CThe starting address must be divisible by the number of addresses in the block
  4. DAll of the above
Show answerHide answer

Correct answer: (D) All of the above

Explanation

In class addressing : (1) the number of addresses needs to be power of 2 (2) The mask needs to be included in the address to define the block (3) The starting address must be divisible by the number of addresses in block So answer is (d)

Q29UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Which of the following statement is incorrect for parallel virtual machine (PVM)?
  1. AThe PVM communication model asynchronous blocking send, asynchronous blocking receive, and non-blocking receive function.
  2. BMessage buffers are allocated dynamically
  3. CThe PVM communication model assumes that any task can send a message to any other PVM task and that there is no limit to the size or number of such messages
  4. DIn PVM model, the message order is not preserved.
Show answerHide answer

Correct answer: (D) In PVM model, the message order is not preserved.

Explanation

PVM provides fault tolerance through dynamic addition and deletion of hosts/processes, and message buffers are allocated dynamically. PVM guarantees that message order between any pair of tasks is preserved, so statement (d) is incorrect.

Q30UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Which of the following protocols is an application layer protocol that establish, manages and terminates multimedia sessions?
  1. ASession maintenance protocol
  2. BReal – time streaming protocol
  3. CReal – time transport control protocol
  4. DSession Initiation protocol
Show answerHide answer

Correct answer: (D) Session Initiation protocol

Explanation

Session initiation protocol is an application layer control protocol that can establish, modify & terminate multimedia sessions such as internet telephony calls.

Q31UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Match the following port numbers with their uses : List - I (A) 23 (B) 25 (C) 80 (D) 119 List - II (i) World wide web (ii) Remote login (iii) USENET news (iv) E-mail Codes : A B C D
  1. A(iv) (i) (ii) (iii)
  2. B(ii) (i) (iv) (iii)
  3. C(ii) (iv) (iii) (i)
  4. D(ii) (iv) (i) (iii)
Show answerHide answer

Correct answer: (D) (ii) (iv) (i) (iii)

Explanation

23 port number is (TELNET) that uses by remote login 25 port number is (SMTP) that uses by E-mail 80 port number is (HTTP) that uses by world wide web 119 port number is used by USENET news

Q32UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
What is the size of the 'total length' in IPv4 datagram?
  1. A4 bits
  2. B8 bits
  3. C16 bits
  4. D32 bits
Show answerHide answer

Correct answer: (C) 16 bits

Explanation

Total length 16 bit field define the entire packet size in IPv4, including header and data, in bytes. The minimum length packet is 20 bytes (20 byte header. + 0 byte data) and maximum is 65, 535 bytes the maximum value of a 16 bit word.

Q33UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Which process model is also called as classic life cycle model?
  1. AWaterfall model
  2. BRAD model
  3. CPrototyping model
  4. DIncremental model
Show answerHide answer

Correct answer: (A) Waterfall model

Explanation

The waterfall model was first process model to be introduce. • It is also referred as linear sequential life cycle model • It is very simple to understand and use. In this each phase must be complicated fully before the next phase can begin. • In this model the testing stands only after the development is complete • In this model phases do not overlap

Q34UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Match the following : List - I (A) Size-oriented metrics (B) Function-oriented metrics (C) Extended function point metrics (D) Function point List - II (i) Uses number of external interfaces as one of the measurement parameter (ii) Originally designed to be applied to business information system (iii) Derived by normalizing quality and/or productivity measures by considering the size of the software (iv) uses algorithm characteristics as one of the measurement parameter Codes : A B C D
  1. A(iii) (iv) (i) (ii)
  2. B(ii) (i) (iv) (iii)
  3. C(iv) (ii) (iii) (i)
  4. D(iii) (i) (iv) (ii)
Show answerHide answer

Correct answer: (D) (iii) (i) (iv) (ii)

Explanation

(a) Size oriented metrics is directly implied with (iii) (b) Function oriented metrics is number of user inputs, number of user outputs, number of files, number of external interfaces. So it satisfies (i) (c) Extended function point metrics is a superset of the function point measure that can be applied to system. It uses algorithm characteristics as one of the measurement parameter. (d) Function point is a "unit of measurement" to express the amount of business functionality an information provides to a user.

Q35UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Which one from the following is highly associated activity of project planning?
  1. AKeep track of the project progress
  2. BCompare actual and planned progress and costs
  3. CIdentify the activities, milestones and deliverables produced by a project
  4. DBoth (b) and (c)
Show answerHide answer

Correct answer: (C) Identify the activities, milestones and deliverables produced by a project

Explanation

Project planning means identifying the activities, milestones and deliverables produced by a project. It is commonly perceived as creating a Gantt chart, which is incorrect; a Gantt chart is merely a visual representation of the project schedule.

Q36UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Cohesion is an extension of :
  1. AAbstraction concept
  2. BRefinement concept
  3. CInformation hiding concept
  4. DModularity
Show answerHide answer

Correct answer: (C) Information hiding concept

Explanation

A cohesion module performs a single task within a software procedure, requiring little interaction with little procedures in other parts of software. Type of cohesion : • A module that performs takes that are related logically is logically cohesion • When a module contains takes that are related by the fact that all must be executed with the same span of time, the exhibits temporal cohesion • At the low end of the spectrum, a module that performs a set of takes that relate to each other loosely called coincidentally cohesive.

Q37UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
In which testing strategy requirements established during requirements analysis are validated against developed software?
  1. AValidation testing
  2. BIntegration testing
  3. CRegression testing
  4. DSystem testing
Show answerHide answer

Correct answer: (A) Validation testing

Explanation

Validation is "Are we building the right product? According to the capability maturity model Software validation : The process of evaluating software during or at the end of the development process to determine whether it satisfies specified requirements.

Q38UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
When the inheritance is private, the private methods in base class are _______ in the derived class (in C++).
  1. AInaccessible
  2. BAccessible
  3. CProtected
  4. DPublic
Show answerHide answer

Correct answer: (A) Inaccessible

Explanation

Inaccessible in the derived class, only public or protected members are inherited So answer is (a)

Q39UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Which of the following in C++, is inherited in a derived class from base class?
  1. AConstructor
  2. BDestructor
  3. CData Members
  4. DVirtual Methods
Show answerHide answer

Correct answer: (C) Data Members

Explanation

Data members in C++ is inherited in a derived class from base class. Constructor is a member function of a class which initialize objects of a class. In C++, constructor is automatically called when object create. It is special member function of the class. Destructor is a member function which destructs or deletes an object. Virtual methods is a method which is redefined (over- ridden) in derived class.

Q40UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Which of the following is incorrect in C++?
  1. AWhen we write overloaded function we must code the function for each usage
  2. BWhen we write function template we code the function only once
  3. CIt is difficult to debug macros
  4. DTemplates are more efficient than macros
Show answerHide answer

Correct answer: (D) Templates are more efficient than macros

Explanation

The first three statements are correct; the fourth is incorrect. Templates are more powerful and obey C++ syntactic rules, whereas macros do not, but templates take more compilation time and code size, so templates are not more efficient than macros.

Paper III 37 questions

Q41UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions) · Paper III
For the 8-bit word 00111001, the check bits stored with it would be 0111. Suppose when the word is read from memory, the check bits are calculated to be 1101. What is the data word that was read from memory?
  1. A10011001
  2. B00011001
  3. C00111000
  4. D11000110
Show answerHide answer

Correct answer: (B) 00011001

Explanation

Data bits: d₈ = 0, d₇ = 0, d₆ = 1, d₅ = 1, d₄ = 1, d₃ = 0, d₂ = 0, d₁ = 1. Stored check bits p₈p₄p₂p₁ = 0111. Codeword layout (positions 12 to 1): d₈ d₇ d₆ d₅ p₈ d₄ d₃ d₂ p₄ d₁ p₂ p₁. Syndrome = 0111 XOR 1101 = 1010 = 10, so bit position 10, which holds d₆, is in error. Flipping d₆ gives the word that was read: 00011001.

Q42UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions) · Paper III
The equivalent hexadecimal notation for octal number 2550276 is :
  1. AFADED
  2. BAE0BE
  3. CAD0BE
  4. DACABE
Show answerHide answer

Correct answer: (C) AD0BE

Explanation

Given octal No. is (2550276)₈ = (010 101 101 000 010 111 110)₂ ⇒ (01 010 1101 0000 1011 1110)₂ ⇒ (0AD0BE)₁₆ (AD0BE)₁₆

Q43UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions) · Paper III
The number of flip-flops required to design a modulo – 272 counter is :
  1. A8
  2. B9
  3. C27
  4. D11
Show answerHide answer

Correct answer: (B) 9

Explanation

Remember with 'n' number of flip-flop you can get upto maximum modulo - (2ⁿ) counter. Since 2⁹ = 512 > 272 it can satisfy the condition.

Q44UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions) · Paper III
Consider a 32-bit microprocessor, with a 16 - bit external data bus, driven by an 8 MHz input clock. Assume that this microprocessor has a bus cycle whose minimum duration equals four input clock cycles. What is the maximum data transfer rate for this microprocessor?
  1. A8 × 10⁶ bytes/sec
  2. B4 × 10⁶ bytes/sec
  3. C16 × 10⁶ bytes/sec
  4. D4 × 10⁹ bytes/sec
Show answerHide answer

Correct answer: (B) 4 × 10⁶ bytes/sec

Explanation

Since minimum bus cycle duration = 4 clock cycle bus clock = 8 MHZ then, maximum bus cycle rate = 8 m/4sec = 2m/sec Data transferred per bus cycle = 16 bit = 2 B Data transfer rate per second = bus cycle rate × data per bus cycle = 2 M × 2 = 4 × 10⁶ bytes/sec So, option (b) is correct.

Q45UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions) · Paper III
The CPU a system having 1 MIPS execution needs 4 machine cycles on an average for executing an instruction. The fifty percent of the cycles use memory bus. A memory read/write employs one machine cycle. For execution of the programs, the system utilizes 90 percent of the CPU time. For block data transfer, an IO device in attached to the system while CPU executes the background programs continuously. What is the maximum I/O data transfer rate if programmed I/O data transfer technique is used?
  1. A500 Kbytes/sec
  2. B2.2 Mbytes/sec
  3. C125Kbytes/sec
  4. D250 Kbytes/sec
Show answerHide answer

Correct answer: (D) 250 Kbytes/sec

Explanation

CPU speed is 1 MIPS = 10⁶ instructions per second. With programmed I/O, each byte transferred needs about one instruction-equivalent of 4 machine cycles (status check, branch, read/write data), so the maximum transfer rate = 10⁶ / 4 = 250,000 bytes/sec = 250 Kbytes/sec.

Q46UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions) · Paper III
In the indexed scheme of blocks to a file, the maximum possible size of the file depends on :
  1. AThe number of blocks used for index and the size of index
  2. BSize of Block and size of Address
  3. CSize of index
  4. DSize of Block
Show answerHide answer

Correct answer: (B) Size of Block and size of Address

Explanation

Number of pointers that can be stored in the index block – which depends on the size of the index block and the size of each address. Size of each data block – because each pointer points to a block, so the larger the block size, the more data each pointer represents.

Q47UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions) · Paper III
An all-pairs shortest-paths problem is efficiently solved using :
  1. ADijkstra' algorithm
  2. BBellman-Ford algorithm
  3. CKruskal algorithm
  4. DFloyd-Warshall algorithm
Show answerHide answer

Correct answer: (D) Floyd-Warshall algorithm

Explanation

The Floyd-Warshall algorithm solves the all-pairs shortest-paths problem efficiently in O(n³) time using dynamic programming.

Q48UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions) · Paper III
The travelling salesman problem can be solved in :
  1. APolynomial time using dynamic programming algorithm
  2. BPolynomial time using branch-and-bound algorithm
  3. CExponential time using dynamic programming algorithm or branch-and-bound algorithm
  4. DPolynomial time using backtracking algorithm
Show answerHide answer

Correct answer: (C) Exponential time using dynamic programming algorithm or branch-and-bound algorithm

Explanation

It will be solved by using branch and bound technique. The travelling salesman problem is NP- complete problem. It can also be solved by- one of the earliest application of dynamic programming is the Held-Karp algorithm to solve TSP in time O(n².2ⁿ).

Q49UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions) · Paper III
Which of the following statements is true for branch - and - bound search?
  1. AUnderestimates of remaining distance may cause deviation from optimal path
  2. BOverestimates can't cause right path to be overlooked.
  3. CDynamic programming principle can be used to discard redundant partial paths.
  4. DAll of the above
Show answerHide answer

Correct answer: (C) Dynamic programming principle can be used to discard redundant partial paths.

Explanation

Branch and bound is an algorithm design paradigm for discrete and combinatorial optimization problems; it systematically enumerates candidate solutions by state space search. In branch and bound, the dynamic programming principle can be used to discard redundant partial paths.

Q50UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions) · Paper III
Module design is used to maximize cohesion and minimize coupling. Which of the following is the key to implement this rule?
  1. AInheritance
  2. BPolymorphism
  3. CEncapsulation
  4. DAbstraction
Show answerHide answer

Correct answer: (C) Encapsulation

Explanation

The golden rule in module design is to maximize cohesion and minimize coupling. Encapsulation is the key to implementing this rule.

Q51UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions) · Paper III
In Java , when we implement an interface method, it must be declared as :
  1. APrivate
  2. BProtected
  3. CPublic
  4. DFriend
Show answerHide answer

Correct answer: (C) Public

Explanation

Interface: It is used to provide total abstraction. That means all the methods in interface are declared with empty body and are public and all fields are public, static and final default.

Q52UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions) · Paper III
Which one of the following is correct?
  1. AJava applets can be written in any programming language
  2. BAn applet is not a small program
  3. CAn applet can be run on its own
  4. DApplets are embedded in another applications
Show answerHide answer

Correct answer: (D) Applets are embedded in another applications

Explanation

An applet is a small program that is intended not to be run on its own, but rather to be embedded inside-another application.

Q53UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions) · Paper III
Which of the following statements is not true for multi level feedback queue processor scheduling algorithm?
  1. AQueues have different priorities
  2. BEach queue may have different scheduling algorithm
  3. CProcesses are permanently assigned to a queue
  4. DThis algorithm can be configured to match a specific system under design
Show answerHide answer

Correct answer: (C) Processes are permanently assigned to a queue

Explanation

Processes are not permanently assigned to a queue they can vary between queues as their priorities change

Q54UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions) · Paper III
What is the most appropriate function of Memory management Unit (MMU)?
  1. AIt is an associative memory to store TLB
  2. BIt is a technique of supporting multiprogramming by creating dynamic partitions
  3. CIt is a chip to map virtual address to physical address
  4. DIt is an algorithm to allocate and deallocate main memory to a process
Show answerHide answer

Correct answer: (C) It is a chip to map virtual address to physical address

Explanation

Memory management unit (MMU), sometimes called paged memory management unit (PMMU), is a computer hardware unit having all memory references passing through itself, primarily performing the translation of virtual memory addresses to physical addresses. It is usually implemented as part of the central processing unit (CPU), but it also can be in the form of a separate integrated circuit. So we can say it is a chip to map virtual address to physical address

Q55UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions) · Paper III
In _____ allocation method for disk block allocation in a file system, insertion and deletion of blocks in a file is easy.
  1. AIndex
  2. BLinked
  3. CContiguous
  4. DBit Map
Show answerHide answer

Correct answer: (B) Linked

Explanation

Just like linked list where insertion, deletion of blocks is easy. In linked allocation only pointer needs to be changed. In linked allocation each file is a linked list of disk blocks. The directory contains a pointer to the first block of the file, for example, a file of 5 blocks which starts at block 4, might continuous at block 7, then block 16, block 10, 8 finally block 27. Each block constrains a pointer to the next block & the last block contains a NIL-pointer. The value-1 may be used for NIL to differential it from block 0.

Q56UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions) · Paper III
WOW32 is a :
  1. AWin 32 API library for creating processes and threads
  2. BSpecial kind of file system to the NT name space
  3. CKernel - mode objects accessible through Win 32 API
  4. DSpecial execution environment used to run 16 bit Window applications on 32-bit machines
Show answerHide answer

Correct answer: (D) Special execution environment used to run 16 bit Window applications on 32-bit machines

Explanation

Wow 32 is a running environment used in windows to run 16 bit windows application on a 32 bit machine

Q57UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions) · Paper III
The Unix command : $ vi file1 file2
  1. AEdits file1 and stores the contents of file1 in file2
  2. BBoth files i.e. file1 and file2 can be edited using 'ex' command to travel between the files
  3. CBoth files can be edited using 'mv' command to move between the files
  4. DEdits file1 first, saves it and then edits file2
Show answerHide answer

Correct answer: (B) Both files i.e. file1 and file2 can be edited using 'ex' command to travel between the files

Explanation

You can edit more than one file at a time with vi. vi file1 file2 vi two (or more) files at the same time.

Q58UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions) · Paper III
A Unix file may be of the type :
  1. ARegular file
  2. BDirectory file
  3. CDevice file
  4. DAny one of the above
Show answerHide answer

Correct answer: (D) Any one of the above

Explanation

A Unix file may be of any of the type like regular file, directory file, or device file.

Q59UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions) · Paper III
Let E₁ and E₂ be two entities in E-R diagram with simple single valued attributes. R₁ and R₂ are two relationships between E₁ and E₂ where R₁ is one - many and R₂ is many - many. R₁ and R₂ do not have any attribute of their own. How minimum number of tables are required to represent this situation in the Relational model?
  1. A4
  2. B3
  3. C2
  4. D1
Show answerHide answer

Correct answer: (B) 3

Explanation

One table for each entity : 2 R₁ is one to many (No separate table): 0 R₂ is many to many and requires one separate table: 1 Total number of tables: 3

Q60UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions) · Paper III
The STUDENT information in a university stored in the relation STUDENT (Name, SEX, Marks, DEPT _Name) Consider the following SQL query SELECT DEPT_Name for STUDENT where SEX = 'M' group by DEPT_Name having avg (Marks) > SELECT avg (Marks) STUDENT. It Returns the Name of the Department for which :
  1. AThe average marks of male students is more than the average marks of students in the same Department
  2. BThe average marks of male students is more than the average marks of students in the University
  3. CThe average marks of male students is more than the average marks of male students in the University
  4. DThe average marks of students is more than the average marks of male students in the University
Show answerHide answer

Correct answer: (B) The average marks of male students is more than the average marks of students in the University

Explanation

The average marks of male students is more than the average marks of student in the university.

Q61UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions) · Paper III
Select the 'False' statement from the following statements about Normal forms :
  1. ALossless preserving decomposition into 3NF is always possible
  2. BLossless preserving decomposition into BCNF is always possible
  3. CAny Relation with two attributes is in BCNF
  4. DBCNF is stronger than 3NF
Show answerHide answer

Correct answer: (C) Any Relation with two attributes is in BCNF

Explanation

Note: statement (c) is actually true (every two-attribute relation is in BCNF); the false statement is (b), so the book's key appears wrong. A BCNF decomposition that is both lossless and dependency preserving is not always possible. Example: R(a, b, c) with FDs ab → c and c → b cannot be decomposed into BCNF while preserving ab → c.

Q62UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions) · Paper III
The Relation Vendor Order (V_no, V_ord_no, V_name, Qty_sup, unit_price) is in 2NF because :
  1. ANon_key attribute V_name is dependent on V_no which is part of composite key
  2. BNon_key attribute V_name is dependent on Qty_sup
  3. CKey attribute Qty_sup is dependent on primary_key unit price
  4. DKey attribute V_ord_no is dependent on primary_key unit price
Show answerHide answer

Correct answer: (A) Non_key attribute V_name is dependent on V_no which is part of composite key

Explanation

Option (a) is which it is clearly mentioned that partial dependency exists is against 2NF principle. Question seems incomplete, because there is nothing said about functional dependency.

Q63UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions) · Paper III
Which of the following statement(s) is/are incorrect? (1) Mapping the co-ordinates of the points and lines that form the picture into the appropriate co-ordinates on the device or workstation is known as viewing transformation (2) The right-handed Cartesian co-ordinates system in whose co-ordinates we describe the picture is known as world co-ordinate system (3) The co-ordinate that corresponds to the device or workstation where the image is to be displayed is known as physical device co-ordinate system (4) Left - handed co-ordinate system in which the display area of the virtual display device corresponds to the unit (1 × 1) square whose lower left-hand corner is at the origin of the co-ordinate system, is known as normalized device co-ordinate system
  1. A(1) only
  2. B(1) and (2)
  3. C(3) only
  4. D(4) only
Show answerHide answer

Correct answer: (D) (4) only

Explanation

Normalized device co-ordinates describe positions on a virtual plotting device: the lower left corner is (0,0) and the upper right corner is (1,1). NDC is a right-handed system, not left-handed, so statement (4) is incorrect.

Q64UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions) · Paper III
Which transmission technique guarantees that data packets will be received by the receiver in the same order in which they were sent by the sender?
  1. ABroadcasting
  2. BUnicasting
  3. CPacket switching
  4. DCircuit switching
Show answerHide answer

Correct answer: (D) Circuit switching

Explanation

Circuit switching transmission technique guarantees the data packets will be received by the receiver in the same order in which they were sent by the sender because path is fixed and all packet goes through that path in same order.

Q65UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions) · Paper III
A message "COMPUTER NETWORK" encrypted (ignore quotes) using columnar transposition cipher with a key "LAYER". The encrypted message is :
  1. ACTTOEWMROPNRUEK
  2. BMROUEKCTTPNROEW
  3. COEWPNRCTTUEKMRO
  4. DUEKPNRMROOEWCTT
Show answerHide answer

Correct answer: (C) OEWPNRCTTUEKMRO

Explanation

Key LAYER gives column order L = 3, A = 1, Y = 5, E = 2, R = 4. Writing the message row-wise: C O M P U T E R N E T W O R K Reading columns in order 1 (A), 2 (E), 3 (L), 4 (R), 5 (Y): OEW PNR CTT UEK MRO. Encrypted message: OEWPNRCTTUEKMRO.

Q66UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions) · Paper III
Which of the following control fields in TCP header is used to specify whether the sender has no more data to transmit?
  1. AFIN
  2. BRST
  3. CSYN
  4. DPSH
Show answerHide answer

Correct answer: (A) FIN

Explanation

FIN control fields in TCP header is used to specify whether the sender has no more data to transmit i.e., close the connection from sender side.

Q67UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions) · Paper III
Which are the two modes of IP security?
  1. ATransport and certificate
  2. BTransport and tunnel
  3. CCertificate and tunnel
  4. DPreshared and transport
Show answerHide answer

Correct answer: (B) Transport and tunnel

Explanation

Transport mode:- IP header, IPSec, headers IP payload. Tunnel Mode:- New IP header, IPSec, headers, old IP header, IP payload. IP Sec can be implemented in a host-to-host transport mode, as well as in network tunning mode.

Q68UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions) · Paper III
The maximum payload of a TCP segment is :
  1. A65, 535
  2. B65, 515
  3. C65, 495
  4. D65, 475
Show answerHide answer

Correct answer: (C) 65, 495

Explanation

The maximum payload of TCP segment is 65, 495 bytes. Because maximum IP packet is 65, 535 bytes out of which 20 is used for header. TCP header is 20 bytes. So, 2¹⁶ – 20 – 20 = 65535 – 40 = 65495 bytes left for TCP.

Q69UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions) · Paper III
Which design metric is used to measure the compactness of the program in terms of lines of codes ?
  1. AConsistency
  2. BConciseness
  3. CEfficiency
  4. DAccuracy
Show answerHide answer

Correct answer: (A) Consistency

Explanation

Note: the metric that measures compactness of a program in lines of code is conciseness, so option (b) appears correct; the book keys (a). Consistency is the use of uniform design and documentation techniques throughout the software development project.

Q70UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions) · Paper III
Requirements prioritization and negotiation belongs to :
  1. ARequirements validation
  2. BRequirements elicitation
  3. CFeasibility study
  4. DRequirements reviews
Show answerHide answer

Correct answer: (B) Requirements elicitation

Explanation

Elicitation is the process of gathering, understanding and documenting requirement. Prioritization and negotiation are key activities within the elicitation process to ensure a feasible and well defined set of requirements for the project. Requirements Validation– This is the process of checking if the gathered requirements are correct, complete and consistent. Feasibility study– This is an assessment of whether a project is viable and achievable, considering factors like cost, resources and technology. Requirements Reviews– These are formal assessments of the requirements documentation, typically conducted by stakeholders and experts, to identify potential issues and ensure quality.

Q71UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions) · Paper III
A software design is highly modular if :
  1. ACohesion is functional and coupling is data type
  2. BCohesion is coincidental and coupling is data type
  3. CCohesion is sequential and coupling is content type
  4. DCohesion is functional and coupling is stamp type
Show answerHide answer

Correct answer: (A) Cohesion is functional and coupling is data type

Explanation

We know our aim is to maximize cohesion & minimum coupling Strong form of cohesion is functional cohesion weakest form of coupling is data coupling.

Q72UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions) · Paper III
Adaptive maintenance is a maintenance which ______
  1. ACorrect errors that were not discovered till testing phase
  2. BIs carried out to port the existing software to a new environment
  3. CImproves the system performance
  4. DBoth (b) and (c)
Show answerHide answer

Correct answer: (B) Is carried out to port the existing software to a new environment

Explanation

Adaptive maintenance is a modification of a software product performed after delivery to keep it usable in a changed or changing environment, e.g. porting the existing software to a new environment.

Q73UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions) · Paper III
In XML we can specify the frequency of an element by using the symbols :
  1. A+ * !
  2. B# * !
  3. C+ * ?
  4. D– * ?
Show answerHide answer

Correct answer: (C) + * ?

Explanation

In an XML DTD, + means one or more times, * means zero or more times and ? means zero or one time.

Q74UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions) · Paper III
In XML, DOCTYPE declaration specifies to include a reference to _____file.
  1. ADocument type Definition
  2. BDocument type declaration
  3. CDocument transfer definition
  4. DDocument type language
Show answerHide answer

Correct answer: (A) Document type Definition

Explanation

In XML, DOCTYPE declaration can be used to define special characters & character string used in the document & it include a reference of document type definition file

Q75UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions) · Paper III
A Design concept refinement is a :
  1. ATop-down approach
  2. BComplementary of abstraction concept
  3. CProcess of elaboration
  4. DAll of the above
Show answerHide answer

Correct answer: (D) All of the above

Explanation

Refinement is surly a top down approach as we are extracting a particular type like person entity to s/w engineer. Refinement, process of elaboration, start with the statement of function defined at the abstract level, decompose the statement function in a step wise fashion until programming language statements are reached.

Q76UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions) · Paper III
The redundancy in images stems from :
  1. APixel decorrelation
  2. BPixel correlation
  3. CPixel quantization
  4. DImage size
Show answerHide answer

Correct answer: (B) Pixel correlation

Explanation

The redundancy in images stems from pixel correlation. If the image is transformed to a representation where the pixels are decorrelated, the redundancy is eliminated and the image can be compressed.

Q77UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions) · Paper III
Which of the following is false for the programming language PROLOG?
  1. AA PROLOG variable can only be assigned to a value once
  2. BPROLOG is a strongly typed language
  3. CThe scope of a variable in PROLOG is a single clause or rule
  4. DThe scope of a variable in PROLOG is a single query
Show answerHide answer

Correct answer: (B) PROLOG is a strongly typed language

Explanation

Since prolog is a dynamically typed language. Which is to say that programs are not checked for type errors until run time.

Practise it as a real test

Reading answers is not the same as solving under time pressure. Attempt UGC NET Computer Science PYQ, June 2015 (Paper II & III, Selected Questions) online with the real 135-minute timer and marking scheme to get your score and all-India rank, or browse the other tests in the UGC NET Computer Science Previous Year Papers & Mock Test.