UGC NET Paper 2 Computer Science – December 2018 – Question Paper with Answer Key
Solved by The Binary Brothers: every question has the correct answer and an explanation. Open any question for its full solution, or practise it in the unit-wise mock tests.
In mathematical logic, which of the following are statements?
(i) There will be snow in January.
(ii) What is the time now ?
(iii) Today is Sunday.
(iv) You must study Discrete Mathematics.
Choose the correct answer from the code given below :
- (i) and (iii)
- (i) and (ii)
- (ii) and (iv)
- (iii) and (iv)
Match List I with List II and choose the correct answer from the code given below.

- (a)-(i), (b)-(ii), (c)-(iii), (d)-(iv)
- (a)-(ii), (b)-(i), (c)-(iii), (d)-(iv)
- (a)-(iii), (b)-(iv), (c)-(ii), (d)-(i)
- (a)-(iv), (b)-(iii), (c)-(ii), (d)-(i)
A box contains six red balls and four green balls. Four balls are selected at random from the box. What is the probability that two of the selected balls will be red and two will be green?
- 1/14
- 3/7
- 1/35
- 1/9
A survey has been conducted on methods of commuter travel. Each respondent was asked to check Bus, Train or Automobile as a major method of travelling to work. More than one answer was permitted. The results reported were as follows : Bus 30 people; Train 35 people; Automobile 100 people; Bus and Train 15 people; Bus and Automobile 15 people, Train and Automobile 20 people; and all the three methods 5 people. How many people completed the survey form?
- 120
- 165
- 160
- 115
Which of the following statements are true?
(i) Every logic network is equivalent to one using just NAND gates or just NOR gates.
(ii) Boolean expressions and logic networks correspond to labelled acyclic digraphs.
(iii) No two Boolean algebras with n atoms are isomorphic.
(iv) Non-zero elements of finite Boolean algebras are not uniquely expressible as joins of atoms.
- (i) and (iv) only
- (i), (ii) and (iii) only
- (i) and (ii) only
- (ii), (iii) and (iv) only ≤ <
The relations ≤ and < on a Boolean algebra are defined as: x ≤ y if and only if x ∨ y = y; x < y means x ≤ y but x ≠ y; x ≥ y means y ≤ x; and x > y means y < x. Considering these definitions, which of the following is not true in the Boolean algebra?
(i) If x ≤ y and y ≤ z, then x ≤ z
(ii) If x ≤ y and y ≤ x, then x = y
(iii) If x < y and y < z, then x ≤ y
(iv) If x < y and y < z, then x < y
- (iii) only
- (iv) only
- (i) and (ii) only
- (ii) and (iii) only ¯A¯¯¯ ⋅ B + A ⋅ ¯B¯¯¯ + A ⋅ B
The Boolean expression Ā·B + A·B̄ + A·B is equivalent to
- Ā·B̄
- ¬(A + B)
- A·B
- A + B
In PERT/CPM, the merge event represents ___ of two or more events.
- completion
- beginning
- splitting
- joining
Use the dual simplex method to solve: Maximize z = −2x₁ − 3x₂ subject to x₁ + x₂ ≥ 2, 2x₁ + x₂ ≤ 10, x₁ + x₂ ≤ 8, x₁, x₂ ≥ 0.
- x₁ = 2, x₂ = 0 and z = −4
- x₁ = 2, x₂ = 6 and z = −22
- x₁ = 0, x₂ = 2 and z = −6
- x₁ = 6, x₂ = 2 and z = −18
In computers, subtraction is generally carried out by
- 9's complement
- 1's complement
- 10's complement
- 2's complement
Consider the following Boolean equations:
(i) wx + w(x + y) + x(x + y) = x + wy
(ii) (w x̄ (y + x z̄) + w̄ x̄) y = x̄ y What can you say about the above equations?
- (i) is true and (ii) is false
- (i) is false and (ii) is true
- Both (i) and (ii) are true
- Both (i) and (ii) are false
Consider the graph shown below :

