Exam Details
Computer Science & Information Technology (CS) 2014 [Session 1]
Review the key details, then start the test when you are ready. You can also open the full package to see related papers.
Questions
65
Duration
180 mins
Total Marks
94
Paper pattern & analysis
Available question types, difficulty and classifications for this paper.
Topic distribution
Subtopic distribution
Difficulty distribution
65questions
Medium
43
66.2%
Easy
21
32.3%
Hard
1
1.5%
Question type distribution
65questions
MCQ
39
60%
Numerical Answer Type (NAT)
25
38.5%
MSQ
1
1.5%
Full Syllabus
Practise paper questions
Choose your answer to check it. Log in to view the explanation. For a timed attempt and result, start the exam.
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
Which of the following options is the closest in meaning to the phrase underlined in the sentence below?
It is fascinating to see life forms cope with varied environmental conditions.
It is fascinating to see life forms cope with varied environmental conditions.
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
Choose the most appropriate word from the options given below to complete the following sentence.
He could not understand the judges awarding her the first prize, because he thought that her performance was quite ______.
He could not understand the judges awarding her the first prize, because he thought that her performance was quite ______.
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
In a press meet on the recent scam, the minister said, “The buck stops here”. What did the minister convey by the statement?
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
If \((z + 1/z)^2 = 98\), compute \((z^2 + 1/z^2)\).
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
The roots of \(ax^2 + bx + c = 0\) are real and positive, \(a\), \(b\), and \(c\) are real. Then \(ax^2 + b|x| + c = 0\) has
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
The Palghat Gap (or Palakkad Gap), a region about 30 km wide in the southern part of the Western Ghats in India, is lower than the hilly terrain to its north and south. The exact reasons for the formation of this gap are not clear. It results in the neighbouring regions of Tamil Nadu getting more rainfall from the South West monsoon and the neighbouring regions of Kerala having higher summer temperatures.
What can be inferred from this passage?
What can be inferred from this passage?
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
Consider the following Boolean expression for F: \( F(P, Q, R, S) = PQ + \bar{P}QR + \bar{P}Q\bar{R}S \) The minimal sum-of-products form of F is
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
The base (or radix) of the number system such that the following equation holds is ________. \( \frac{312}{20} = 13.1 \)
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
A machine has a 32-bit architecture, with 1-word long instructions. It has 64 registers, each of which is 32 bits long. It needs to support 45 instructions, which have an immediate operand in addition to two register operands. Assuming that the immediate operand is an unsigned integer, the maximum value of the immediate operand is ________.
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
Consider the following program in C language:
#include <stdio.h>
main()
{
int i;
int *pi = &i;
scanf("%d", pi);
printf("%d\n", i+5);
}Which one of the following statements is TRUE?
#include <stdio.h>
main()
{
int i;
int *pi = &i;
scanf("%d", pi);
printf("%d\n", i+5);
}Which one of the following statements is TRUE?
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
Let G be a graph with n vertices and m edges. What is the tightest upper bound on the running time of Depth First Search on G, when G is represented as an adjacency matrix?
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
Consider a rooted n node binary tree represented using pointers. The best upper bound on the time required to determine the number of subtrees having exactly 4 nodes is O(n^a log^b n). Then the value of a + 10b is ________.
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
Consider the directed graph given below. Which one of the following is TRUE?

PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
Let P be a quicksort program to sort numbers in ascending order using the first element as the pivot. Let t1 and t2 be the number of comparisons made by P for the inputs [1 2 3 4 5] and [4 1 5 3 2] respectively. Which one of the following holds?
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
Which one of the following is TRUE?
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
Consider the finite automaton in the following figure.
What is the set of reachable states for the input string 0011?
What is the set of reachable states for the input string 0011?
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
Which one of the following is FALSE?
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
Match the following:
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
Suppose a disk has 201 cylinders, numbered from 0 to 200. At some time the disk arm is at cylinder 100, and there is a queue of disk access requests for cylinders 30, 85, 90, 100, 105, 110, 135 and 145. If Shortest-Seek Time First (SSTF) is being used for scheduling the disk access, the request for cylinder 90 is serviced after servicing ______ number of requests.
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
Which one of the following is FALSE?
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
Consider the relation scheme R = (E, F, G, H, I, J, K, L, M, N) and the set of functional dependencies {{E, F} → {G}, {F} → {I, J}, {E, H} → {K, L}, {K} → {M}, {L} → {N}} on R. What is the key for R?
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
Given the following statements:
S1: A foreign key declaration can always be replaced by an equivalent check assertion in SQL.
S2: Given the table R(a, b, c) where a and b together form the primary key, the following is a valid table definition.
CREATE TABLE S ( a INTEGER, d INTEGER, e INTEGER, PRIMARY KEY (d), FOREIGN KEY (a) references R)
Which one of the following statements is CORRECT?
S1: A foreign key declaration can always be replaced by an equivalent check assertion in SQL.
S2: Given the table R(a, b, c) where a and b together form the primary key, the following is a valid table definition.
CREATE TABLE S ( a INTEGER, d INTEGER, e INTEGER, PRIMARY KEY (d), FOREIGN KEY (a) references R)
Which one of the following statements is CORRECT?
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
Consider the following three statements about link state and distance vector routing protocols, for a large network with 500 network nodes and 4000 links.
[S1] The computational overhead in link state protocols is higher than in distance vector protocols.
[S2] A distance vector protocol (with split horizon) avoids persistent routing loops, but not a link state protocol.
[S3] After a topology change, a link state protocol will converge faster than a distance vector protocol.
Which one of the following is correct about S1, S2, and S3 ?
[S1] The computational overhead in link state protocols is higher than in distance vector protocols.
[S2] A distance vector protocol (with split horizon) avoids persistent routing loops, but not a link state protocol.
[S3] After a topology change, a link state protocol will converge faster than a distance vector protocol.
Which one of the following is correct about S1, S2, and S3 ?
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
Which of the following are used to generate a message digest by the network security protocols?
(P) RSA (Q) SHA-1 (R) DES (S) MD5
(P) RSA (Q) SHA-1 (R) DES (S) MD5
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
Identify the correct order in which the following actions take place in an interaction between a web browser and a web server.
1. The web browser requests a webpage using HTTP.
2. The web browser establishes a TCP connection with the web server.
3. The web server sends the requested webpage using HTTP.
4. The web browser resolves the domain name using DNS.
1. The web browser requests a webpage using HTTP.
2. The web browser establishes a TCP connection with the web server.
3. The web server sends the requested webpage using HTTP.
4. The web browser resolves the domain name using DNS.
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
Consider a token ring network with a length of 2 km having 10 stations including a monitoring station. The propagation speed of the signal is \(2 \times 10^8\) m/s and the token transmission time is ignored. If each station is allowed to hold the token for 2 μsec, the minimum time for which the monitoring station should wait (in μsec) before assuming that the token is lost is __________.
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
Let the size of congestion window of a TCP connection be 32 KB when a timeout occurs. The round trip time of the connection is 100 msec and the maximum segment size used is 2 KB. The time taken (in msec) by the TCP connection to get back to 32 KB congestion window is __________.
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
Consider a selective repeat sliding window protocol that uses a frame size of 1 KB to send data on a 1.5 Mbps link with a one-way latency of 50 msec. To achieve a link utilization of 60%, the minimum number of bits required to represent the sequence number field is __________.
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
Consider the following four schedules due to three transactions (indicated by the subscript) using read and write on a data item x, denoted by \(r(x)\) and \(w(x)\) respectively. Which one of them is conflict serializable?
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
Given the following two statements:
S1: Every table with two single-valued attributes is in 1NF, 2NF, 3NF and BCNF.
S2: AB→C, D→E, E→C is a minimal cover for the set of functional dependencies AB→C, D→E, AB→E, E→C.
Which one of the following is CORRECT?
S1: Every table with two single-valued attributes is in 1NF, 2NF, 3NF and BCNF.
S2: AB→C, D→E, E→C is a minimal cover for the set of functional dependencies AB→C, D→E, AB→E, E→C.
Which one of the following is CORRECT?
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
An operating system uses the Banker’s algorithm for deadlock avoidance when managing the allocation of three resource types X, Y, and Z to three processes P0, P1, and P2. The table given below presents the current system state. Here, the Allocation matrix shows the current number of resources of each type allocated to each process and the Max matrix shows the maximum number of resources of each type required by each process during its execution.
There are 3 units of type X, 2 units of type Y and 2 units of type Z still available. The system is currently in a safe state. Consider the following independent requests for additional resources in the current state:
REQ1: P0 requests 0 units of X, 0 units of Y and 2 units of Z
REQ2: P1 requests 2 units of X, 0 units of Y and 0 units of Z
Which one of the following is TRUE?
| Allocation | Max | |||||
|---|---|---|---|---|---|---|
| X | Y | Z | X | Y | Z | |
| P0 | 0 | 0 | 1 | 8 | 4 | 3 |
| P1 | 3 | 2 | 0 | 6 | 2 | 0 |
| P2 | 2 | 1 | 1 | 3 | 3 | 3 |
There are 3 units of type X, 2 units of type Y and 2 units of type Z still available. The system is currently in a safe state. Consider the following independent requests for additional resources in the current state:
REQ1: P0 requests 0 units of X, 0 units of Y and 2 units of Z
REQ2: P1 requests 2 units of X, 0 units of Y and 0 units of Z
Which one of the following is TRUE?
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
Consider the following set of processes that need to be scheduled on a single CPU. All the times are given in milliseconds.
Using the shortest remaining time first scheduling algorithm, the average process turnaround time (in msec) is ____________________.
| Process Name | Arrival Time | Execution Time |
|---|---|---|
| A | 0 | 6 |
| B | 3 | 2 |
| C | 5 | 4 |
| D | 7 | 6 |
| E | 10 | 3 |
Using the shortest remaining time first scheduling algorithm, the average process turnaround time (in msec) is ____________________.
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
Assume that there are 3 page frames which are initially empty. If the page reference string is 1, 2, 3, 4, 2, 1, 5, 3, 2, 4, 6, the number of page faults using the optimal replacement policy is ____________.
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
A canonical set of items is given below
\(S \to L . > R\)
\(Q \to R .\)
On input symbol
\(S \to L . > R\)
\(Q \to R .\)
On input symbol
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
Let \(L\) be a language and \(\bar{L}\) be its complement. Which one of the following is NOT a viable possibility?
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
Which of the regular expressions given below represent the following DFA?
I) \(0^*1(1+00^*1)^*\)
II) \(0^*1^*1+11^*0^*1\)
III) \((0+1)^*1\)
I) \(0^*1(1+00^*1)^*\)
II) \(0^*1^*1+11^*0^*1\)
III) \((0+1)^*1\)
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
There are 5 bags labeled 1 to 5. All the coins in a given bag have the same weight. Some bags have coins of weight 10 gm, others have coins of weight 11 gm. I pick 1, 2, 4, 8, 16 coins respectively from bags 1 to 5. Their total weight comes out to 323 gm. Then the product of the labels of the bags having 11 gm coins is ___.
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
Suppose a polynomial time algorithm is discovered that correctly computes the largest clique in a given graph. In this scenario, which one of the following represents the correct Venn diagram of the complexity classes P, NP and NP Complete (NPC)?
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
The minimum number of comparisons required to find the minimum and the maximum of 100 numbers is _______________________.
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
Consider a hash table with 9 slots. The hash function is \(h(k) = k \bmod 9\). The collisions are resolved by chaining. The following 9 keys are inserted in the order: 5, 28, 19, 15, 20, 33, 12, 17, 10. The maximum, minimum, and average chain lengths in the hash table, respectively, are
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
Consider the following C function in which size is the number of elements in the array E:
int MyX(int *E, unsigned int size)
{
int Y = 0;
int Z;
int i, j, k;
for(i = 0; i Y = Y + E[i];
for(i = 0; i for(j = i; j {
Z = 0;
for(k = i; k Z = Z + E[k];
if (Z > Y)
Y = Z;
}
return Y;
}
The value returned by the function MyX is the
int MyX(int *E, unsigned int size)
{
int Y = 0;
int Z;
int i, j, k;
for(i = 0; i Y = Y + E[i];
for(i = 0; i for(j = i; j {
Z = 0;
for(k = i; k Z = Z + E[k];
if (Z > Y)
Y = Z;
}
return Y;
}
The value returned by the function MyX is the
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
Consider the following pseudo code. What is the total number of multiplications to be performed?
D = 2
for i = 1 to n do
for j = i to n do
for k = j + 1 to n do
D = D * 3
D = 2
for i = 1 to n do
for j = i to n do
for k = j + 1 to n do
D = D * 3
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
Consider a 6-stage instruction pipeline, where all stages are perfectly balanced. Assume that there is no cycle-time overhead of pipelining. When an application is executing on this 6-stage pipeline, the speedup achieved with respect to non-pipelined execution if 25% of the instructions incur 2 pipeline stall cycles is _______________________.
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
An access sequence of cache block addresses is of length N and contains n unique block addresses. The number of unique block addresses between two consecutive accesses to the same block address is bounded above by k. What is the miss ratio if the access sequence is passed through a cache of associativity A ≥ k exercising least-recently-used replacement policy?
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
Consider the 4-to-1 multiplexer with two select lines S₁ and S₀ given below.
The minimal sum-of-products form of the Boolean expression for the output F of the multiplexer is
The minimal sum-of-products form of the Boolean expression for the output F of the multiplexer is
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
The function f(x) = x sin x satisfies the following equation: f''(x) + f(x) + t cos x = 0. The value of t is ______.
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
A function f(x) is continuous in the interval [0,2]. It is known that f(0) = f(2) = -1 and f(1) = 1. Which one of the following statements must be true?
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
Four fair six-sided dice are rolled. The probability that the sum of the results being 22 is X/1296. The value of X is ______.
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
A pennant is a sequence of numbers, each number being 1 or 2. An n-pennant is a sequence of numbers with sum equal to n. For example, (1,1,2) is a 4-pennant. The set of all possible 1-pennants is {(1)}, the set of all possible 2-pennants is {(2), (1,1)} and the set of all 3-pennants is {(2,1), (1,1,1), (1,2)}. Note that the pennant (1,2) is not the same as the pennant (2,1). The number of 10-pennants is ______.
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
Let S denote the set of all functions f: {0,1}⁴ → {0,1}. Denote by N the number of functions from S to the set {0,1}. The value of log₂ log₂ N is ______.
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
Consider an undirected graph G where self-loops are not allowed. The vertex set of G is {(i,j): 1 ≤ i ≤ 12, 1 ≤ j ≤ 12}. There is an edge between (a,b) and (c,d) if |a − c| ≤ 1 and |b − d| ≤ 1. The number of edges in this graph is ______.
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
An ordered n-tuple (d₁, d₂, ..., dₙ) with d₁ ≥ d₂ ≥ ... ≥ dₙ is called graphic if there exists a simple undirected graph with n vertices having degrees d₁, d₂, ..., dₙ respectively. Which of the following 6-tuples is NOT graphic?
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
Which one of the following propositional logic formulas is TRUE when exactly two of p, q, and r are TRUE?
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
Given the following schema:
employees(emp-id, first-name, last-name, hire-date,
dept-id, salary)
departments(dept-id, dept-name, manager-id, location-id)
You want to display the last names and hire dates of all latest hires in their respective departments in the location ID 1700. You issue the following query:
SQL>SELECT last-name, hire-date
FROM employees
WHERE (dept-id, hire-date) IN
(SELECT dept-id, MAX(hire-date)
FROM employees JOIN departments USING(dept-id)
WHERE location-id = 1700
GROUP BY dept-id);
What is the outcome?
employees(emp-id, first-name, last-name, hire-date,
dept-id, salary)
departments(dept-id, dept-name, manager-id, location-id)
You want to display the last names and hire dates of all latest hires in their respective departments in the location ID 1700. You issue the following query:
SQL>SELECT last-name, hire-date
FROM employees
WHERE (dept-id, hire-date) IN
(SELECT dept-id, MAX(hire-date)
FROM employees JOIN departments USING(dept-id)
WHERE location-id = 1700
GROUP BY dept-id);
What is the outcome?
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
Consider two processors P₁ and P₂ executing the same instruction set. Assume that under identical conditions, for the same input, a program running on P₂ takes 25% less time but incurs 20% more CPI (clock cycles per instruction) as compared to the program running on P₁. If the clock frequency of P₁ is 1GHz, then the clock frequency of P₂ (in GHz) is _________.
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
Consider the statement
“Not all that glitters is gold”
Predicate glitters(x) is true if x glitters and predicate gold(x) is true if x is gold. Which one of the following logical formulae represents the above statement?
“Not all that glitters is gold”
Predicate glitters(x) is true if x glitters and predicate gold(x) is true if x is gold. Which one of the following logical formulae represents the above statement?
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
Suppose you break a stick of unit length at a point chosen uniformly at random. Then the expected length of the shorter stick is ________.
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
Let G=(V,E) be a directed graph where V is the set of vertices and E the set of edges. Then which one of the following graphs has the same strongly connected components as G?
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
Consider the following system of equations:
3x + 2y = 1
4x + 7z = 1
x + y + z = 3
x - 2y + 7z = 0
The number of solutions for this system is ________________
3x + 2y = 1
4x + 7z = 1
x + y + z = 3
x - 2y + 7z = 0
The number of solutions for this system is ________________
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
The value of the dot product of the eigenvectors corresponding to any pair of different eigenvalues of a 4-by-4 symmetric positive definite matrix is _______________.
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
Let the function \( f(\theta) = \begin{vmatrix} \sin \theta & \cos \theta & \tan \theta \\ \sin(\pi/6) & \cos(\pi/6) & \tan(\pi/6) \\ \sin(\pi/3) & \cos(\pi/3) & \tan(\pi/3) \end{vmatrix} \) where \( \theta \in [\pi/6, \pi/3] \) and \( f'(\theta) \) denote the derivative of \( f \) with respect to \( \theta \). Which of the following statements is/are TRUE? (I) There exists \( \theta \in (\pi/6, \pi/3) \) such that \( f'(\theta) = 0 \). (II) There exists \( \theta \in (\pi/6, \pi/3) \) such that \( f'(\theta) \neq 0 \).
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
PYP
Computer Science & Information Technology (CS) 2014 [Session 1]
Showing 5 of 65 questions