All mock tests are FREE till 31 December — register to save your progress
UGC NET · PAPER 2

UGC NET Paper 2 Computer Science – September 2022 – Question Paper with Answer Key

100 questions · answer key at the end · updated 26 Oct 2026

Solved by The Binary Brothers: every question has the correct answer and an explanation. Open any question for its full solution, or practice it in the unit-wise mock tests.

Q1. In a knowledge base, a rule is defined as (P1 and P2) or P3 → R1 (0.8) and R2 (0.3), where P1, P2, P3 are premises and R1, R2 are conclusions of the rule with certainty factors (CF) 0.8 and 0.3 respectively. If a running program has produced P1, P2, P3 with CF 0.5, 0.8 and 0.2 respectively, find the CF of the results on the basis of the premises.
  1. CF(R1) = 0.8, CF(R2) = 0.3
  2. CF(R1) = 0.40, CF(R2) = 0.15
  3. CF(R1) = 0.15, CF(R2) = 0.35
  4. CF(R1) = 0.8, CF(R2) = 0.35
Answer & explanation →
Q2. There are three boxes. The first box has 2 white, 3 black and 4 red balls. The second box has 3 white, 2 black and 2 red balls. The third box has 4 white, 1 black and 3 red balls. A box is chosen at random and 2 balls are drawn, of which 1 is white and 1 is red. What is the probability that the balls came from the first box?
  1. 0.237
  2. 0.723
  3. 0.18
  4. 0.452
Answer & explanation →
Q3.

Consider a memory system with addresses spaced at a distance m, bank cycle time T and n banks. The average data access time per word in synchronous organization is

  1. t = m·T/n for m << n; T for m >> n
  2. t = T/n for m << n; T for m >> n
  3. t = m·T for m << n; T for m >> n
  4. t = m·T for m << n; m/T for m >> n
Answer & explanation →
Q4.

For a multiprocessor system, an interconnection network such as a crossbar switch is an example of

  1. Non-blocking network
  2. Blocking network
  3. Network that varies from connection to connection
  4. Recurrent network
Answer & explanation →
Q5. The representation of the 4-bit code 1101 as a 7-bit even-parity Hamming code is
  1. 1010101
  2. 1111001
  3. 1011101
  4. 1110000
Answer & explanation →
Q6. The number of gate inputs required to realise the expression ABC + AB′CD + EF′ + AD is
  1. 12
  2. 13
  3. 14
  4. 15
Answer & explanation →
Q7. Consider a logic circuit with 8 input lines (D0, D1, …, D7) and 3 output lines (A0, A1, A2) specified by:
A2 = D4 + D5 + D6 + D7
A1 = D2 + D3 + D6 + D7
A0 = D1 + D3 + D5 + D0
where + is logical OR. This circuit is a(n)
  1. 3 × 8 multiplexer
  2. Decimal to BCD converter
  3. Octal to binary encoder
  4. Priority encoder
Answer & explanation →
Q8. The total storage capacity of a floppy disk having 80 tracks and storing 128 bytes/sector is 163,840 bytes. How many sectors does this disk have (per track)?
  1. 27
  2. 2048
  3. 4K
  4. 16
Answer & explanation →
Q9. In a cache memory, if the address has 9 bits in the tag field and 12 bits in the index field, the sizes of main memory and cache memory would be, respectively,
  1. 2K, 4K
  2. 1024K, 2K
  3. 4K, 2048K
  4. 2048K, 4K
Answer & explanation →
Q10.

Consider the primal problem: maximize z = 5x1 + 12x2 + 4x3 subject to x1 + 2x2 + x3 = 10, 2x1 − x2 + 3x3 = 8, x1, x2, x3 ≥ 0. Its dual is: minimize w = 10y1 + 8y2 subject to y1 + 2y2 ≥ 5, 2y1 − y2 ≥ 12, y1 + 3y2 ≥ 4. Which of the following is correct?

  1. y1 ≥ 0, y2 unrestricted
  2. y1 ≥ 0, y2 ≥ 0
  3. y1 unrestricted, y2 ≥ 0
  4. y1 unrestricted, y2 restricted
Answer & explanation →
Q11. The logic expression (P′ ∧ Q) ∨ (P ∧ Q′) ∨ (P ∧ Q) is equivalent to
  1. P′ ∨ Q
  2. P ∨ Q′
  3. P ∨ Q
  4. P′ ∨ Q′
Answer & explanation →
Q12.

The reduced grammar equivalent to S → AB | CA, B → BC | AB, A → a, C → aB | b is

  1. S → CA, A → a, C → b
  2. S → CA | B, B → BC | B, A → a, C → aB | b
  3. S → CA | B, B → BC, A → a, C → aB | b
  4. S → AB | AC, B → BC | BA, A → a, C → aB | b
Answer & explanation →
Q13.

Consider the grammar G: S → AbB, A → aAb | λ, B → bB | λ. Which language does G generate?

  1. {aⁿbᵐ : n ≥ 0, m > n}
  2. {aⁿbᵐ : n ≥ 0, m ≥ 0}
  3. {aⁿbᵐ : n ≥ m}
  4. {aⁿbᵐ : n ≥ m, m > 0}