Use Kruskal's algorithm to find the minimum spanning tree of the graph. The weight of this minimum spanning tree is
- 17
- 14
- 16
- 13
Consider the following statements :
(i) Auto increment addressing mode is useful in creating self-relocating code.
(ii) If auto increment addressing mode is included in an instruction set architecture, then an additional ALU is required for effective address calculation.
(iii) In auto increment addressing mode, the amount of increment depends on the size of the data item accessed. Which of the above statements is/are true?
- (i) and (ii) only
- (ii) and (iii) only
- (iii) only
- (ii) only 256 K
A computer uses a memory unit with 256K words of 32 bits each. A binary instruction code is stored in one word of memory. The instruction has four parts: an indirect bit, an operation code, a register code part to specify one of 64 registers, and an address part. How many bits are there in the operation code, the register code part and the address part?
- 7,6,18
- 6,7,18
- 7,7,18
- 18,7,7 x86
Consider the following x86 assembly language instructions: MOV AL, 153 NEG AL The contents of the destination register AL (in 8-bit binary), the status of the Carry Flag (CF) and the Sign Flag (SF) after executing these instructions are
- AL = 01100110; CF = 0; SF = 0
- AL = 01100111; CF = 0; SF = 1
- AL = 01100110; CF = 1; SF = 1
- AL = 01100111; CF = 1; SF = 0
The decimal floating point number -40.1 represented using IEEE-754 32-bit representation and written in hexadecimal form is
- 0xC2206666
- 0xC2206000
- 0xC2006666
- 0xC2006000
Find the boolean expression for the logic circuit shown below : (1-NAND gate, 2-NOR gate, 3-NOR gate)

