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

UGC NET Paper 2 Computer Science – December 2023 – 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. What is the probability that a positive integer selected at random from the set of positive integers not exceeding 100 is divisible by either 2 or 5?
  1. 10/5
  2. 3/5
  3. 2/5
  4. 1/5
Answer & explanation →
Q2. Which of the following is NOT a palindromic subsequence of the string "ababcdabba"?
  1. abcba
  2. abba
  3. abbbba
  4. adba
Answer & explanation →
Q3.

Which of the following is TRUE?

  1. The cost of searching an AVL tree is Θ(log n) but that of a binary search tree is O(n)
  2. The cost of searching an AVL tree is Θ(log n) but that of a complete binary tree is Θ(n log n)
  3. The cost of searching a binary search tree is O(log n) but that of an AVL tree is Θ(n)
  4. The cost of searching an AVL tree is Θ(n log n) but that of a binary search tree is O(n)
Answer & explanation →
Q4. What is the result of evaluating the postfix expression "4 3 * 2 5 * + 8 -"?
  1. 8
  2. 14
  3. 10
  4. 5
Answer & explanation →
Q5. Which of the following circuits is used to store one bit of data?
  1. Encoder
  2. Decoder
  3. Flip-Flop
  4. Register
Answer & explanation →
Q6. Identify the code sequence: 1010, 1011, 1001, 1000
  1. BCD
  2. Excess-3
  3. Gray
  4. Excess-3 Gray
Answer & explanation →
Q7. The microoperation which divides a signed binary number by 2 is:
  1. Circular shift
  2. Logical shift
  3. Arithmetic shift right
  4. Arithmetic shift left
Answer & explanation →
Q8. A program that is used by other routines to accomplish a particular task is called:
  1. Micro program
  2. Micro operation
  3. Routine
  4. Subroutine
Answer & explanation →
Q9. Consider a triangle PQR with coordinates P(0,0), Q(2,2) and R(10,4). If this triangle is to be magnified to four times its size while keeping R(10,4) fixed, then the coordinates of the magnified triangle are:
  1. P(−20,−12), Q(−20,−4) and R(10,4)
  2. P(−30,−12), Q(−22,−4) and R(10,4)
  3. P(−25,−10), Q(22,−4) and R(10,4)
  4. P(30,−12), Q(−22,4) and R(10,4)
Answer & explanation →
Q10.

Which of the following statements is TRUE?

  1. Virtual functions do not implement polymorphism
  2. Virtual functions do not permit calling of derived class functions using a base class pointer
  3. We can never build an object from a class containing a pure virtual function
  4. Pure virtual function can never have a body
Answer & explanation →
Q11. What is the output of the following program?
#include<stdio.h>
int main() {
  int i = 3;
  while (i--) {
    int i = 10;
    i--;
    printf("%d", i);
  }
  printf("%d", i);
}
  1. 990
  2. 9990
  3. 999-1
  4. 99-1
Answer & explanation →
Q12.

The Hue of a color is related to its:

  1. Luminance
  2. Saturation
  3. Incandescence
  4. Wavelength
Answer & explanation →
Q13. "CREATE TABLE T" in SQL is an example of:
  1. Normalization
  2. DML
  3. DDL
  4. Primary key
Answer & explanation →
Q14. An address in main memory is called:
  1. Virtual address
  2. Memory address
  3. Logical address
  4. Physical address
Answer & explanation →
Q15. A system bus in which each data item is transferred during a time slice known in advance to both the source and destination units is called:
  1. MIMD
  2. DMA
  3. Asynchronous bus
  4. Synchronous bus
Answer & explanation →
Q16. What is the output of the following program?
#include <stdio.h>
#define SQR(x) (x*x)
int main() {
  int a, b = 3;
  a = SQR(b+2);
  printf("%d", a);
  return 0;
}
  1. 25
  2. 11
  3. Garbage value
  4. 24
Answer & explanation →
Q17. The head of a moving-head disk with 200 tracks, numbered 0 to 199, has just finished a request at track 125 and is currently serving a request at track 143. The queue of requests in FIFO order is 86, 147, 91, 177, 94, 150, 102, 175, 130. What will be the total number of head movements required to satisfy these requests with the SCAN algorithm?
  1. 259 cylinders
  2. 169 cylinders
  3. 154 cylinders
  4. 264 cylinders