Answer & explanation →
Q14. Consider the language L = {anbm : n ≥ 4, m ≤ 3}. Which regular expression represents L?
  1. aaaa*(λ + b + bb + bbb)
  2. aaaaa*(b + bb + bbb)
  3. aaaaa*(λ + b + bb + bbb)
  4. aaaa*(b + bb + bbb)
Answer & explanation →
Q15.

Consider L = {ab, aa, baa}. Which string is NOT in L*?

  1. baaaabaaaaa
  2. abaabaaabaa
  3. aaaabaaaa
  4. baaaaabaa
Answer & explanation →
Q16.

Consider the NPDA ({q0, q1, qf}, {a, b}, {1, z}, δ, q0, z, {qf}) with δ(q0, λ, z) = {(qf, z)}, δ(q0, a, z) = {(q1, 11z)}, δ(q1, a, 1) = {(q1, 111)}, δ(q1, b, 1) = {(q1, λ)}, δ(q1, λ, z) = {(qf, z)}. Which language does it accept?

  1. {a²ⁿbⁿ : n ≥ 0}
  2. {aⁿb²ⁿ : n ≥ 0}
  3. {a²ⁿbⁿ : n > 0}
  4. {aⁿb²ⁿ : n > 0}
Answer & explanation →
Q17.

The hidden surface removal problem with a minimal 3D pipeline can be solved with

  1. Painter's algorithm
  2. Window clipping algorithm
  3. Brute force rasterization algorithm
  4. Flood fill algorithm
Answer & explanation →
Q18.

Using RSA with p = 13, q = 5 and e = 7, the value of d and the cipher value of '6' with key (e, n) are

  1. 7, 4
  2. 7, 1
  3. 7, 46
  4. 55, 1
Answer & explanation →
Q19. The condition num != 65 cannot be replaced by
  1. num > 65 || num < 65
  2. !(num == 65)
  3. num − 65
  4. !(num − 65)
Answer & explanation →
Q20. Pointers cannot be used to
  1. find the address of a variable in memory
  2. reference a value directly
  3. simulate call by reference
  4. manipulate dynamic data structures
Answer & explanation →
Q21. Which mechanism in XML allows organisations to specify globally unique names as element tags in documents?
  1. root
  2. header
  3. schema
  4. namespace
Answer & explanation →
Q22. If an operating system does not allow a child process to exist when the parent process has been terminated, this phenomenon is called:
  1. Threading
  2. Cascading termination
  3. Zombie termination
  4. Process killing
Answer & explanation →
Q23.

What is called journalling in the Linux operating system?

  1. Process scheduling
  2. File saving as transaction
  3. A type of thread
  4. An editor
Answer & explanation →
Q24.

The transformation [x̄ ȳ z̄ w̄]ᵀ = [a1 b1 c1 d1; a2 b2 c2 d2; a3 b3 c3 d3; e f g h] · [x y z 1]ᵀ is called

  1. Scaling
  2. Shear
  3. Homography
  4. Steganography
Answer & explanation →
Q25. RAD software process model stands for
  1. Rapid Application Development
  2. Relative application development
  3. Rapid application design
  4. Recent application development
Answer & explanation →
Q26. If every requirement can be checked by a cost-effective process, then the SRS is called
  1. Verifiable
  2. Traceable
  3. Modifiable
  4. Complete
Answer & explanation →
Q27. A fault-based testing technique is
  1. Unit testing
  2. Beta testing
  3. Stress testing
  4. Mutation testing
Answer & explanation →
Q28. Alpha and beta testing are forms of
  1. White-box testing
  2. Black-box testing
  3. Acceptance testing
  4. System testing
Answer & explanation →
Q29. The process to gather the software requirement from client, analyze and document is known as
  1. Software Engineering Process
  2. User Engineering Process
  3. Requirement Elicitation Process
  4. Requirement Engineering Process
Answer & explanation →
Q30. Size and complexity are a part of
  1. People Metrics
  2. Project Metrics
  3. Process Metrics
  4. Product Metrics
Answer & explanation →

Directions (Q31–35): Consider the relational schema of Sailors S, Reserves R and Boats B.

Table 1: Sailors

SidSnameRatingAge
22Dustin745.0
29Brutus133.0
31Lubber855.5
32Andy825.5
58Rusty1035.5
64Horatio735.5
71Zorba1016.0
74Horatio935.0
85Art325.5
95Bob363.5

Table 2: Reserves

SidBidDay
2210110/10/98
2210210/10/98
2210310/8/98
2210410/7/98
3110211/10/98
3110311/6/98
3110411/12/98
641019/5/98
641029/8/98
741039/8/98

Table 3: Boats

BidBnameColor
101Interlakeblue
102Interlakered
103Clippergreen
104Marinered
Q31. Which relational algebra query computes the sids of sailors with age over 20 who have not reserved a red boat?
  1. πsid(σage>20 Sailors) − πsid((σcolor='red' Boats) ⋈ Reserves ⋈ Sailors)
  2. πsid(σcolor='red' ∧ age=20(Boats ⋈ Sailors ⋈ Reserves))
  3. πsid(σage<20 Sailors) − πsid((σcolor='red' Boats) ⋈ Reserves ⋈ Sailors)
  4. πsid(σage>20 Sailors) ∧ πsid((σcolor='red' Boats) ⋈ Reserves ⋈ Sailors)
