Documente Academic
Documente Profesional
Documente Cultură
c. Resign
d. Surrender
10.WORSEN Opposite
a. Complicate
b. Relieve
c. Aggravate
d. Intensify
11.PREMEDITATED Opposite
a. Ingenuous
b. Artless
c. Spontaneous
d. Natural
12.FUTILE Opposite
a. Useful
b. Handy
c. Functional
d. Positive
13. Select proper order for sentences P, Q, R and S in between BEGIN and END
statements
BEGIN: Once upon a time an ant lived on the bank of a river.
END: She was touched
P: The dove saw the ant struggling in water in helpless condition
Q: All its efforts to come up failed
R: One day it suddenly slipped into the water
S: A dove lived in a tree on the bank not far from the spot
a.
b.
c.
d.
RQSP
QRPS
SRPQ
PQRS
1. If 2
2.
3.
4.
5.
6.
7.
8.
2n-1
b. 90/61
c. 60/91
d. None
18.What is the highest power of 5 contained in 200!?
a. 40
b. 49
c. 50
d. 57
19.Express the fraction 26/17 as a number up to 3 decimal points
a. 1.429
b. 1.535
c. 1.321
d. 1.529
20.Five different roads join a village to the nearby city. The number of
different ways in which a person can go to the town and come back is
a. 5
b. 10
c. 20
d. 25
21.Rajesh can finish 1/5th of his home work in one hour. Seema can finish 3/7 th
of her homework in 90 minutes and Ramya can finish 3/4 th of her
homework in three and a half hours. If all of them start their home work at
12.00 PM and can go to play as soon as they all finish their homework.
When can they start to play, if they take a break at 3.30 PM for 30
minutes?
a. 3.30 PM
b. 4.40 PM
c. 5 PM
d. 5.30 PM
e. 6.30 PM
22.If A varies jointly as B and the cube of C when A = 200 when B = 5 and C
= 2. Find A when B = 6 and C = 3?
a. 810
b. 950
c. 1070
d. 1160
23.A bag is full of 20 bananas and no other fruit. Rajesh draws a fruit from
the bag. What is the probability that he will draw a banana?
a. 1
b. 0
c.
d. None
24.What is the chance of throwing a sum greater than or equal to 7 in a throw
of 2 dice?
a. 7/12
b. 1/3
c. 3/4
d. 13/36
25.There are 2 boxes A and B. Box A has 3 red and 4 blue balls. Box B has 5
red and 2 blue balls. Amar draws a ball from each bag randomly. What is
the probability that both the balls are red?
a. 4/7
b. 8/49
c. 7/8
d. 15/49
c. ::MyVar1
d. No Local Variable should have the same name as the global variable
6. Following program is to print the sum of all cubes, where the value of the
cubes go from 0 to 100.
interger i=0, a //statement 1
integer sum=0;
a=(i*i*i)
while (i<100) // statement 2
{
sum = sum + a // statement 3
i=i+1
a=(i*i*i) // Statement 4
}
print sum
Does the program have and error? If yes, which statement would you modify
to correct the program?
a. Statement 1
b. Statement 2
c. Statement 3
d. Statement 4
e. No Error
7. A queue is implemented as a single linked list. Each node has an element and
pointer to another node. Rear and Front contain the addresses of the Rear
and Front nodes respectively. If the condition (rear isequal front) is true and
neither is NULL, what do we infer about the linked list?
a. It has no elements
b. It has one element
c. There is an error
d. None
8. A data type is stored as a 6 bit signed integer. Which of the following options
cannot be represented by this data type?
a. 0
b. -12
c. 32
d. 18
9. Which of the following statements is true regarding the sorting and searching
algorithms?
a. Linear Searching is faster than the most efficient sorting algorithm
b. Linear Searching is slower than the most efficient sorting algorithm
c. Linear Searching and most efficient sorting algorithm takes almost
same time
d. Their complexities cannot be compared
10.Which of the following data types may give overflow error, even though the
current number of elements in it is less than its size?
{
If(n equals 1)
Return 1
Else
Missing statement
End
}
Fill in the missing statement?
a. return factorial(n-1)
b. return n*factorial(n)
c. return n*(n-1)
d. return n*factorial(n-1)
15.The average time required to perform a successful sequential search for an
element in an array A(1:n) is given by
a. (n+1)/2
b. Log2n
c. n(n+1)/2
d. n2
16.function main()
{
automatic variable var
print var
}
What will be output generated when the give code is executed?
a. 0
b. 1
c. Garbage Value
d. Error
17.Ramu writes a program to sum two square diagonal matrices (matrices with
elements only on diagonal). The size of each matrix in nXn. What is the time
complexity of Ramus algorithm?
a. (n2)
b. (n)
c. (n*log(n))
d. None
18.Swetha writes a sorting algorithm. The algorithm takes different amount of
time to sort two different lists of equal size. What is the possible difference
between the two lists?
a. All numbers in one list are more than 100, while in the other are less
than 100
b. The ordering of numbers with respect to magnitude in the two list has
different properties
c. One list has all negative numbers, while the other has all positive
numbers