Answer & explanation →
Q18. Given 4 GB (≈ 4.3 × 10⁹ bytes) of virtual space, a typical page size of 4 KB and a page-table entry of 5 bytes, how many virtual pages would this imply, and what is the size of the whole page table?
  1. 1075000 and 5375 KB
  2. 215000 and 40960 bytes
  3. 10750 and 10240 bytes
  4. 43000 and 1024 bytes
Answer & explanation →
Q19. In Linux, where is the user password stored?
  1. /etc/password
  2. /root/password
  3. /etc/passwd
  4. /root/passwd
Answer & explanation →
Q20. Hash functions are used to produce message digests which are then encrypted with a private key to get:
  1. Public key
  2. Digital signature
  3. Cipher text
  4. Data Encryption Standard
Answer & explanation →
Q21.

Let L= {ab, aa, baa}. Which of the following strings are not in L*?

  1. abaabaaabaa
  2. aaaabaaaa
  3. baaaaabaaaab
  4. baaaaabaa
Answer & explanation →
Q22.

Let A={a, b} and L=A*. Let X={anbn, n>0}. The languages L U X and X are respectively :

  1. Not regular, Regular
  2. Regular, Regular
  3. Regular, Not regular
  4. Not Regular, Not Regular
Answer & explanation →
Q23.

Which of the following symbol table implementations is best suited if access time is to be minimum?

  1. Linear list
  2. Search tree
  3. Hash Table
  4. Self organisation list →
Answer & explanation →
Q24. Consider the grammar E → E + n | E × n | n. For the sentence n + n × n, the handles in the right-sentential forms of the reduction are:
  1. n, E + n and E + n × n
  2. n, E + n and E + E × n
  3. n, n + n and n + n × n
  4. n, E + n and E × n
Answer & explanation →
Q25. Which data structure is typically used to implement a hash table?
  1. Linked list
  2. Array
  3. Binary tree
  4. Stack
Answer & explanation →
Q26. Which collision resolution technique involves maintaining a linked list of collided keys?
  1. Linear probing
  2. Quadratic probing
  3. Chaining
  4. Double hashing
Answer & explanation →
Q27. Consider the following functions: f(n) = 3n√n, g(n) = 2√n log₂ n, h(n) = n!. Which of the following is true?
  1. h(n) is O(f(n))
  2. h(n) is O(g(n))
  3. g(n) is not O(f(n))
  4. f(n) is O(g(n))
Answer & explanation →
Q28.

2-3-4 trees are B - trees of order 4. They are isometric of trees.

  1. AVL
  2. AA
  3. 2-3
  4. Red-Black
Answer & explanation →
Q29. The average time required to reach a storage location in memory and obtain its contents is called:
  1. Access time
  2. Latency time
  3. Response time
  4. Reading time
Answer & explanation →
Q30. One of the purposes of using intermediate code in compilers is to:
  1. make parsing and semantic analysis simpler
  2. improve error recovery and error reporting
  3. increase the chances of reusing the machine-independent code optimizer in other compilers
  4. improve the register allocation
Answer & explanation →
Q31.

The sum of minimum and maximum number of final states for a Deterministic Finite Automata (DFA) having ' P ' state is equal to :

  1. P
  2. P-1
  3. P+1
  4. P+2
Answer & explanation →
Q32. Test suite is consist of:
  1. Set of defect cases
  2. Set of boundary cases
  3. Set of test cases
  4. Set of nest cases
Answer & explanation →
Q33. A multiplexer combines four 100 Kbps channels using a time slot of 2 bits. What is the bit rate?
  1. 100 Kbps
  2. 200 Kbps
  3. 400 Kbps
  4. 1000 Kbps
Answer & explanation →
Q34.

Which of the following is not a field in TCP header?

  1. Sequence Number
  2. Checksum
  3. Fragmentation offset
  4. Window size
Answer & explanation →
Q35. In bit stuffing, each frame begins and ends with which bit pattern (in hexadecimal)?
  1. 0x8C
  2. 0x6F
  3. 0xFF
  4. 0x7E
Answer & explanation →
Q36. Level – 0 DFD is also called as:
  1. Use case Diagram
  2. Sequence Diagram
  3. Context Diagram
  4. Prototype Diagram
Answer & explanation →
Q37.

What is the generic structure of a Multi-Agent System (MAS)?

  1. Single-agent with multiple objectives
  2. Multiagents with single objectives
  3. Multiagents with diverse objectives and communication abilities
  4. Multiagent with two objectives ∈
Answer & explanation →
Q38.

A point of a fuzzy set A is a point x X at which μA(x) = 0. 5

  1. Core
  2. Support α − cut
  3. Crossover