Answer & explanation →
Q32. Which query/queries compute the names of sailors who have reserved a red boat?
Q1: πsname((σcolor='red' Boats) ⋈ Reserves ⋈ Sailors)
Q2: πsname(πsid((πbid σcolor='red' Boats) ⋈ Reserves) ⋈ Sailors)
Q3: πsname((σcolor='red' Reserves) ⋈ Boats ⋈ Sailors)
  1. Both Q1 and Q2
  2. Both Q2 and Q3
  3. Only Q1
  4. Only Q2
Answer & explanation →
Q33. Which query/queries compute the names of sailors who have reserved boat 103?
Q1: πsname((σbid=103 Boats) ⋈ Sailors)
Q2: πsname(σbid=103(Reserves ⋈ Sailors))
Q3: πsname((σbid=103 Reserves) ⋈ Sailors)
  1. Both Q1 and Q3
  2. Both Q2 and Q3
  3. Only Q3
  4. Only Q2
Answer & explanation →

Directions (Q31–35): Sailors S(sid, sname, rating, age): (22, Dustin, 7, 45), (29, Brutus, 1, 33), (31, Lubber, 8, 55.5), (32, Andy, 8, 25.5), (58, Rusty, 10, 35), (64, Horatio, 7, 35), (71, Zorba, 10, 16), (74, Horatio, 9, 35), (85, Art, 3, 25.5), (95, Bob, 3, 63.5). Reserves R(sid, bid, day): (22, 101), (22, 102), (22, 103), (22, 104), (31, 102), (31, 103), (31, 104), (64, 101), (64, 102), (74, 103). Boats B(bid, bname, color): (101, Interlake, blue), (102, Interlake, red), (103, Clipper, green), (104, Marine, red).

Q34.

Which relational algebra query computes the names of sailors who have reserved all boats?

  1. ρ(Tempsids, π_bid Reserves / π_bid Boats); π_sname(Tempsids ⋈ Sailors)
  2. ρ(Tempsids, π_sid,bid Reserves / π_bid Boats); π_sname(Tempsids ⋈ Sailors)
  3. ρ(Tempsids, π_sid Sailors / π_bid Boats); π_sname(Tempsids ⋈ Sailors)
  4. ρ(Tempsids, π_sid Reserves / π_bid Boats); π_sname(Tempsids ⋈ Boats)
Answer & explanation →
Q35.

Which relational algebra query computes the names of sailors who have reserved a red and a green boat?

  1. ρ(Tempred, π_sid((σ_color='red' Boats) ⋈ Reserves)); ρ(Tempgreen, π_sid((σ_color='green' Boats) ⋈ Reserves)); π_sname((Tempred ∩ Tempgreen) ⋈ Sailors)
  2. ρ(Tempboats2, (σ_color='red' Boats) ∩ (σ_color='green' Boats)); π_sname(Tempboats2 ⋈ Reserves)
  3. π_sname((σ_color='red' Boats) ∩ (σ_color='green' Boats) ⋈ Sailors ⋈ Reserves)
  4. ρ(Tempboats2, σ_color='red' ∧ color='green' Boats); π_sname(Tempboats2 ⋈ Sailors)
Answer & explanation →

Directions (Q36–40): A 3000 km long trunk operates at 1.536 Mbps and is used to transmit 64-byte frames using a sliding window protocol. The propagation delay is 6 μs/km.

Q36. The transmission and propagation delays are respectively
  1. Tt = 333.33 μs, Tp = 18000 μs
  2. Tt = 300 μs, Tp = 15360 μs
  3. Tt = 33.33 μs, Tp = 1800 μs
  4. Tt = 1800 μs, Tp = 33.33 μs
Answer & explanation →
Q37. The minimum number of bits required in the sequence number field of the packet is
  1. 6 bits
  2. 7 bits
  3. 5 bits
  4. 4 bits
Answer & explanation →
Q38. The sender window size to get the maximum efficiency is
  1. 108
  2. 109
  3. 55
  4. 56
Answer & explanation →
Q39. If only 6 bits are reserved for the sequence number field, the efficiency of the system is
  1. 0.587
  2. 0.875
  3. 0.578
  4. 0.50
Answer & explanation →

Directions (Q36–40): A 3000 km long trunk operates at 1.536 Mbps and transmits 64-byte frames using a sliding window protocol. The propagation speed is 6 μs/km.

Q40.

The maximum achievable throughput is

  1. 0.768
  2. 0.678
  3. 0.901
  4. 0.887
Answer & explanation →
Q41.

Which metrics are derived by normalizing quality and/or productivity measures by the size of the software produced?

  1. Function-oriented metrics
  2. Function-point metrics
  3. Line of code metrics
  4. Size-oriented metrics
Answer & explanation →
Q42.

The model in which the requirements are implemented by category is

  1. Evolutionary development model
  2. Waterfall model
  3. Prototyping model
  4. Iterative enhancement model
