In how many different ways can the letter of the word “INDEPENDENCE” be arranged so that the vowels always come together?
33,600
16800
3360
22,400
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
Mr. Harry invested an amount of Rs.12600 divided in two different schemes P and Q at the simple interest rate of 12% p.a. and 9% p.a. respectively. If the total amount of simple interest earned in 3 years is Rs.4230, what is the difference between the invested amount in scheme P and scheme Q?
5800
3400
9200
4700
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
John walked 8km/hr instead of 13km/hr he would have walked 25km more. The actual distance travelled by him is
65km
40km
35km
30km
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
Study the following information and answer the questions given below:

Eight friends A, B, C, D, E, F, G and H are sitting around a circular table not necessarily in the same order. Three of them are facing outward while five are facing towards the centre. There are an equal number of males and females in the group.

C is facing the centre. E is sitting third to the right of C.

F is sitting third to the left of E. Three people are sitting between F and B. The immediate neighbours of B are females. G is sitting third to the right of F. D is sitting third to the right of A. A is not an immediate neighbour of E. The immediate neighbours of E are males and facing the centre. The immediate neighbours of D are females and face outside. The one sitting third to the left of B is a male. No female is an immediate neighbour of G.

Four of the following five are alike in a certain way based on their seating positions in the above arrangement and hence form a group. Which of the following differs from a group?

B
F
G
A
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66

Study the following information and answer the questions given below:

Eight friends A, B, C, D, E, F, G and H are sitting around a circular table not necessarily in the same order. Three of them are facing outward while five are facing towards the centre. There are an equal number of males and females in the group.

C is facing the centre. E is sitting third to the right of C.

F is sitting third to the left of E. Three people are sitting between F and B. The immediate neighbours of B are females. G is sitting third to the right of F. D is sitting third to the right of A. A is not an immediate neighbour of E. The immediate neighbours of E are males and facing the centre. The immediate neighbours of D are females and face outside. The one sitting third to the left of B is a male. No female is an immediate neighbour of G.

What is D’s position with respect to G?

Third to the right

First to the right

Second to the right

Second to the left

Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
Study the following information and answer the questions given below:

Eight friends A, B, C, D, E, F, G and H are sitting around a circular table not necessarily in the same order. Three of them are facing outward while five are facing towards the centre. There are an equal number of males and females in the group.

C is facing the centre. E is sitting third to the right of C.

F is sitting third to the left of E. Three people are sitting between F and B. The immediate neighbours of B are females. G is sitting third to the right of F. D is sitting third to the right of A. A is not an immediate neighbour of E. The immediate neighbours of E are males and facing the centre. The immediate neighbours of D are females and face outside. The one sitting third to the left of B is a male. No female is an immediate neighbour of G.

How many persons are sitting between H and C when counted from the left side of H?

one
two
three
four
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
What is the meaning of the word ' scrumptious'? [MSQ]
delicious
filthy
gorgeous
nasty
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.00
Which question word will you use for the answer 'because it was raining'
when
why
how
whose
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
Ladder: Stairs :: Feathers : ?
fly
birds
wings
aeroplane
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
Read the passage and answer the question

PASSAGE

When we imagine a forest, we think of green plants, shrubs, algae, insects, animals, butterflies, mushrooms, flowers, creepers and many more living beings that lend vibrancy to this wonderful aspect of nature.

Dead trees are referred to as ‘snags’. What happens when a tree dies in the forest? No one removes it, let alone destroys it, by burning or burying, it is just left to be. Of what good is a dead tree? Well, when a tree dies, the tree itself may have ceased to live, but it continues to foster the intricate ecosystem of biota that is truly enthralling. A dead tree is a valuable habitat for a host of other species like birds, insects and reptiles. It hosts algae, lichen and moss, which in turn provide food and sustenance to a host of other organisms. That is why in informed societies where forests are part of conservation plans, dead trees - whether standing or fallen - are left undisturbed to exist cheek-by-jowl with other constituents of the forest. A tree that has been dead for a very, very long time might start disintegrating with sustained response to sunlight, rain, moisture and wind. Even as it disintegrates, it turns into valuable compost with minerals and roughage that enriches the soil of the forest.

The Northern Illinois Forestry Association lists atleast 38 species of birds `` that sceavate nest holes or use existing holes in dead or dying trees are 29 species of mammals that use tree cavaliers for various purposes ”.

What is the meaning of the idiom cheek-by-jowl?

Spacious
Very close together
overshadowed
Crowded
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
A minimum spanning tree has X edges and if there are 10 numbers of vertices in the given graph.