Answer & explanation →
Q39. In a genetic algorithm optimization problem, the fitness function is f(x) = x² − 4x + 4. Given a population of four individuals with x values {1.5, 2.0, 3.0, 4.5}, what is the fitness value of the individual that will be selected as the parent for reproduction in one generation?
  1. 2.25
  2. 6.0
  3. 0.0
  4. 6.25
Answer & explanation →
Q40.

In a feed-forward neural network with the following specifications : The input layer has 4 neurons, hidden layer has 3 neurons, and output layer has 2 neurons using the sigmoid activation function for given input values [0.5,0.8,0.2,0.6] as well as the initial weights for the connections. W1: [0.1,0.3,0.5,0.2] W2: [0.2,0.4,0.6,0.2] W3: [0.3,0.5,0.7,0.2] Input layer to hidden layer weights W4 : [0.4,0.1,0.3] W5 : [0.5,0.2,0.4] Hidden layer to output layer weights What is the output of the output layer when the given input values are passed through neural network? Round the answer to two decimal places:

  1. [0.62,0.68]
  2. [0.72,0.78]
  3. [0.82,0.88]
  4. [0.92,0.98]
Answer & explanation →
Q41.

If the universe of discourse is all real numbers, which of the following are true? (A) ∃x∀y (x + y = y) (B) ∀x∀y (((x ≥ 0) ∧ (y < 0)) → (x − y > 0)) (C) ∃x∃y (((x ≤ 0) ∧ (y ≤ 0)) ∧ (x − y > 0)) (D) ∀x∀y (((x ≠ 0) ∧ (y ≠ 0)) ↔ (xy ≠ 0))

  1. (A) and (B) Only
  2. (A), (C) and (D) Only
  3. (A), (B) and (D) Only
  4. (A), (B), (C) and (D) Only
Answer & explanation →
Q42.

If the universe of discourse is the set of integers, which of the following are TRUE? (A) ∀n∃m (n² < m) (B) ∃n∀m (n < m²) (C) ∃n∀m (nm = m) (D) ∃n∃m (n² + m² = 6) (E) ∃n∃m (n + m = 4 ∧ n − m = 1)

  1. (A), (B) and (C) Only
  2. (B) and (C) Only
  3. (C), (D) and (E) Only
  4. (C) and (E) Only
Answer & explanation →
Q43.

Let N² = N × N, where N is the set of natural numbers, and let R be the relation on N² with ⟨x, y⟩ R ⟨u, v⟩ ⇔ xv = yu. Which of the following are TRUE? (A) Reflexive (B) Symmetric (C) Transitive (D) Asymmetric

  1. (A) and (B) Only
  2. (B) and (C) Only
  3. (A), (C) and (D) Only
  4. (A), (B) and (C) Only
Answer & explanation →
Q44.

The interface(s) that provide(s) I/0 transfer of data directly to and from the memory unit peripheral is/are termed as:

(A) DMA (Direct Memory Access)

(B) IOP (Input-Output Processor)

(C) Serial Interface

(D) Parallel Interface

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

Which of the following(s) are main memory?

(A) Virtual memory

(B) Cache memory

(C) RAM

(D) SSD

  1. (A) and (C) Only
  2. (B) and (C) Only
  3. (C) and (D) Only
  4. (A), (B) and (C) Only
Answer & explanation →
Q46.

Which of the following are tautology? → → → →

(A) (P (P Q)) (P Q) → → → ∨

(B) ((P Q) Q) (P Q) ∨¬ → → ∨¬ →

(C) ((P P) Q) ((P P) R) → ∧¬ → → ∧¬

(D) (Q (P P)) (R (P P))

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

Consider the three points P1(1,2,0), P2(3,6,20) and P3(2,4,6) and a view point C(0,0,-10). Choose the correct options.

(A) P1 obscure P2, if viewed from C.

(B) P2 obscure P1, if viewed from C.

(C) P3 does not obscure P1 if viewed from C.

(D) P2 does not obscure P3 if viewed from C.

  1. (A), (B) and (C) Only
  2. (A), (C) and (D) Only
  3. (B), (C) and (D) Only
  4. (A), (B) and (D) Only
Answer & explanation →
Q48. Which of the statements are CORRECT?
(A) Constructors are invoked automatically when objects are created.
(B) Constructors do not have return types, not even void, and therefore cannot return values.
(C) Constructors cannot be inherited, though a derived class can call the base class constructors.
(D) Constructors can be declared as virtual.
Choose the correct answer from the options given below:
  1. (A), (B) and (D) Only
  2. (A), (B) and (C) Only
  3. (B), (C) and (D) Only
  4. (A), (C) and (D) Only