Answer & explanation →
Q43. Which of the following is an indirect measure of a product?
  1. Quality
  2. Complexity
  3. Reliability
  4. All of these
Answer & explanation →
Q44.

Modules X and Y operate on the same input and output data. The cohesion is

  1. Logical cohesion
  2. Sequential cohesion
  3. Procedural cohesion
  4. Communicational cohesion
Answer & explanation →
Q45. Which mode is a block-cipher implementation acting as a self-synchronising stream cipher?
  1. Cipher Block Chaining mode
  2. Cipher Feedback mode
  3. Electronic Codebook mode
  4. Output Feedback mode
Answer & explanation →
Q46. Which one is a connectionless transport-layer protocol of the Internet protocol family?
  1. Transmission Control Protocol (TCP)
  2. User Datagram Protocol (UDP)
  3. Routing Protocol (RP)
  4. Datagram Control Protocol (DCP)
Answer & explanation →
Q47. Consider an error-free 64 kbps satellite channel used to send 512-byte data frames in one direction, with very short acknowledgements coming back. What is the maximum throughput for a window size of 15?
  1. 32 kbps
  2. 48 kbps
  3. 64 kbps
  4. 70 kbps
Answer & explanation →
Q48.

A classless address is given as 167.199.170.82/27. The number of addresses in the network is

  1. 64 addresses
  2. 32 addresses
  3. 28 addresses
  4. 30 addresses
Answer & explanation →
Q49. Which layer divides each message into packets at the source and reassembles them at the destination?
  1. Network layer
  2. Transport layer
  3. Data link layer
  4. Physical layer
Answer & explanation →
Q50.

A 4-stage pipeline has stage delays of 150, 120, 160 and 140 ns. The registers between stages have a delay of 5 ns. Assuming a constant clocking rate, the total time required to process 1000 data items on this pipeline is

  1. 160.5 ms
  2. 165.5 ms
  3. 120.5 ms
  4. 590.5 ms
Answer & explanation →
Q51. Which of the following is correct for the destination address 4A:30:10:21:10:1A?
  1. Unicast address
  2. Multicast address
  3. Broadcast address
  4. Unicast and broadcast address
Answer & explanation →
Q52. Assume that f(n), g(n) and h(n) are asymptotically positive. Which of the following is correct?
  1. f(n) = O(g(n)) and g(n) = O(h(n)) ⇒ f(n) = ω(h(n))
  2. f(n) = Ω(g(n)) and g(n) = Ω(h(n)) ⇒ f(n) = O(h(n))
  3. f(n) = o(g(n)) and g(n) = o(h(n)) ⇒ f(n) = o(h(n))
  4. f(n) = ω(g(n)) and g(n) = ω(h(n)) ⇒ f(n) = Ω(h(n))
Answer & explanation →
Q53.

The solution of the recurrence T(n) = 3T(n/4) + n log n is

  1. Θ(n² log n)
  2. Θ(n log n)
  3. Θ((n log n)²)
  4. Θ(log log n)
Answer & explanation →
Q54. The number of nodes of height h in any n-element heap is at most
  1. ⌈n / 2h+1⌉
  2. ⌈n / 2h−1⌉
  3. ⌈n / 2h⌉
  4. ⌈(n − 1) / 2h−1⌉
Answer & explanation →
Q55.

Consider a B-tree of height h and minimum degree t ≥ 2 containing n keys, n ≥ 1. Which is correct?

  1. h ≥ log_t((n + 1)/2)
  2. h ≤ log_t((n + 1)/2)
  3. h ≥ log_t((n − 1)/2)
  4. h ≤ log_t((n − 1)/2)
Answer & explanation →
Q56. Which algorithm design approach is used in the quick sort algorithm?
  1. Dynamic programming
  2. Backtracking
  3. Divide and conquer
  4. Greedy approach
Answer & explanation →
Q57. Consider a hash table of size 11 that uses open addressing with linear probing, with h(k) = k mod 11. Records with keys 43, 36, 92, 87, 11, 47, 11, 13, 14 are inserted into an initially empty table with bins 0–10. What is the index of the bin into which the last record is inserted?
  1. 8
  2. 7
  3. 10
  4. 4
Answer & explanation →
Q58. Consider the traversals of a tree:
Preorder → ABCEIFJDGHKL
Inorder → EICFJBGDKHLA
Which of the following is the correct postorder traversal?
  1. EIFJCKGLHDBA
  2. FCGKLHDBUAE
  3. FCGKLHDBAEIJ
  4. IEJFCGKLHDBA
Answer & explanation →
Q59.

How many rotations are required during the construction of an AVL tree if the elements 35, 50, 40, 25, 30, 60, 78, 20, 28 are added in this sequence?

  1. 2 left rotations, 2 right rotations
  2. 2 left rotations, 3 right rotations
  3. 3 left rotations, 2 right rotations
  4. 3 left rotations, 1 right rotation
Answer & explanation →
Q60.