Then X is ____

9
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.00
The output of the following code snippet will be (1 mark)

char x = ‘Q’;

switch (x) {

case ‘P’: printf(“a”);

case ‘Q’: printf(“b”);

case ‘R’: printf(“c”);

}

abc
c
b
bc
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
What will be the output of the following code segment?

main() {

char arr[10];

strcpy(arr, "gate");

printf(“%d %d”, strlen(arr), size of(arr));

}

4 10
10 4
4 4
10 10
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
What will be the output of the following program a=5. (1 mark)

#include<stdio.h>

void print (int a)

{

if (a > 0)

{

printf ("&");

a--;

print (a);

}

if (a!=0)

printf ("@");

}

&&&&&@@@@@
&&&&&@@@@
&&&&@@@@@
&&&&@@@@
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
A binary tree T has 9 nodes. The inorder and preorder traversals of T yield the following sequences of nodes:

In Order: EACKFHDBG

Pre order:FAEKCDHGB

What will be the post order traversal for above tree?

ECKAHBGDF
ECKABHGDF
ECKHABGDF
ECAKHBGDF
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
What will be the equivalent postfix expression for:((A-B)/ ((D+E)*F))
AB-DE+F*/
AB-DEF+*/
ABD-E+F*/
AB-DE+F/*
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
Let A[n] be an array of n numbers. Array index starts from 0.

fun (int i)

{

int sum=0;

for ( ; i >=0 ; i--)

sum = sum + A[i];

return sum;

}

For a value of i (i<n), choose the correct option for the above function fun:

returns the sum of all numbers in the array
returns the sum of the first i numbers in the array
returns the sum of the first i+1 numbers in the array
returns the sum of the first i-1 numbers in the array
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
Consider an array A[20, 10]. Assume 4 words per memory cell and the base address of array A is 100. What is the address of A[11, 5] assuming row major Storage ___?
560
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.00
Find the greedy algorithms [MSQ]
Prim’s algorithm
Floyd Warshall algorithm
Huffman coding
Dijkstra’s algorithm
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.00
Consider the following sequence of letters (Assume always select last element as pivot and array index starts with 0)

Q, U, I, C, K, S, O, R, T, E, X, A, M, P, L, E

What is the position of the pivot element after completion of the first pass_____?

3
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.00
The number of spanning trees possible for a complete graph with 5 vertices is ____
125
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.00
Consider the following graph

Apply a single source shortest path algorithm on the given graph using vertex ‘A’ as the source. What is the order in which vertices get removed from the priority queue for the above graph?

ABCHFDEG
ABCFHDEG
ABFCDHEG
ABFCHDEG
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
Match the following LIST-1 and LIST-2

I-V, II-R, III- U, IV-P
I-V, II-S, III- U, IV-R
I-U, II-R, III-V, IV-P
I-U, II-S, III-V, IV-R
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
Which of the following statement(s) is/are TRUE? [MSQ]
Minimum number of comparisons required to find the minimum and maximum element from the n elements in the array where n is odd=3(n-1)/2
Minimum number of comparisons required to find the min and max element from the n elements in the array where n is even=(3n/2) -2
The worst case time complexity to find maximum element in a binary search tree is O(n)
If we are merging two sorted lists of sizes m and n into a sorted list of size m+n then how many comparisons are required in worst case is m+n-1
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.00
A Consider a language L1 over ∑={a} such that L1 contains all even length strings. Assume L2 is a language over ∑={a} such that every string in L2 is proper prefix of some string in L1. Select the correct option.
L1 ⊂ L2
L2 ⊂ L1
L1 U L2=∑*
None of the above
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
The number of states in min DFA generated by grammar G are ______

S→abA

A→baB

B→aA |bb

8
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.00
Consider the following Finite automata such that M1 accept L1 and M2 accept L2.

Select the correct option [MSQ]

L1 ⊆ L2
L1=L2
L1 ∩ L2 have finite strings
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.00

L1 U L2= a*b*c*
L1 ∩ L2 is CSL
L1 U L2 is inherently ambiguous
L1 ∩ L2=∅
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.00
Consider the following statements

S1: M is a LBA that rejects string w.

S2: M is a LBA and L(M) =Φ

Select the correct option.

Both S1 and S2 are decidable.
Both S1 and S2 are undecidable.
S1 is decidable while S2 is undecidable.
S1 is undecidable while S2 is decidable.
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
Select the correct option / options. [MSQ]
Implementation of recursion is not possible in static storage allocation.
In a dynamic storage allocation system the compiler allocates space for variables of a procedure only at runtime.
The objects created dynamically at runtime get allocated space in heap memory.
The objects created using malloc and calloc function get allocated space in stack memory.
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.00
Consider the following abstract syntax tree and select the correct expression represented by the tree from the options.

((a-b)*c)-((d*e)-f)
(a-(b*c))-(d*(e-f))
(a-(b*c))-((d*e)-f)
((a-b)*c)-(d*(e-f))
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
Select the regular expression which generates language containing all strings with even number of b’s and exactly one “a”.
(bb)*a
a(bb)*
(bb)*a(bb)*
None
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
Consider the following grammars, where {x,y,z} are terminal symbols. [MSQ]

G1:

S→AxAzy

A→ yzA | y

G2:

S→AxyzA

A→yB

B→zyB | ϵ

Select the correct option. [MSQ]

Both are LL(1) grammar.
G2 is LL(1) but G(1) is not LL(1)
G2 is parsed by CLR(1) parser.
G1 has left factoring and G2 is unambiguous grammar.
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.00
Consider the following SDT which converts an expression into postfix for operators * and +. Select the appropriate values of P and Q from the options.


E→ P

E→T { }

T→ Q

T→F { }

F→(E) { }

F→ id { print id }

P= E*T { print ‘*’ } & Q= T+F { print ‘+’ }
P= E+T { print ‘+’ } & Q= T*F { print ‘*’ }
P= E*T { print ‘+’ } & Q= T+F { print ‘*’ }
P= E+T { print ‘*’ } & Q= T*F { print ‘+’ }
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
Inorder to ensure that the value of salary is non-negative which of the following should be used?

Check(salary>0)
Check(salary<0)
Alter(salary>0)
Alter(salary<0)
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
The predicate in a where clause can involve Boolean operations such as "OR". The result of true OR unknown is_______ false OR unknown is _____ while unknown OR unknown is _____
Unknown, unknown, false
True, false, unknown
True, unknown, unknown
Unknown, false, unknown
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
Given a relational schema r(A, B, C, D, E) and a set of FD’s {A → BC, CD → E, B → D, E → A} that holds on r. The decomposition of r into r1(A, B, C) and r2(A, D, E) is

I.Lossless decomposition

II.Dependency preserving

Which of the following is true?

I only
II only
Both I & II
We can't say
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
Let transactions T1, T2 and T3 be defined to perform the following operations:

T1: Add 5 to A

T2: Double A

T3: Display A on the screen and then set it to 1 i.e., A = 1.

(Where A is same item in the database)

Suppose transactions T1, T2 and T3 are allowed to execute concurrently. If A has initial value zero, report the possible values of final value of A and the displayed value of A

1, 10
2, 5
7, 0
12, 0
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.00
Which of the following is TRUE ?
It is possible to create a critical section without disabling interrupts and without any, semaphores, or condition variables.
To create a critical section in a uniprocessor, the user can just disable interrupts to avoid being preempted.
SRTF is an optimal solution to hard real-time scheduling on a single CPU machine.
Round Robin scheduling algorithms always outperform FCFS in terms of throughput.
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
Which of the following is FALSE ?
Paging may lead to internal fragmentation.
Using a Least-Recently-Used (LRU) page replacement policy, increasing the memory size may decrease the hit rate.
It is possible for a single memory access to result in a TLB miss and a cache hit.
None of these
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
Consider that a system has a page reference string with p pages, and n unique page references. The memory has a total of m frames available, which are empty initially. Given that , p >= n, suppose n > m and m > 0. Then the minimum and maximum number of page faults are _____ and _______, respectively.
m,p
n,p
p,m
n,m
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
Which of the following is/are TRUE? [MSQ]
Given any two threads X and Y of the same process, thread X is always able to read data from thread Y’s stack
A pointer will point to the same virtual memory address before and after a successful call to fork().
Given any two threads X and Y of the same process, thread X is always able to read data from thread Y’s heap.
A system call allows a process to execute certain instructions in the kernel’s code in user mode.
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.00
Consider the following two concurrent processes

int data = 0, ready = 0;

void p1 () {

data = 2000;

ready = 1;

}

int p2 () {

x=data;

while (!ready) { }

return x;

}

What are the possible return values of p2()?

0, only
2000, only
0 or 2000
None
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
For a 1-Gbps network operating over 4000 km, the delay is the limiting factor, not the bandwidth. Consider a MAN with the average source and destination 20 km apart. At what data rate does the round-trip delay due to the speed of light equal the transmission delay for a1-KB packet ? Note - Speed of light in fiber and copper = 200 km/msec.
24 Mbps
36 Mbps
40 Mbps
48 Mbps
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
Consider a 90 Kbps link. Let X and Y be the respective maximum bandwidth (in Kbps) when pure Aloha and slotted Aloha is used. Then the value of will be ________. (Upto 1 decimal place) Note: Max throughput for Pure Aloha = 18.4% and for Slotted Aloha = 36.8%
0.5
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.00
Assume a slow start mechanism is used and assume there is no congestion. The round trip time is 10 ms and the maximum segment size is 24 KB. How much time is required to reach 24 KB of window size with packet size of 2 KB?
50 ms
30 ms
120 ms
40 ms
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
Match List-I with List-II and select the correct answer using the codes given below:

List-I

a. Stop and wait ARQ

b. Go-back-N ARQ

c. Selective repeat ARQ

List-II

1. Each frame sends or resend needs a timer, which means the timer needs to be numbered.

2. Acknowledgement sent when data is delivered to the network layer.

3. Only 2 sequence numbers are used and the window size is 1.

4. No action is performed by the receiver until the desired frame is obtained.

a - 3, b - 2, c - 1
a - 3, b - 4, c - 1
a - 2, b - 1, c - 4
a - 2, b - 4, c - 1
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
Choose the statement which is not correct about the graph

[MSQ]

d, a, b, c, f is a simple path
d, g, c, b, a, d is a simple circuit
d, a, b, c, f, b, a, g is a simple path
c, g, a, d, g, f is a simple path
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.00

A matrix A=[aij]nnis a _______ matrix if

Identity matrix
Diagonal matrix
Scalar matrix
None
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33

Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
The number of edges in the Hasse Diagram of the poset (D 36 , /) (Where D 36 is the set of Divisors of 36) is _________
12
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.00
If the value of the integral

p=10, q=4
p=2, q=4
p=-10, q=-6
p=2, q=2
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
If there is a function f:A->B is said to be one-one then choose the correct option
if A and B has same number of elements then number of one one functions are |B|!
If A has more elements than B then there are |B|! One one functions
If A has less number of elements than B then there are no one one functions possible
If there are no elements in B one one function is possible
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66

The correct translation of the statement

“Every question in this exam is solved by atleast one person”

it solves (x,y) means x solves y.

Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
The maximum matching size of the following graph is __

3
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.00
How many bits are there in the address bus for a memory of size 16K X 16?
14
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
In a logical and operation between two operands, a is the carry-in to the most significant bits and b is the carry-out from the most significant bits. How can we know if the overflow flag is set or not?
a OR b
a XNOR b
a XOR b
a NAND b
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
Consider a machine with 12ns clock and it takes 3 clock cycle per ALU instruction, 4 clock

cycle per branch instruction, 5 clock cycle memory instruction. There exists 50% ALU instructions, 20% branch instructions and 30% memory instructions. What is the throughput of the pipeline system in MIPS(million instructions per second)?

21.93
19.56
18.34
20.27
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
A computer system which has a 256 MB byte-addressable main memory and a 64 KB, direct mapped cache memory with a block size of 1KB. Consider the following four physical addresses represented in hexadecimal notation.

P1 = 0x45246B4,

P2 = 0x2648B48,

P3 = 0x82A8A1C,

P4 = 0x36E5380

Which one of the following is TRUE ? [MSQ]

P1, P2 are mapped to different cache lines
P2, P3 are mapped to the same cache line
P1. P3 are mapped to the same cache line
P3, P4 are mapped to the same cache line
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.00
Consider an array A[111] where each element occupies 4 words. A 64-word cache is used and divided into 8-word blocks. What is the hit rate for the below statement in accessing the array elements:

for(i=0; i<111; i++)

A[i] = A[i]*4;

95.42%
87.53%
85.55%
74.77%
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
Let (9.A)16- (1000.0001)2=(X)16. Then X=___
1.9
9.1
0.9
1.8
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
Minimum number of 2x4 decoders required to implement a 6x64 decoder is___
21
20
17
16
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
Minimum number digits required to represent (2124)5 in binary is____.
9
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.00
Let x is a binary number. Let f(x)= 2’s complement(x) and g(x)= 1’s complement(x).

Which of the following is/are true? (MSQ)

f(g(x))= x+1
f(g(x))= x-1
g(f(x))= x+1
g(f(x))= x-1
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.00
A counter is running at a frequency of 0.25 GHz. The delay of the counter is___ ns.
4
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.00