Answer & explanation →
Q49. Which of the following statements are CORRECT?
(A) Granularity is the size of data items in a database.
(B) Two operations in a schedule are said to be in conflict if they belong to the same transaction.
(C) Two schedules are said to be conflict equivalent if the order of any two conflicting operations is the same in both schedules.
(D) Write operations that are performed without performing the write operation are known as blind writes.
Choose the correct answer from the options given below:
  1. (A) and (B) Only
  2. (A), (B) and (C) Only
  3. (A), (B) and (D) Only
  4. (B) and (C) Only
Answer & explanation →
Q50. Which of the following statements is/are NOT CORRECT?
(A) The first record in each block of the data file is known as the actor record.
(B) A dense index has index entries for every search-key value in the data file.
(C) Searching is harder in a B+ tree than in a B-tree as all external nodes are linked to each other.
(D) In extendible hashing, the size of the directory is 2^(d−1), where d is the global depth.
Choose the correct answer from the options given below:
  1. (A), (B) and (C) Only
  2. (A), (C) and (D) Only
  3. (A), (B) and (D) Only
  4. (A), (B), (C) and (D) Only
Answer & explanation →
Q51. Which of the following statements is/are NOT CORRECT about NUMA?
(A) LOAD and STORE instructions are used to access remote memory.
(B) There is a single address space visible to all CPUs.
(C) Access to local memory is slower than access to remote memory.
(D) When the access time to remote memory is hidden, the system is called NC-NUMA.
(E) In CC-NUMA, coherent caches are present.
Choose the correct answer from the options given below:
  1. (A) and (C) Only
  2. (B) and (D) Only
  3. (A) and (E) Only
  4. (C) and (D) Only
Answer & explanation →
Q52.

Indexed/grouped allocation is useful as :

(A) It supports both sequential and direct access.

(B) Entire block is available for data.

(C) It does not require lots of space for keeping pointers.

(D) No external fragmentation.

  1. (A) Only
  2. (B) and (C) Only
  3. (B) Only
  4. (A), (B) and (D) Only
Answer & explanation →
Q53. Which of the following statements are CORRECT?
(A) A process always checks the state of the currently executing process to enter the critical section.
(B) Spin locks use busy waiting.
(C) Periodically testing a variable until some value appears is known as busy waiting.
(D) A critical region is the part of the program where shared memory is accessed.
(E) The printer daemon continuously checks to see if there are any files to be printed.
Choose the correct answer from the options given below:
  1. (A) and (B) Only
  2. (B) and (C) Only
  3. (B) and (D) Only
  4. (B) and (E) Only
Answer & explanation →
Q54.

Three address codes can be represented in special structures known as :

(A) Quadruples

(B) Triples

(C) Patterns

(D) Indirect Triples

  1. (A) and (B) Only
  2. (A), (B) and (D) Only
  3. (B) and (C) Only
  4. (B), (C) and (D) Only
Answer & explanation →
Q55.

Which of the statement is/are CORRECT ?

(A) Moore and Mealy machines are finite state machines with output capabilities.

(B) Any given Moore machine has an equivalent Mealy machine.

(C) Any given Mealy machine has an equivalent Moore machine.

(D) Moore machine is not a finite state machine.

  1. (A) and (B) Only
  2. (A), (B) and (C) Only
  3. (B) and (D) Only
  4. (A), (B) and (D) Only
Answer & explanation →
Q56.

Let P(x) be the statement "x = x²". If the universe of discourse is the integers, which of the following are true? (A) P(0) (B) P(1) (C) P(2) (D) ∃x P(x) (E) ∀x P(x)

  1. (A), (B) and (E) Only
  2. (A), (B) and (C) Only
  3. (A), (B) and (D) Only
  4. (B), (C) and (D) Only
Answer & explanation →
Q57.

Which of the following statements are true if the universe of discourse is the set of integers? (A) ∀n (n² ≥ 0) (B) ∃n (n² = 2) (C) ∀n (n² ≥ n) (D) ∃n (n² < 0)

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

Which of the following graphs are trees? (see figure)

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

Which of the following are examples of CSMA channel sensing methods?

(A) 1-persistent

(B) 2-persistent

(C) p-persistent

(D) o-persistent

  1. (A), (B) and (D) Only
  2. (A), (C) and (D) Only
  3. (B), (C) and (D) Only
  4. (A), (B) and (C) Only