Match List I with List II. List I: (A) Stack overflow, (B) Timer, (C) Invalid opcode, (D) Supervisor call. List II: (I) Software interrupt, (II) Internal interrupt, (III) External interrupt, (IV) Machine check interrupt.

  1. (A)-(I), (B)-(II), (C)-(III), (D)-(IV)
  2. (A)-(II), (B)-(III), (C)-(I), (D)-(IV)
  3. (A)-(I), (B)-(II), (C)-(IV), (D)-(III)
  4. (A)-(II), (B)-(III), (C)-(IV), (D)-(I)
Answer & explanation →
Q61.

Let R(ABCDEFGH) be a relation schema and F = {A → B, ABCD → E, EF → G, EF → H, ACDF → EG}. The minimal cover of this set of dependencies is

  1. A → B, ACD → E, EF → G and EF → H
  2. A → B, ACD → E, EF → G, EF → H and ACDF → G
  3. A → B, ACD → E, EF → G, EF → H and ACDF → E
  4. A → B, ABCD → E, EF → H and EF → G
Answer & explanation →
Q62.

A trigger is

  1. A statement that enables the DBMS to start
  2. A statement executed by the user when debugging an application program
  3. A condition the system tests for the validity of the database user
  4. A statement that is executed automatically by the system as a side effect of a modification to the database
Answer & explanation →
Q63. For the page reference string 4, 3, 2, 1, 4, 3, 5, 4, 3, 2, 1, 5, the number of page faults with LRU page replacement and 3 frames is
  1. 6
  2. 8
  3. 10
  4. 12
Answer & explanation →
Q64. A magnetic tape drive has a transport speed of 200 inches per second and a recording density of 1600 bytes per inch. The time required to write 600000 characters of data grouped into 100-character records with a blocking factor of 10 is
  1. 1.875 sec
  2. 2.6251 sec
  3. 2.0062 sec
  4. 2.6150 sec
Answer & explanation →
Q65.

Consider two PCP instances over {0, 1}, each with lists A and B of three strings. X: A = (1, 10111, 10), B = (111, 10, 0). Y: A = (10, 011, 101), B = (101, 11, 011). Which is true?

  1. Only PCP in X has a solution
  2. Only PCP in Y has a solution
  3. PCP in both X and Y has a solution
  4. PCP in neither X nor Y has a solution
Answer & explanation →
Q66. Consider the following properties of recursively enumerable sets:
(A) Finiteness
(B) Context-freedom
(C) Emptiness
Which of the following is true?
  1. Only (A) and (B) are not decidable
  2. Only (B) and (C) are not decidable
  3. Only (C) and (A) are not decidable
  4. All of (A), (B) and (C) are not decidable
Answer & explanation →
Q67.

Match List I with List II. List I: (A) Activation record, (B) Location counter, (C) Reference count, (D) Address relocation. List II: (I) Linker/loader, (II) Garbage collection, (III) Subroutine call, (IV) Assembler.

  1. (A)-(III), (B)-(IV), (C)-(II), (D)-(I)
  2. (A)-(IV), (B)-(III), (C)-(I), (D)-(II)
  3. (A)-(IV), (B)-(III), (C)-(II), (D)-(I)
  4. (A)-(II), (B)-(III), (C)-(I), (D)-(IV)
Answer & explanation →
Q68.

Consider the following related to Fourth Generation Techniques (4GT): (A) It controls efforts. (B) It controls resources. (C) It controls cost of development. Choose the correct answer:

  1. (A) and (B) only
  2. (B) and (C) only
  3. (C) and (A) only
  4. All (A), (B) and (C)
Answer & explanation →
Q69.

Consider the grammar S → SbS | a. The string abababa has (A) two parse trees (B) two leftmost derivations (C) two rightmost derivations. Which is correct?

  1. All (A), (B) and (C) are true
  2. Only (B) is true
  3. Only (C) is true
  4. Only (A) is true
Answer & explanation →
Q70. In a game-playing search tree, up to which depth can α–β pruning be applied?
(A) Root (0) level
(B) 6 level
(C) 8 level
(D) Depends on utility value in a breadth-first order
Choose the correct answer from the options given below:
  1. (B) and (C) only
  2. (A) and (B) only
  3. (A), (B) and (C) only
  4. (A) and (D) only
Answer & explanation →
Q71.

Considering α, β, γ as logical variables, which represent correct equivalences? (A) (α ∧ (β ∨ γ)) ≡ ((α ∧ β) ∨ (α ∧ γ)) (B) (α ∨ β) ≡ ¬α ∨ β (C) (α ⇒ β) ≡ (¬β ⇒ ¬α) (D) ¬(α ∨ β) ≡ (¬α ⇒ ¬β)

  1. (A) and (D) only
  2. (B) and (C) only
  3. (A) and (C) only
  4. (B) and (D) only
Answer & explanation →
Q72.

Let ({a, b}, *) be a semigroup where a * a = b. Which hold? (A) a * b = b * a (B) b * b = b

  1. (A) only true
  2. (B) only true
  3. Both (A) and (B) true
  4. Neither (A) nor (B) true
Answer & explanation →
Q73.

For the graph shown, the following depth-first search sequences are given: (A) abcghf (B) abfchg (C) abfhgc (D) afghbc. Which of the following is correct?

Figure
  1. (A), (B) and (D) only
  2. (A), (B), (C) and (D)
  3. (B), (C) and (D) only
  4. (A), (C) and (D) only