- AB̄
- ĀB
- AB
- ĀB̄
Consider a disk pack with 32 surfaces, 64 tracks and 512 sectors per pack. 256 bytes of data are stored in a bit serial manner in a sector. The number of bits required to specify a particular sector in the disk is
- 18
- 19
- 20
- 22
Consider a system with 2 level cache. Access times of Level 1 cache, Level 2 cache and main 0.5 ns, 5 ns 100 ns memory are and respectively. The hit rates of Level 1 and Level 2 caches are 0.7 and 0.8 , respectively. What is the average access time of the system ignoring the search time within the cache?
- 35.20 ns
- 7.55 ns
- 20.75 ns
- 24.35 ns
If a graph G has no loops or parallel edges and has n ≥ 3 vertices, then G is Hamiltonian if
(i) deg(v) ≥ n/3 for each vertex v
(ii) deg(v) + deg(w) ≥ n whenever v and w are not connected by an edge
(iii) |E(G)| ≥ (1/3)(n − 1)(n − 2) + 2
- (i) and (iii) only
- (ii) only
- (ii) and (iii) only
- (iii) only
The solution of recurrence relation : T(n) = 2T(sqrt(n)) + lg(n) is
- O(lg(n))
- O(n lg(n))
- O(lg(n) lg(n)
- O(lg(n) lg(lg(n)))
The elements 42,25,30,40,22,35,26 are inserted one by one in the given order into a max-heap. The resultant max-heap is stored in an array implementation as
- <42, 40, 35, 25, 22, 26, 30>
- <42, 35, 40, 22, 25, 30, 26>
- <42, 40, 35, 25, 22,30,26 >
- <42, 35, 40, 22, 25, 26, 30> X Y
Consider two sequences X = ⟨0, 1, 2, 1, 3, 0, 1⟩ and Y = ⟨1, 3, 2, 0, 1, 0⟩. The length of the longest common subsequence of X and Y is
- 2
- 3
- 4
- 5
Consider the postfix expression with single-digit operands: 6 2 3 * / 4 2 * + 6 8 * −. The top two elements of the stack after the second * is evaluated are
- 8,2
- 8,1
- 6,2
- 6,3
A binary search tree is constructed by inserting the following numbers in order : 60,25,72,15,30,68,101,13,18,47,70,34 The number of nodes in the left subtree is
- 5
- 6
- 7
- 3
In a ternary tree, the number of internal nodes of degree 1,2 , and 3 is 4,3 , and 3 respectively. The number of leaf nodes in the ternary tree is
- 9
- 10
- 11
- 12
Match List I with List II and choose the correct answer from the code given below.

Where V and E are the number of vertices and edges in the graph respectively.
- (a)-(i), (b)-(iii), (c)-(ii), (d)-(iv)
- (a)-(iii), (b)-(i), (c)-(ii), (d)-(iv)
- (a)-(i), (b)-(iii), (c)-(iv), (d)-(ii)
- (a)-(iii), (b)-(i), (c)-(iv), (d)-(ii)
A K-colouring of an undirected graph G = (V, E) is a function c : V → {0, 1, …, K − 1} such that c(u) ≠ c(v) for every edge (u, v) ∈ E. For a 2-colourable graph G, which of the following is not correct?
- G is bipartite
- G is 2-colorable
- G has cycles of odd length
- G has no cycles of odd length
Consider a singly linked list. What is the worst case time complexity of the best-known algorithm to delete the node a, pointer to this node is q, from the list?
- O(n log n)
- O(n)
- O(log n)
- O(1)
The second smallest of n elements can be found with ____________ comparisons in the worst case.
- n − 1
- log n
- n + ⌈log n⌉ − 2
- 3n/2
Let r = a(a + b)*, s = aa*b and t = a*b be three regular expressions. Consider:
(i) L(s) ⊆ L(r) and L(s) ⊆ L(t)
(ii) L(r) ⊆ L(s) and L(s) ⊆ L(t)
- Only (i) is correct.
- Only (ii) is correct.
- Both (i) and (ii) are correct.
- Neither (i) nor (ii) is correct. L
Consider the language L = {a^(nk) | k > 0}, where n is a fixed non-negative integer. The minimum number of states of a finite automaton accepting L is
- n
- n + 1
- n(n + 1)/2
- 2ⁿ
The number of substrings that can be formed from a string given by a d e f b g h n m p is
- 10
- 45
- 55
- 56
Consider the languages L₁ = {x | for some y with |y| = 2|x|, xy ∈ L} and L₂ = {x | for some y with |x| = |y|, xy ∈ L}, where L is a regular language. Which one is correct?
- Only L₁ is regular
- Only L₂ is regular
- Both L₁ and L₂ are regular
- Both L₁ and L₂ are not regular
Consider L₁ = {a^(n+m) bⁿ aᵐ | n, m ≥ 0} and L₂ = {a^(n+m) b^(n+m) a^(n+m) | n, m ≥ 0}. Which one is correct?
- Only L₁ is context free
- Only L₂ is context free
- Both L₁ and L₂ are context free
- Both L₁ and L₂ are not context free
Consider to be any regular language and L , L 1 2 be any two context-free languages. Which one of the following is correct?
- L̄₁ is context free
- complement of (L₁ ∪ L₂) − R is context free
- L₁ ∩ L₂ is context free
- L₁ − R is context free
Consider the following problems :
(i) Whether a finite state automaton halts on all inputs ?
(ii) Whether a given context free language is regular?
(iii) Whether a Turing machine computes the product of two numbers? Which one of the following is correct?
- Only (i) and (iii) are undecidable problems
- Only (ii) and (iii) are undecidable problems
- Only (i) and (ii) are undecidable problems
- (i), (ii) and (iii) are undecidable problems
Which of the following problems is decidable for recursive languages L?
- Is L = ϕ?
- Is w ∈ L, where w is a string?
- Is L = Σ*?
- Is L = R, where R is a given regular set?
Consider the grammar G: S → A | B, A → a | c, B → b | c, with non-terminals {S, A, B} and terminals {a, b, c}. S₁: LR(1) can parse all strings generated by G. S₂: LL(1) can parse all strings generated by G.
- Only 1 S
- Only 2 S S
- Both 1 and 2 S S
- Neither 1 nor 2 S → (S)|SS|ε
The grammar S → (S) | SS | ε is not suitable for predictive parsing because the grammar is
- Right recursive
- Left recursive
- Ambiguous
- An operator grammar
If the frame buffer has 10-bits per pixel and 8- bits are allocated for each of the R, G, and B components, then what would be the size of the color lookup table (LUT) ?
- (2⁸ + 2⁹) bytes
- (2¹⁰ + 2⁸) bytes
- (2¹⁰ + 2²⁴) bytes
- (2¹⁰ + 2¹¹) bytes
Which homogeneous 2D matrix transforms the figure (a) on the left side to the figure (b) on the right ?

- [0 2 −6; 2 0 1; 0 0 1]
- [0 −2 6; 1 0 1; 0 0 1]
- [1 −2 6; 1 0 2; 0 0 1]
- [0 2 6; 1 0 1; 0 0 1]
Consider the midpoint (Bresenham) algorithm for rasterizing lines: (1) Input (x₁, y₁) and (x₂, y₂) (2) y = y₁ (3) d = f(x₁ + 1, y₁ + 1/2) // f is the implicit form of the line (4) for x = x₁ to x₂ (5) do (6) plot(x, y) (7) if (d < 0) (8) then (9) y = y + 1 (10) d = d + (y₁ − y₂) + (x₂ − x₁) (11) else (12) d = d + (y₁ − y₂) (13) end (14) end Which statements are true? P: For a line with slope m > 1, the outer loop in line (4) should be over y. Q: Lines (10) and (12) update the decision variable d through an incremental evaluation of the line equation f. R: The algorithm fails if d is ever 0.
- P only
- P and Q only
- Q and R only
- P , Q and R
In 3D Graphics, which of the following statements about perspective and parallel projection is/are true? P : In a perspective projection, the farthest an object is from the centre of projection, the smaller it appears. Q : Parallel projection is equivalent to a perspective projection where the viewer is standing infinitely far away. R : Perspective projections do not preserve straight lines.
Choose the correct answer from the code given below :
- P and Q only
- P and R only
- Q and R only
- P, Q and R
In 3D Graphics, which of the following statements is/are true? P : Back-face culling is an example of an image- precision visible-surface determination procedure. Q : Z-buffer is a 16-bit, 32-bit, or 64-bit field associated with each pixel in a frame buffer that can be used to determine the visible surfaces at each pixel.
- P only
- Q only
- P and Q
- Neither P nor Q
Consider the pseudo-code fragment, where m is a non-negative integer that has been initialized:
p = 0;
k = 0;
while (k < m)
p = p + 2^k;
k = k + 1;
end whileWhich of the following is a loop invariant for the while statement? (A loop invariant is an assertion that is true each time the guard is evaluated.)
- p = 2^k − 1 and 0 ≤ k < m
- p = 2^(k+1) − 1 and 0 ≤ k < m
- p = 2^k − 1 and 0 ≤ k ≤ m
- p = 2^(k+1) − 1 and 0 ≤ k ≤ m
Consider the two C++ programs P1 and P2 shown below and two statements about them:
S1: P1 prints out 3
S2: P2 prints out 4:2 What can you say about S1 and S2?
- Only S1 is true.
- Only S2 is true.
- Both S1 and S2 are true.
- Neither S1 nor S2 is true.
Consider the following recursive Java function f that takes two long arguments and returns a
float value :
public static float f(long m, long n)
{
float result =(float )m/(float )n;
if (m<0||n<0)
return 0.0f ;
else
result +=f(m∗2,n∗3);
return result;
}Which of the following integers best approximates the value of f(2,3)?
- 0
- 1
- 2
- 3
What does the following Java function perform? (Assume int occupies four bytes of storage) public static int f(
int a)
{ // Pre-conditions : a>0 and no
overflow/underflow occurs int b=0 ;
for (int i=0; i<32; i++)
{
b=b<<1 ;
b=b | (a & 1);
a=a≫>1;// This is a logical shift
}
return b;
}- Returns the int that has the binary representation of integer a.
- Return the int that has the reversed binary representation of integer a.
- Return the int that represents the number of 1's in the binary representation of integer a.
- Return the int that represents the number of 0's in the binary representation of integer a.
Which of the following HTML5 codes will affect the horizontal as well as vertical alignment of the table content?
- <td halign="middle" valign="center"> BASH <td >
- <td align="middle" valign="center"> BASH </td>
- <td style="horizontal-align : center; vertical- align : middle;">BASH < td>
- <td style="text-align : center; vertical-align : middle;"> BASH </td>
Consider the C/C++ function f() given below:
void f(char w[])
{
int x = strlen(w); // length of the string
char c;
for (int i = 0; i < x; i++)
{
c = w[i];
w[i] = w[x − i − 1];
w[x − i − 1] = c;
}
}Which of the following is the purpose of f()?
- It outputs the contents of the array in reverse order.
- It outputs the contents of the array in the original order.
- It outputs the contents of the array with the characters shifted over by one position.
- It outputs the contents of the array with the characters rearranged so they are no longer recognized as the words in the original phrase.
- Correct
- Consistent
- Unambiguous
- Verifiable
- To rectify bugs observed while the system is in use.
- When the customers need the product to run on new platforms.
- To support the new features that users want it to support.
- To overcome wear and tear caused by the repeated use of the software.
List-I
(a) State Diagram
(b) Use-Case Diagram
(c) Class Diagram
(d) Activity Diagram
List-II
(i) Describes how the external entities (people, devices) can interact with the system
(ii) Used to describe the static or structural view of a system
(iii) Used to show the flow of a business process, the steps of a use-case or the logic of an object behaviour
(iv) Used to describe the dynamic behaviour of objects and could also be used to describe the entire system behaviour
- (a)-(i), (b)-(iv), (c)-(iii), (d)-(ii)
- (a)-(iv), (b)-(ii), (c)-(i), (d)-(iii)
- (a)-(iv), (b)-(i), (c)-(ii), (d)-(iii)
- (a)-(i), (b)-(iv), (c)-(ii), (d)-(iii)
Which of the following statements is/are false? P: The clean-room strategy for software engineering is based on the incremental software process model. Q: The clean-room strategy to software engineering is one of the ways to overcome "unconscious" copying of copyrighted code.
- P only
- Q only
- Both P and Q
- Neither P nor Q
Consider the following method:
int f(int m, int n, boolean x, boolean y)
{
int res = 0;
if (m < 0) { res = n − m; }
else if (x || y) {
res = −1;
if (n == m) { res = 1; }
}
else { res = n; }
return res;
} /* end of f */If P is the minimum number of tests for full statement coverage of f() and Q is the minimum number for full branch coverage, then (P, Q) =
- (3,4)
- (4,3)
- (2,3)
- (3,2)
- 0.725
- 0.923
- 0.849
- 0.524
P: Software Reengineering is preferable for software products having high failure rates, having poor design and/or having poor code structure.
Q: Software Reverse Engineering is the process of analyzing software with the objective of recovering its design and requirement specification.
- P only
- Neither P nor Q
- Q only
- Both P and Q
- Following the plan
- Embrace change
- Customer involvement
- Incremental delivery
P: Common Coupling occurs when two modules share the same global data.
Q: Control Coupling occurs when modules share a composite data structure and use only part of it.
R: Content Coupling occurs when one module modifies or relies on the internal working of another module.
- P and Q only
- P and R only
- Q and R only
- All of P, Q and R
Match the following Secret Key Algorithms (List I) with the Corresponding Key Lengths (List II) and choose the correct answer from the code given below.

- (a)-(iv), (b)-(iii), (c)-(ii), (d)-(i)
- (a)-(iii), (b)-(iv), (c)-(i), (d)-(ii)
- (a)-(iii), (b)-(iv), (c)-(ii), (d)-(i)
- (a)-(ii), (b)-(iii), (c)-(iv), (d)-(i)
The four byte IP Address consists of
- Network Address
- Host Address
- Both Network and Host Addresses
- Neither Network nor Host Address
Consider ISO-OSI network architecture reference model. Session layer of this model offers dialog control, token management and .________ as services.
- Synchronization
- Asynchronization
- Flow Control
- Errors
- SaaS
- IaaS
- MaaS
- PaaS
The Third Generation mobile phones are digital and based on
- AMPS
- D-AMPS
- CDMA
- Broadband CDMA
Which of the following statement/s is/are true?
(i) Firewalls can screen traffic going into or out of an organization.
(ii) Virtual private networks can simulate an old leased network to provide certain desirable properties.
- (i) only
- (ii) only
- Both (i) and (ii)
- Neither (i) nor (ii)
Which of the following statement/s is/are true?
(i) Windows XP supports both peer-peer and client-server networks.
(ii) Windows XP implements Transport protocols as drivers that can be loaded and unloaded from the system dynamically.
- (i) only
- (ii) only
- Neither (i) nor (ii)
- Both (i) and (ii)
In Linux operating system environment _______ command is used to print a file.
- ptr
- pr
- lpr
To overcome difficulties in Readers-Writers problem, which of the following statement/s is/are true?
(i) Writers are given exclusive access to shared objects.
(ii) Readers are given exclusive access to shared objects.
(iii) Both Readers and Writers are given exclusive access to shared objects.
- (i) only
- (ii) only
- (iii) only
- Both (ii) and (iii)
Suppose a system has 12 instances of some resource with n processes competing for that resource. Each process may require 4 instances of the resource. The maximum value of n for which the system never enters into deadlock is
- 3
- 4
- 5
- 6
Dirty bit is used to show the
- wrong page
- page with corrupted data
- page with low frequency occurrence
- page that is modified after being loaded into cache memory
Suppose for a process P, reference to pages in order are (1,2,4,5,2,1,2,4). Assume that main memory can accomodate 3 pages and the main memory has already pages 1 and 2 in the order 1 - first, 2 - second. At this moment, assume FIFO Page Replacement Algorithm is used then the number of page faults that occur to complete the execution of process P is
- 4
- 3
- 5
- 6
Consider the following processes with CPU burst times in milliseconds (table below). The processes are scheduled with Round-Robin scheduling with a time quantum of 4 ms. The waiting time for P₄ is ___ ms.
- 0
- 4
- 12
- 6
Suppose P, Q, and R are cooperating processes satisfying Mutual Exclusion conditions. Then, if Q the process is executing in its critical section then
- Both ' P ' and 'R ' execute in the critical section.
- Neither ' P ' nor ' R ' executes in their critical section.
- 'P' executes in the critical section.
- ' R ' executes in the critical section.
A process residing in Main Memory and Ready and Waiting for execution is kept on?
- Execution Queue
- Job Queue
- Ready Queue
- Wait Queue
______ system call creates new process in Unix.
- create
- create new
- fork
- fork new
An attribute A of datatype varchar(20) has the value 'xyz', and the attribute B of datatype char(20) has the value 'lmnop'. Then attribute A has ___ spaces and attribute B has ___ spaces.
- 3,5
- 20,20
- 3,20
- 20,5
Data warehouse contains _____ data that is never found in the operational environment.
- Summary
- Encoded
- Encrypted
- Scripted
_____command is used to remove a relation from an SQL database.
- Drop table
- Delete table
- Remove table
- Update table
Which of the following statements is/are true?
(i) Facebook has the world's largest Hadoop cluster.
(ii) Hadoop 2.0 allows live stream processing of real-time data.
- (i) only
- (ii) only
- Both (i) and (ii)
- Neither (i) nor (ii)
Data scrubbing is
- A process to reject data from the data warehouse and to create the necessary indexes.
- A process to load the data in the data warehouse and to create the necessary indexes.
- A process to upgrade the quality of data after it is moved into a data warehouse.
- A process to upgrade the quality of data before it is moved into a data warehouse.
Consider a relation schema R = (A, B, C, D, E, F) on which the following functional dependencies hold :
A → B B, C → D
E → C
D → A What are the candidate keys of R?
- AE and BE
- AE, BE, and DE
- AEF, BEF and BCF
- AEF, BEF and DEF
Consider two transactions on account A (initial balance 20,000): T1 transfers 5,000 to account B, then T2 applies 10% interest to A. The log is:
(i) T1 start
(ii) T1, A, old = 20,000, new = 15,000
(iii) T1, B, old = 12,000, new = 17,000
(iv) T1 commit
(v) T2 start
(vi) T2, A, old = 15,000, new = 16,500 (vii) T2 commit Suppose the database crashes just before log record (vii) is written. When the system restarts, which statement is true of the recovery process?
- We must redo log record (vi) to set A to 16,500 .
- We must undo log record (vi) to set A to 16,500 and then redo log records (ii) and (iii).
- We need not redo log records (ii) and (iii) because transaction T1 has committed.
- We can apply redo and undo operations in arbitrary order because they are idempotent.
Consider the tables Students(Roll-No, Name) and Performance(Roll-No, Course, Marks) shown below; Students also contains the row (18CS103, Ramesh). Primary keys are underlined. Consider the query: SELECT S.Name, SUM(P.Marks) FROM Students S, Performance P WHERE S.Roll-No = P.Roll-No GROUP BY S.Name The number of rows returned is
- 0
- 1
- 2
- 3
A clustering index is defined on the fields which are of type
- non-key and ordering
- non-key and non-ordering
- key and ordering
- key and non-ordering
A host is connected to a department network which is part of a university network. The university network, in turn, is part of the Internet. The largest network, in which the Ethernet address of the host is unique, is
- the Internet
- the university network
- the department network
- the subnet to which the host belongs
An ISP has the CIDR block 245.248.128.0/20. It wants to give half of it to organization A and a quarter to organization B, keeping the rest. Which is a valid allocation to A and B?
- 245.248.136.0/21 and 245.248.128.0/22
- 245.248.128.0/21 and 245.248.128.0/22
- 245.248.132.0/22 and 245.248.132.0/21
- 245.248.136.0/24 and 245.248.132.0/21
Consider the following two statements :
S1 : TCP handles both congestion and flow control
S2 : UDP handles congestion but not flow control Which of the following options is correct with respect to the above statements (S1) and S2)?
- Neither S1 nor S2 is correct
- S1 is not correct but S2 is correct
- S1 is correct but S2 is not correct
- Both S1 and S2 are correct
Identify the correct sequence in which the following packets are transmitted on the network by a host when a browser requests a webpage from a remote server, assuming that the host has just been restarted.
- HTTP GET request, DNS query, TCP SYN
- DNS query, HTTP GET request, TCP SYN
- TCP SYN, DNS query, HTTP GET request
- DNS query, TCP SYN, HTTP GET request
Everyone in a group of N people wants to communicate secretly with the N − 1 others using a symmetric key system, with no pair's traffic decodable by the others. The number of keys required in the system as a whole is
- N(N − 1)
- N(N − 1)/2
- 2N
- (N − 1)²
An agent can improve its performance by
- Perceiving
- Responding
- Learning
- Observing
Which of the following is true for semi-dynamic environment?
- The environment may change while the agent is deliberating.
- The environment itself does not change with the passage of time but the agent's performance score does.
- Even if the environment changes with the passage of time while deliberating, the performance score does not change.
- Environment and performance score, both change simultaneously.
Consider the following terminology and match
List I with List II and choose the correct answer from the code given below. b= branching factor d= depth of the shallowest solution m= Maximum depth of the search tree l = Depth limit