Answer & explanation →
Q60. The selection of Spiral Model based on characteristics of requirements:
(A) Are requirements easily understandable and defined?
(B) Do we change requirements quite often?
(C) Can we define requirements early in the cycle?
(D) Requirements are indicating a complex to be built
  1. (C) Only
  2. (B) Only
  3. (B) and (D) Only
  4. (A) and (C) Only
Answer & explanation →
Q61.

The work done by UDP is/are :

(A) Congestion control

(B) Flow control

(C) Retransmission

(D) Segment transmission

  1. (A) and (D) Only
  2. (C) Only
  3. (D) Only
  4. (B) and (C) Only
Answer & explanation →
Q62. Which of the following statements is/are NOT CORRECT?
(A) OSPF is based on the distance-vector routing protocol.
(B) Both link-state and distance-vector routing are based on the least-cost goal.
(C) BGP4 is based on the path-vector algorithm.
(D) Three-node instability can be avoided using split horizon combined with poison reverse.
(E) RIP is based on the link-state algorithm.
Choose the correct answer from the options given below:
  1. (A), (D) and (E) Only
  2. (A) and (B) Only
  3. (B) and (C) Only
  4. (B), (C) and (E) Only
Answer & explanation →
Q63. Which of the following statements are CORRECT?
(A) NRZ is a bipolar scheme in which a positive voltage defines bit 0.
(B) NRZ-L and NRZ-I both have an average signal rate of N/2.
(C) The ideas of RZ and NRZ-L are combined in the Manchester scheme.
(D) NRZ-L and NRZ-I both have DC component problems.
(E) The minimum bandwidth of Manchester and differential Manchester is 3 times that of NRZ.
Choose the correct answer from the options given below:
  1. (A), (B) and (C) Only
  2. (A), (C), (D) and (E) Only
  3. (B), (C) and (D) Only
  4. (A), (B), (C) and (E) Only
Answer & explanation →
Q64.

Which of the following are commonly used parsing techniques in NLP (Natural Language Processing) for syntactic analysis?

(A) Top-down parsing

(B) Bottom Up parsing

(C) Dependency parsing

(D) Statistical machine translation

(E) Earley parsing

  1. (A), (C), (D), (E) Only
  2. (B), (C), (D), (E) Only
  3. (A), (B), (C), (E) Only
  4. (A) and (B) Only
Answer & explanation →
Q65. In the context of alpha-beta pruning in game trees, which of the following statements are correct regarding cut-off procedures?
(A) Alpha-beta pruning can eliminate subtrees with certainty when the value of a node exceeds the alpha/beta bounds.
(B) The primary purpose of alpha-beta pruning is to save computation time by searching fewer nodes in the same tree.
(C) Alpha-beta pruning guarantees the optimal solution in all cases by exploring the entire game tree.
(D) Alpha and beta bounds are initialised to negative and positive infinity respectively at the root node.
Choose the correct answer from the options given below:
  1. (A), (C), (D) Only
  2. (B), (C), (D) Only
  3. (A), (B), (D) Only
  4. (C), (B) Only
Answer & explanation →
Q66.

Match List I with List II. List I: (A) ∅ ∩ {∅} = (B) {∅} ∩ {∅} = (C) {∅, {∅}} − ∅ = (D) ∅ ∪ {{∅}} =. List II: (I) ∅ (II) {∅} (III) {{∅}} (IV) {∅, {∅}}

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

Match List - I with List - II.

List - I List - II

(a) SZA (I) Increment M and skip it zero

(b) SKI (II) Skip if AC is negative

(c) SNA (III) Skip if input flag is on

(d) ISZ (IV) Skip if AC is Zero

  1. (a)-(II), (b)-(IV), (c)-(I), (d)-(III)
  2. (a)-(IV), (b)-(III), (c)-(II), (d)-(I)
  3. (a)-(IV), (b)-(II), (c)-(I), (d)-(III)
  4. (a)-(III), (b)-(IV), (c)-(II), (d)-(I)
Answer & explanation →
Q68.

Match List - I with List - II.

Figure
  1. (a)-(III), (b)-(II), (c)-(IV), (d)-(I)
  2. (a)-(II), (b)-(III), (c)-(I), (d)-(IV)
  3. (a)-(II), (b)-(III), (c)-(IV), (d)-(I)
  4. (a)-(II), (b)-(IV), (c)-(III), (d)-(I)
Answer & explanation →
Q69.

Match List - I with List - II.