Answer & explanation →
Q74.

Let ε = 0.0005 and R_ε be the relation {(x, y) ∈ ℝ² : |x − y| < ε}, interpreted as 'approximately equal'. R_ε is (A) reflexive (B) symmetric (C) transitive.

  1. (A) and (B) only true
  2. (B) and (C) only true
  3. (A) and (C) only true
  4. (A), (B) and (C) true
Answer & explanation →
Q75.

In reference to big data, consider the following databases: (A) Memcached (B) CouchDB (C) InfiniteGraph.

  1. (A) and (B) only
  2. (B) and (C) only
  3. (C) and (A) only
  4. (A), (B) and (C)
Answer & explanation →
Q76.

Match List I with List II. List I: A. BCNF, B. 3NF, C. 2NF, D. 4NF. List II: I. Removes multivalued dependency, II. Not always dependency preserving, III. Removes transitive dependency, IV. Removes partial functional dependency.

  1. (A)-(III), (B)-(II), (C)-(IV), (D)-(I)
  2. (A)-(II), (B)-(IV), (C)-(I), (D)-(III)
  3. (A)-(II), (B)-(III), (C)-(IV), (D)-(I)
  4. (A)-(II), (B)-(I), (C)-(IV), (D)-(III)
Answer & explanation →
Q77.

Match List I with List II. List I: A. Localization, B. Packaging or binding of a collection of items, C. Mechanism that lets a designer focus on the essential details of a component, D. Information hiding. List II: I. Encapsulation, II. Abstraction, III. Characteristic of software indicating how concentrated information is in the program, IV. Suppressing the operational details of a component.

  1. (A)-(I), (B)-(II), (C)-(III), (D)-(IV)
  2. (A)-(II), (B)-(I), (C)-(III), (D)-(IV)
  3. (A)-(III), (B)-(I), (C)-(II), (D)-(IV)
  4. (A)-(III), (B)-(I), (C)-(IV), (D)-(II)
Answer & explanation →
Q78.

Match List I with List II. List I: (A) Type 0, (B) Type 1, (C) Type 2, (D) Type 3. List II: (I) Finite automata, (II) Turing machine, (III) Linear bounded automata, (IV) Pushdown automata.

  1. (A)-(III), (B)-(IV), (C)-(II), (D)-(I)
  2. (A)-(II), (B)-(III), (C)-(IV), (D)-(I)
  3. (A)-(III), (B)-(IV), (C)-(I), (D)-(II)
  4. (A)-(II), (B)-(III), (C)-(II), (D)-(IV)
Answer & explanation →
Q79.

Match List I with List II. List I: (A) Ontological engineering, (B) Taxonomy hierarchy, (C) Inheritance, (D) Probability models. List II: (I) Organizing subclass relations, (II) Organizing knowledge into categories and sub-categories, (III) Attaches a number to each possibility, (IV) Representing concepts, events, time and physical concepts of different domains.

  1. (A)-(II), (B)-(I), (C)-(IV), (D)-(III)
  2. (A)-(I), (B)-(II), (C)-(III), (D)-(IV)
  3. (A)-(IV), (B)-(III), (C)-(I), (D)-(II)
  4. (A)-(IV), (B)-(II), (C)-(I), (D)-(III)
Answer & explanation →
Q80.

Match List I with List II. List I: (A) Least frequently used, (B) Critical section, (C) Loosely coupled multiprocessor system, (D) Distributed operating system. List II: (I) Memory is distributed among processors, (II) Page-replacement policy in cache memory, (III) Program section that, once begun, must complete before another processor accesses the same shared resource, (IV) OS routines are distributed among available processors.

  1. (A)-(III), (B)-(II), (C)-(IV), (D)-(I)
  2. (A)-(I), (B)-(II), (C)-(III), (D)-(IV)
  3. (A)-(II), (B)-(III), (C)-(I), (D)-(IV)
  4. (A)-(II), (B)-(I), (C)-(III), (D)-(IV)
Answer & explanation →
Q81.

Match List I with List II. List I: (A) Firmware, (B) Batch file, (C) Packing, (D) Banker's algorithm. List II: (I) Number of logical records into physical blocks, (II) ASCII format, (III) Resource allocation, (IV) ROM.

  1. (A)-(II), (B)-(I), (C)-(IV), (D)-(III)
  2. (A)-(II), (B)-(I), (C)-(III), (D)-(IV)
  3. (A)-(IV), (B)-(II), (C)-(I), (D)-(III)
  4. (A)-(IV), (B)-(I), (C)-(II), (D)-(III)
Answer & explanation →
Q82.

Match List I with List II. List I: (A) DES, (B) AES, (C) 3DES, (D) RSA. List II: (I) Key size 256, (II) Key size 1024, (III) Key size 56, (IV) Key size 168.

  1. (A)-(I), (B)-(II), (C)-(IV), (D)-(III)
  2. (A)-(III), (B)-(I), (C)-(IV), (D)-(II)
  3. (A)-(III), (B)-(IV), (C)-(II), (D)-(I)
  4. (A)-(IV), (B)-(II), (C)-(III), (D)-(I)
Answer & explanation →
Q83.