- (a)-(i), (b)-(ii), (c)-(iv), (d)-(iii)
- (a)-(ii), (b)-(iii), (c)-(iv), (d)-(i)
- (a)-(iii), (b)-(ii), (c)-(iv), (d)-(i)
- (a)-(i), (b)-(iii), (c)-(iv), (d)-(ii)
Match List I with List II and choose the correct answer from the code given below.

- (a)-(i), (b)-(ii), (c)-(iii), (d)-(iv)
- (a)-(iv), (b)-(i), (c)-(ii), (d)-(iii)
- (a)-(iv), (b)-(iii), (c)-(ii), (d)-(i)
- (a)-(i), (b)-(iv), (c)-(iii), (d)-(ii)
Consider the following statements :
S1: A heuristic is admissible if it never overestimates the cost to reach the goal.
S2: A heuristic is monotonous if it follows the triangle inequality property. Which one of the following is true referencing the above statements?
- Neither of the statements S1 and S2 are true.
- Statement S1 is false but statement S2 is true.
- Statement S1 is true but statement S2 is false.
- Both the statements S1 and S2 are true.
Consider the following statements related to AND-OR Search algorithm. S1 A solution is a subtree that has a goal node at every leaf. S2 OR nodes are analogous to the branching in a deterministic environment. S3 AND nodes are analogous to the branching in a non-deterministic environment. Which one of the following is true referencing the above statements ?
- S1 - False, S2 - True, S3 - False
- S1 - True, S2 - True, S3 - False
- S1 - True, S2 - True, S3 - True
- S1 - False, S2 - True, S3 - False
Consider the following minimax game tree search

What will be the value propagated at the root?
- 3
- 4
- 5
- 6
Consider a vocabulary with only four propositions A, B, C, and D. How many models are there for the following sentence? ¬A ∨ ¬B ∨ ¬C ∨ ¬D
- 7
- 8
- 15
- 16
Consider the sentence below. "There is a country that borders both India and Nepal." Which of the following represents the above sentence correctly?
- ∃c Country(c) ∧ Border(c, India) ∧ Border(c, Nepal)
- ∃c Country(c) ⇒ [Border(c, India) ∧ Border(c, Nepal)]
- [∃c Country(c)] ⇒ [Border(c, India) ∧ Border(c, Nepal)]
- ∃c Border(Country(c), India ∧ Nepal)
A full joint distribution for the Toothache, Cavity, and Catch is given in the table below:

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