Figure
  1. (a)-(III), (b)-(II), (c)-(I), (d)-(IV)
  2. (a)-(IV), (b)-(I), (c)-(II), (d)-(III)
  3. (a)-(II), (b)-(III), (c)-(IV), (d)-(I)
  4. (a)-(IV), (b)-(I), (c)-(III), (d)-(II)
Answer & explanation →
Q70.

Match List - I with List - II.

Figure
  1. (a)-(I), (b)-(III), (c)-(IV), (d)--(II)
  2. (a)-(II), (b)--(I), (c)-(IV), (d)-(III)
  3. (a)-(III), (b)-(II), (c)--(I), (d)-(IV)
  4. (a)-(IV), (b)-(II), (c)-(III), (d)-(I)
Answer & explanation →
Q71.

Match List - I with List - II according to input to the compiler phase that process it :

Figure
  1. (a)-(IV), (b)-(III), (c)-(I), (d)-(II)
  2. (a)-(II), (b)-(I), (c)-(IV), (d)-(III)
  3. (a)-(II), (b)-(IV), (c)-(I), (d)-(III)
  4. (a)-(IV), (b)-(I), (c)-(II), (d)-(III)
Answer & explanation →
Q72.

Match List - I with List - II.

Figure
  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)-(IV), (b)-(III), (c)-(II), (d)-(I)
Answer & explanation →
Q73.

Match List - I with List - II.

Figure

b. A* II. Incomplete even if the search space is finite

Figure
  1. (a)-(II), (b)-(IV), (c)-(I), (d)-(III)
  2. (a)-(II), (b)-(III), (c)-(I), (d)-(IV)
  3. (a)-(III), (b)-(II), (c)-(IV), (d)-(I)
  4. (a)-(III), (b)-(IV), (c)-(II), (d)-(I)
Answer & explanation →
Q74.

Match List - I with List - II.

Figure
  1. (a)-(III), (b)-(I), (c)-(IV), (d)-(II)
  2. (a)-(III), (b)-(IV), (c)-(II), (d)-(I)
  3. (a)-(I), (b)-(III), (c)-(IV), (d)-(II)
  4. (a)-(II), (b)-(I), (c)-(IV), (d)-(III)
Answer & explanation →
Q75.

Match List - I with List - II.

Figure
  1. (a)-(III), (b)-(I), (c)-(IV), (d)-(II)
  2. (a)-(II), (b)-(I), (c)-(IV), (d)-(III)
  3. (a)-(II), (b)-(IV), (c)-(I), (d)-(III)
  4. (a)-(I), (b)-(III), (c)-(II), (d)-(I)
Answer & explanation →
Q76.

Arrange the following in ascending order: (a) remainder of 49¹⁶ divided by 17 (b) remainder of 24⁴⁶ divided by 9 (c) remainder of 155¹⁷ divided by 17 (d) last digit of 7⁴⁵

  1. (a), (b), (c), (d)
  2. (a), (b), (d), (c)
  3. (a), (c), (b), (d)
  4. (d), (c), (b), (a)
Answer & explanation →
Q77.

In most general case, the computer needs to process each instruction with the following sequence of steps:

(A) Calculate the effective address

(B) Execute the instruction

(C) Fetch the instruction from memory

(D) Fetch the operand from memory

(E) Decode the instruction

  1. (C),(E),(D),(A),(B)
  2. (C),(E),(A),(D),(B)
  3. (A),(B),(C),(E),(D)
  4. (A),(B),(C),(D),(E)
Answer & explanation →
Q78. Consider the following code segment:
int arr[] = {0,1,2,3,4};
int i = 1, *ptr;
ptr = arr + 2;
Arrange the following printf statements in increasing order of their output:
(a) printf("%d", ptr[i]);
(b) printf("%d", ptr[i+1]);
(c) printf("%d", ptr[-i]);
(d) printf("%d", ptr[-i+1]);
  1. (c), (a), (b), (d)
  2. (c), (d), (a), (b)
  3. (d), (a), (b), (c)
  4. (a), (b), (d), (c)
Answer & explanation →
Q79. The steps for analysis and design of an object-oriented system:
(a) Draw interaction diagrams
(b) Draw state chart and object diagrams
(c) Draw use case and activity diagrams
(d) Draw component and deployment diagrams
(e) Draw class diagram
Choose the correct answer from the options given below:
  1. (e) → (b) → (a) → (c) → (d)
  2. (b) → (a) → (e) → (d) → (c)
  3. (e) → (c) → (b) → (d) → (a)
  4. (c) → (a) → (e) → (b) → (d)