Match List I with List II. List I: (A) BIND, (B) LISTEN, (C) ACCEPT, (D) SOCKET. List II: (I) Block the caller until a connection attempt arrives, (II) Give a local address to a socket, (III) Show willingness to accept connections, (IV) Create a new end point.

  1. (A)-(I), (B)-(III), (C)-(II), (D)-(IV)
  2. (A)-(II), (B)-(III), (C)-(I), (D)-(IV)
  3. (A)-(III), (B)-(II), (C)-(I), (D)-(IV)
  4. (A)-(I), (B)-(II), (C)-(III), (D)-(IV)
Answer & explanation →
Q84.

Match List I with List II. List I: (A) Physical layer, (B) Data link layer, (C) Network layer, (D) Presentation layer. List II: (I) Routing of signals, dividing outgoing messages into packets, acting as network controller, (II) Making and breaking connections, defining voltages and data rates, converting bits into electrical signals, (III) Synchronization, error detection and correction, assembling outgoing messages into frames, (IV) Works as a translating layer.

  1. (A)-(IV), (B)-(III), (C)-(II), (D)-(I)
  2. (A)-(II), (B)-(III), (C)-(IV), (D)-(I)
  3. (A)-(IV), (B)-(III), (C)-(I), (D)-(II)
  4. (A)-(II), (B)-(III), (C)-(I), (D)-(IV)
Answer & explanation →
Q85.

Match each algorithm with its running time. (A) Breadth-first search, (B) Rabin–Karp algorithm, (C) Depth-first search, (D) Heap sort (worst case), (E) Quick sort (worst case). Times: (I) Θ(V + E), (II) O(V + E), (III) Θ((n − m + 1)m), (IV) O(n²), (V) O(n log n).

  1. (A)-(III), (B)-(II), (C)-(I), (D)-(IV), (E)-(V)
  2. (A)-(II), (B)-(III), (C)-(I), (D)-(V), (E)-(IV)
  3. (A)-(II), (B)-(III), (C)-(I), (D)-(V), (E)-(IV)
  4. (A)-(III), (B)-(I), (C)-(II), (D)-(IV), (E)-(V)
Answer & explanation →
Q86.

Match List I with List II. List I: (A) Stack algorithm, (B) Elevator algorithm, (C) Priority scheduling algorithm, (D) Havender's algorithm. List II: (I) Deadlock, (II) Disk scheduling, (III) Page replacement, (IV) CPU scheduling.

  1. (A)-(III), (B)-(II), (C)-(IV), (D)-(I)
  2. (A)-(II), (B)-(III), (C)-(IV), (D)-(I)
  3. (A)-(III), (B)-(II), (C)-(I), (D)-(IV)
  4. (A)-(II), (B)-(III), (C)-(I), (D)-(IV)
Answer & explanation →
Q87.

Statement I: Vertex cover has a polynomial-time 2-approximation algorithm. Statement II: TSP-tour is a polynomial-time 3-approximation algorithm for the travelling salesman problem with the triangle inequality. Which is correct?

  1. Statement I true and Statement II false
  2. Statement I and Statement II true
  3. Statement I false and Statement II true
  4. Statement I and Statement II false
Answer & explanation →
Q88.

Statement I: Conservative 2PL is a deadlock-free protocol. Statement II: Thomas's write rule enforces conflict serializability. Statement III: Timestamp ordering ensures serializability based on the order of transaction timestamps. Which is correct?

  1. Statements I and II true, Statement III false
  2. Statements I and III true, Statement II false
  3. Statements I and II false, Statement III true
  4. Statements I, II and III true
Answer & explanation →
Q89.

Statement I: Composite attributes cannot be divided into smaller subparts. Statement II: Complex attributes are formed by nesting composite and multivalued attributes in an arbitrary way. Statement III: A derived attribute is one whose values are computed from other attributes. Which is correct?

  1. Statements I, II and III are true
  2. Statement I true and Statements II, III false
  3. Statements I, II true and Statement III false
  4. Statement I false and Statements II, III true
Answer & explanation →
Q90. A top-down approach to programming calls for:
Statement I: Working from the general to the specific.
Statement II: Postponing the minor decisions.
Statement III: A systematic approach.
Statement IV: Intermediate coding of the problem.
Which of the following is true?
  1. Statement I only
  2. Statements I and II only
  3. Statements I, II and III only
  4. Statements I, II and IV only
Answer & explanation →
Q91.

Statement I: The LALR parser is more powerful than the canonical LR parser. Statement II: The SLR parser is more powerful than LALR. Which is correct?

  1. Statement I true and Statement II false
  2. Statement I false and Statement II true
  3. Both Statements I and II false
  4. Both Statements I and II true
Answer & explanation →
Q92.

Statement I: CFLs are closed under homomorphism. Statement II: CFLs are closed under complement. Which is correct?

  1. Statement I is true and Statement II is false
  2. Statement II is true and Statement I is false
  3. Both Statement I and Statement II are true
  4. Neither Statement I nor Statement II is true