Answer & explanation →
Q80. Arrange the following levels of interrupt protection within the Linux Kernel in order of increasing priority:
(A) user mode programs
(B) bottom half interrupt handlers
(C) kernel system service routines
(D) top half interrupt handlers
  1. (A), (B), (D), (C)
  2. (A), (C), (B), (D)
  3. (A), (C), (D), (B)
  4. (D), (A), (C), (B)
Answer & explanation →
Q81.

Arrange the following phases of a compiler as per their order of execution (start to end)

(a) Target code generation

(b) Syntax Analysis

(c) Code optimization

(d) Semantic Analysis

(e) Lexical Analysis

  1. (b), (e), (d), (a), (c)
  2. (e), (d), (b), (a), (c)
  3. (e), (b), (d), (c), (a)
  4. (b),(d),(e),(a),(c)
Answer & explanation →
Q82. The prototyping model has the sequence:
(a) Customer evaluation
(b) Quick design
(c) Requirements
(d) Implement (build prototype)
(e) Design (refine)
Choose the correct answer from the options given below:
  1. (c) → (a) → (d) → (b) → (e)
  2. (b) → (c) → (a) → (d) → (e)
  3. (c) → (b) → (d) → (a) → (e)
  4. (e) → (b) → (c) → (d) → (a)
Answer & explanation →
Q83.

Arrange the following encoding strategies used in Genetic Algorithms (GAs) in the correct sequence starting from the initial step and ending with the final representation of solutions :

(a) Binary Encoding

(b) Real valued Encoding

(c) Permutation Encoding

(d) Gray coding

  1. (d),(b),(a),(c)
  2. (b),(d),(a),(c)
  3. (c),(d),(a),(b)
  4. (b),(c),(a),(d)
Answer & explanation →
Q84. Arrange the following steps in the correct order for a DHCP client to renew its IP lease with a DHCP server:
(a) DHCP client sends a DHCPREQUEST message
(b) DHCP server acknowledges the renewal with a DHCPACK message
(c) DHCP client checks the local lease timer and initiates renewal
(d) DHCP server updates its lease database
Choose the correct answer from the options given below:
  1. (a), (b), (c), (d)
  2. (c), (d), (b), (a)
  3. (c), (b), (a), (d)
  4. (c), (a), (b), (d)
Answer & explanation →
Q85.

Arrange the following steps in the correct sequence for applying an unsupervised learning technique such as K-means clustering to a data set:

(a) Randomly initialize cluster centroids

(b) Assign each data point to nearest cluster centroid

(c)Update the cluster centroids based on the mean of data points assigned to each cluster

(d) Specify the number of clusters (K) to partition the data into

(e) Repeat steps B and C until convergence criteria are met

  1. (d),(a),(b),(c),(e)
  2. (a),(b),(c),(d),(e)
  3. (c),(b),(a),(d),(e)
  4. (d),(c),(a),(b),(e)
Answer & explanation →
Q86.

Given below are two statements :

Statement (I): If H is a nonempty finite subset of ∈ ∀ ∈ a group G and ab H a,b H then H is also a group

Statement (II): There is no homomorphism existing from (Z,+) to (Q,+); where Z is a set of integers and Q is a set of rational numbers. In the light of the above statements, choose the most appropriate answer from the options given below:

  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 →
Q87. Statement (I): A friend function and the member functions of a friend class can directly access private and protected data.
Statement (II): A friend function can access private data through the member functions of the base class.
In the light of the above statements, choose the most appropriate answer from the options given below:
  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 →
Q88. Statement (I): A thread is a dispatchable unit of work that does not execute sequentially and is not interruptible.
Statement (II): It is not possible to alter the behaviour of a thread by altering its context when the thread is suspended.
In the light of the above statements, choose the most appropriate answer from the options given below:
  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 →
Q89.

Given below are two statements :

Statement (I) : In Reuse Oriented Model, Modification of the old system parts appropriate to the new requirements.

Statement (II) : In Reuse Oriented Model, Integration of the modified parts are not possible into the new systems. In the light of the above statements, choose the most appropriate answer from the options given below :

  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 →
Q90.

Given below are two statements:

Statement (I) : In datagram networks - routers hold state information about connections

Statement (II) : In a virtual circuit network- each virtual circuit requires router table space per connection In the light of the above statements, choose the most appropriate answer from the options given below :

  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 Directions (91-95) Read the following passage and answer the given questions. Food X contains 6 units of Vitamin D per gram and 7 units of Vitamin E per gram and cost is Rs 12 per gram. Food Y contains 8 units of vitamin D per gram and 12 units of Vitamin E per gram and cost is Rs 20 per gram. The daily minimum requirements of vitamin D and E are 100 units and 120 units respectively. Suppose x is the quantity (in gram) of food X, y is quantity (in gram) of food Y. Answering the following question based on the above paragraph given.
Answer & explanation →

Directions (Q91–95): Food X contains 6 units of vitamin D and 7 units of vitamin E per gram and costs ₹12 per gram. Food Y contains 8 units of vitamin D and 12 units of vitamin E per gram and costs ₹20 per gram. The daily minimum requirements of vitamins D and E are 100 units and 120 units. Let x and y be the grams of food X and Y.

Q91.

The cost function of total food is:

  1. Z=6 x+7 y
  2. Z=8 x+12 y
  3. Z=12 x+20 y
  4. Z=20 x+12 y
Answer & explanation →
Q92.

Which of the following constraints when formulating the LPP?

  1. 6 x+7 y<= 100,8 x+12 y <= 120, x, y >= 0
  2. 6 x+8 y <=100,7 x+12 y <=120, x, y>= 0
  3. 6 x+7 y >= 100,8 x+12 y >=120, x, y >= 0
  4. 6 x+8 y >= 100,7 x+12 y >=120, x, y >= 0
Answer & explanation →
Q93.

Which of the following are quantities (in grams) of food X and Y respectively when the cost of food is minimum:

  1. 0 and 12½
  2. 15 and 5/4
  3. 120/7 and 0
  4. 0 and 10
Answer & explanation →
Q94.

The dual of the formulated LPP is :

  1. Max Z=100 u+120 v s.t. 6 u+7 v <=12 8 u+12 v <= 20 u, v >= 0
  2. Max Z=12 u+20 v s.t. 6 u+7 v <=100 8 u+12 v <= 120 u, v >= 0
  3. Max Z=100 u+120 v 6 u+7 u <=12 8 u+7 v <= 20 u, v are unrestricted
  4. Max Z=100 u+120 u s.t. 6 u+7 v >= 12 8 u+12 v >=20 u, v >= 0
Answer & explanation →
Q95.

The minimum cost of food is:

  1. 205
  2. 250
  3. 330
  4. 200 Directions (96-100) Read the following passage and answer the given questions. Consider the following relations X(S, S i, C) and Y(S, P, D). X S Si C J 1 M B 2 N R 3 H T 4 G Y S P D J S1 CA B P1 AB R D1 DC A H1 MD
Answer & explanation →

Directions (Q96–100): Relations X(S, Si, C) with tuples (J, 1, M), (B, 2, N), (R, 3, H), (T, 4, G), and Y(S, P, D) with tuples (J, S1, CA), (B, P1, AB), (R, D1, DC), (A, H1, MD).

Q96.

Find the number of tuples obtained by applying the right outer join X ⟖ (X.S = Y.S) Y.

  1. 1
  2. 3
  3. 4
  4. 6
Answer & explanation →
Q97.

The result of the operation X ⟖ (X.S = Y.S) Y (right outer join) will be:

  1. Columns S, Si, C, P, D: (J,1,M,S1,CA), (B,2,N,P1,AB), (R,3,H,D1,DC), (T,4,G,NULL,NULL)
  2. Columns S, Si, C, P, D: (J,1,M,S1,CA), (B,2,N,P1,AB), (R,3,H,D1,DC), (A,NULL,NULL,H1,MD)
  3. Columns S, Si, C, P, D: (J,1,M,S1,CA), (B,2,N,P1,AB), (R,3,H,D1,DC), (T,4,G,NULL,MD)
  4. None of these
Answer & explanation →
Q98.

Which of the following join is used to get all the tuples of relation X and Y with Null values of corresponding missing values?

  1. Left outer join
  2. Right outer join
  3. Natural join
  4. Full outer join
Answer & explanation →
Q99.

Number of tuples by applying right outer join on relation X and Y is/are :

  1. 16
  2. 5
  3. 3
  4. 4
Answer & explanation →

Directions (Q96–100): Consider the relations X(S, Si, C) and Y(S, P, D):

X
SSiC
J1M
B2N
R3H
T4G
Y
SPD
JS1CA
BP1AB
RD1DC
AH1MD
Q100. The number of tuples obtained by applying the Cartesian product over X and Y is:
  1. 16
  2. 12
  3. 04
  4. 32
Answer & explanation →

Answer key

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