Answer & explanation →
Q93. Consider the following in Boolean algebra:
X: a ∨ (b ∧ (a ∨ c)) = (a ∨ b) ∧ (a ∨ c)
Y: a ∧ (b ∨ (a ∧ c)) = (a ∧ b) ∨ (a ∧ c)
The identity a ∨ (b ∧ c) = (a ∨ b) ∧ c is satisfied if
  1. X is true
  2. Y is true
  3. Both X and Y are true
  4. It does not depend on X and Y
Answer & explanation →
Q94. A good software requirement specification does NOT have the characteristic
  1. Completeness
  2. Consistency
  3. Clarity
  4. Reliability
Answer & explanation →
Q95.

Assertion (A): p̄. Reason (R): (r → q̄, r ∨ s, s → q̄, p → q). Choose the correct answer.

  1. Both (A) and (R) are true and (R) is the correct explanation of (A)
  2. Both (A) and (R) are true but (R) is NOT the correct explanation of (A)
  3. (A) is true but (R) is false
  4. (A) is false but (R) is true
Answer & explanation →
Q96.

Of the following, which is NOT a logical error?

  1. Using '=' instead of '==' to check whether two values are equal
  2. Divide by zero
  3. Failing to initialize counter and total variables before the body of a loop
  4. Using commas instead of the two required semicolons in a for loop header
Answer & explanation →
Q97.

Assertion (A): A load-and-go assembler avoids the overhead of writing the object program out and reading it back in. Reason (R): This can be done with either a one-pass or a two-pass assembler.

  1. Both (A) and (R) are true and (R) is the correct explanation of (A)
  2. Both (A) and (R) are true but (R) is NOT the correct explanation of (A)
  3. (A) is true but (R) is false
  4. (A) is false but (R) is true
Answer & explanation →
Q98.

Which statement is false?

  1. All function calls in C pass arguments using call by value
  2. Call by reference enables a called function to modify a variable in the calling function
  3. Call by value is always more efficient than call by reference
  4. Programmers use pointers and indirection to simulate call by reference
Answer & explanation →
Q99.

Statement I: "Grandparent is a parent of one's parent". Statement II: Its first-order predicate logic representation is ∀g, c grandparent(g, c) ⇔ ∃p parent(g, p) ∧ parent(p, c).

  1. Both Statement I and Statement II are correct
  2. Both Statement I and Statement II are incorrect
  3. Statement I is correct but Statement II is incorrect
  4. Statement I is incorrect but Statement II is correct
Answer & explanation →
Q100.

Statement I: Consider the 20-bit 'Branch' microinstruction format: F1 (3 bits), F2 (3), F3 (3), CD (2), BR (2), AD (7), where F1–F3 are micro-operation fields, CD is the branch condition, BR the branch field and AD the address field. Statement II: An instruction in this format can perform a branch in 4 conditions.

Figure
  1. Both Statement I and Statement II are correct
  2. Both Statement I and Statement II are incorrect
  3. Statement I is correct but Statement II is incorrect
  4. Statement I is incorrect but Statement II is correct
Answer & explanation →

Answer key

  1. 1 – B
  2. 2 – A
  3. 3 – A
  4. 4 – A
  5. 5 – A
  6. 6 – D
  7. 7 – C
  8. 8 – D
  9. 9 – D
  10. 10 – A
  11. 11 – C
  12. 12 – A
  13. 13 – A
  14. 14 – C
  15. 15 – A
  16. 16 – B
  17. 17 – A
  18. 18 – C
  19. 19 – D
  20. 20 – B
  21. 21 – D
  22. 22 – B
  23. 23 – B
  24. 24 – C
  25. 25 – A
  26. 26 – A
  27. 27 – D
  28. 28 – C
  29. 29 – D
  30. 30 – D
  31. 31 – A
  32. 32 – A
  33. 33 – B
  34. 34 – B
  35. 35 – A
  36. 36 – A
  37. 37 – B
  38. 38 – B
  39. 39 – A
  40. 40 – C
  41. 41 – D
  42. 42 – A
  43. 43 – D
  44. 44 – D
  45. 45 – B
  46. 46 – B
  47. 47 – C
  48. 48 – B
  49. 49 – B
  50. 50 – B
  51. 51 – A
  52. 52 – C
  53. 53 – B
  54. 54 – A
  55. 55 – B
  56. 56 – C
  57. 57 – B
  58. 58 – D
  59. 59 – C
  60. 60 – D
  61. 61 – A
  62. 62 – D
  63. 63 – C
  64. 64 – A
  65. 65 – A
  66. 66 – D
  67. 67 – C
  68. 68 – D
  69. 69 – A
  70. 70 – A
  71. 71 – C
  72. 72 – C
  73. 73 – D
  74. 74 – D
  75. 75 – D
  76. 76 – C
  77. 77 – C
  78. 78 – B
  79. 79 – D
  80. 80 – C
  81. 81 – D
  82. 82 – B
  83. 83 – B
  84. 84 – D
  85. 85 – C
  86. 86 – A
  87. 87 – A
  88. 88 – B
  89. 89 – D
  90. 90 – C
  91. 91 – C
  92. 92 – A
  93. 93 – C
  94. 94 – D
  95. 95 – B
  96. 96 – D
  97. 97 – C
  98. 98 – C
  99. 99 – A
  100. 100 – A