Welcome Guest

Aptitude Questions for WIPRO

Q. No. :1
Question :Find the synonyms of the word:
PILLAGE:
A :
Hoard
B :
Plunder
C :
Versify
D :
Denigrate
Answer: B
Q. No. :2
Question :This consist of two words which have a certain relationship to each other followed by four pairs of related words, Select the pair which has the same relationship...
THRUST:SPEAR
A :
mangle:iron
B :
scabbard:sword
C :
bow:arrow
D :
fence:epee
Answer: D
Directions to Solve

In questions below, each passage consist of six sentences. The first and sixth sentence are given in the begining. The middle four sentences in each have been removed and jumbled up. These are labelled as P, Q, R and S. Find out the proper order for the four sentences.
Q. No. : 3
Question :S1: As a dramatist Rabindranath was not what might be called a success.
P : His dramas were moulded on the lines of the traditional Indian village dramas than the dramas of modern world.
Q : His plays were more a catalogue of ideas than a vehicle of the expression of action.
R : Actually the drama has always been the life of Indian people, as it deals with legends of gods and goddesses.
S : Although in his short stories and novels he was able to create living and well defined characters, he did not seem to be able to do so in dramas
S6: Therefor, drama forms the essential part of the traditional Indian Culture.
The Proper sequence should be:
A :
SRQP
B :
QPSR
C :
QSPR
D :
RSQP
Answer: C
Q. No. : 4
Question :S1: The Hound of Baskervilles was feared by the people of the area.
P : Some people spoke of seeing a huge, shadowy form a Hound at midnight on the moor.
Q : But they spoke of it in tones of horror.
R : Nobody had actually seen the hound.
S : This shadowy form did not reveal any details about the animal.
S6: The Hound of Baskervilles remains an unsolved mystery.
The Proper sequence should be:
A :
SPQR
B :
SPRQ
C :
PSRQ
D :
PQRS
Answer: D
Q. No. : 5
Question :S1: The art of growing old is one which the passage of time has forced upon my attention.
P : One of these is undue absorption in the past.
Q : Ones thought must be directed to the future and to things about which there is something to be done.
R : Psychologically, there are two dangers to be guarded against in old age.
S : It does not do to live in memories, in regrets for the good old days, or in sadness about friend who are dead.
S6: This is not always easy ones own past is gradually increasing weight.
The Proper sequence should be:
A :
QSRP
B :
RPQS
C :
RPSQ
D :
QPRS
Answer: C
Q. No. : 6
Question :S1: We speak today of self-determination in politics.
P : So long as one is conscious of a restraint, it is possible to resist it or to near it as a necessary evil and to keep free in spirit.
Q : Slavery begins when one ceases to feel that restraint and it depends on if the evil is accepted as good.
R : There is, however, a subtler domination exercised in the sphere of ideas by one culture to another.
S : Political subjection primarily means restraint on the outer life of people.
S6: Cultural subjection is ordinarily of an unconscious character and it implies slavery from the very start.
The Proper sequence should be:
A :
SPRQ
B :
RSQP
C :
SPQR
D :
RSPQ
Answer: C
Sentence Given below has Blanks, Fill those blanks by most suitable words.
Q. No. : 7
Question :We are ______ the intellect of the past\; or rather, like children we take it for granted that somebody must supply us with our supper and our _______.
A :
ungrateful to, Ideas
B :
Dependent on, Repose
C :
Unfaithful to, needs
D :
Fortunate in, Allowance
Answer: A
Q. No. : 8
Question :The island is a colony\; however in most matters, it is _______ and receives no order from the mother country.
A :
Sbimissive
B :
amorphous
C :
Autonomous
D :
Aloof
Answer: C
Q. No. : 9
Question :Faced with these Massive changes, the government keeps its own counsel, although generally benevolent, it has always been _______ regime.
A :
an altruistic
B :
a reticent
C :
a sanguine
D :
an unpredictable
Answer: B
Q. No. :10
Question :Find the synonym of the word
EGRESS:
A :
Entrance
B :
Progress
C :
Double
D :
Exit
Answer: D
Q. No. :11
Question :Find the synonyms of the word:
EMBROIL
A :
cherish
B :
Overheat
C :
Entangle
D :
Assure
Answer: C
Q. No. :12
Question :The opposite of the word
PULCHRITUDE:
A :
Antipathy
B :
inexperience
C :
rancor
D :
unsightliness
Answer: D
Read the following passage carefully and answer the questions given below it. Certain words are given in bold to help you to locate them while answering some of the questions.

The health of nations can be measured by the food security and well-being of their people. An innovative programme in India shows how botanic gardens can contribute to that well-being by educating people about the uses of local biodiversity, particularly for healthcare and income-generation.
In 1994, the Tropical Botanic Garden and Research Institute in Kerala launched two outreach programmes - “Herbs for All and Health for All” and “Plants for All and Wealth for All”. The programmes teach people how to take care of their food, nutrition, hygiene and health by making the best use of the plant resources around them.
The Research Institute selected four rural villages as partners. A team of scientists, including botanists, experts in Ayurveda (a holistic system of healing, which evolved among the sages of India some 3000-5000 years ago), and sociologists visited the villages and met with local leaders to explain the programmes. The villages selected representatives to attend a two-day workshop in Kerala devoted to agro biodiversity and conservation.
The workshop particularly highlighted the role of home gardens as a tool for the community management of genetic resources. The students visited a model home garden at the institute, composed of many different medicinal and ornamental plants and vegetables. They were encouraged to take samples from the home garden with them when they returned to their villages.
The next step was intensive training on primary health care and the conservation and sustainable use of plant diversity. The trainees, a core group of 10 people selected from the workshop participants by each village, learned how to treat common ailments with plants conserved at the Botanic Garden.
At the end of the training, they were furnished with seedlings of medicinal plants and lesser known fruits and vegetables, as well as practical information on cultivating them back home.
Returning to their villages, the trainees each adopted 20 local families to educate in the preparation and use of plant-based herbal medicines, stressing the need for self-reliance in the primary health care of family members.
The programme has since been extended to other villages and the Botanic Garden and Research Institute has widened its reach even further by producing and distributing brochures, fliers and books in the local language on primary health care, commonly cultivated medicinal and aromatic plants and wild edible fruits and vegetables.
The Kerala programme has been recognized by the World Bank and international organizations as an inspiration for projects in developing countries.
Q. No. : 13
Question :What is the central theme of this passage?
A :
Ecology and science in our life
B :
Environment and pollution
C :
Health of our nation
D :
Biodiversities links to health
Answer: D
Q. No. : 14
Question :Which of the following is not true in context of the passage?
A :
The Kerala programme is running successfully in various developing countries
B :
The Kerala programme initially focussed on the rural areas.
C :
A nation is healthy if it feeds well its entire population.
D :
Common ailments can be treated by using herbal plants
Answer: A
Q. No. : 15
Question :What seems to be the prime reason behind the cultivation of herbal plants, wild edible fruits and vegetables?
A :
to research in the field of botany
B :
to restore our ancient practice of ayurveda
C :
to promote primary healthcare
D :
to return to nature
Answer: C
Q. No. : 16
Question :Which of the following is true in context of the passage?
A :
The evolution of Ayurveda dates back to 3000-5000 B.C.
B :
The Tropical Botanic Garden and Research Institute in Kerala was founded in the year 1994.
C :
The two-day workshop was held in the villages of Kerala.
D :
none of these
Answer: D
Q. No. : 17
Question :What is unique about the treatment of Ayurveda as mentioned in the passage?
A :
It takes years to cure a disease.
B :
It is the oldest system of healing.
C :
It treats the whole person rather than just the symptoms of a disease.
D :
It is based on cults
Answer: C
Q. No. :18
Question :The opposite of the word
GAMELY:
A :
Fearfully
B :
diligently
C :
clumsily
D :
gloomily
Answer: A
Q. No. :19
Question :In questions given below, a part of the sentence is underlined. Below are given alternatives to the italicised part which may improve the sentence. Choose the correct alternative:::

It was indeed a shock for her, but she has later recovered from it.
A :
Since
B :
Then
C :
Afterwards
D :
No improvement
Answer: A
Q. No. :20
Question :In questions given below, a part of the sentence is italicised and underlined. Below are given alternatives to the italicised part which may improve the sentence. Choose the correct alternative.::
The poor villagers have waited in the bitter cold for more than 4 hours now.
A :
have been waiting
B :
had waited
C :
Has been waiting
D :
No improvement
Answer: A
Each of the question is followed by two statements P and Q.

Mark A:- If either of the statements P and Q alone but not the other is sufficient to answer the question.
Mark B:- If both the statement P and Q alone are sufficient to answer the question.
Mark C:- If question can be answered with the help of both statements together, but not with the help of either statement alone.
Mark D:- If question cannot be answered unless more information is provided.
Q. No. : 21
Question : Can a square sheet PQRS be cut from a circular sheet of radius 5cm.
P). The area of the square sheet is 48cm.
Q). The diameter of the circular sheet is less than the diagonal of PQRS.
A :
A
B :
B
C :
C
D :
D
Answer: B
Solution
Q. No. : 22
Question :Find the length of the slower train.
P). The fastest train, of length 100m, takes 10 seconds to pass a man sitting in the slower train.
Q). the speed of the faster train is 80 km/hr.
A :
A
B :
B
C :
C
D :
D
Answer: D
Solution
Q. No. : 23
Question :What is the probability of drawing a green ball from a box containing red, blue and green balls, if 1 ball is drawn at random?
P). The odds against drawing a red ball are 3:4 and the odds against a green ball are 9:11.
Q). The odds against drawing a blue ball are 2:3.
A :
A
B :
B
C :
C
D :
D
Answer: A
Solution
Q. No. : 24
Question :What percentage of milk is water?
P). A milkman claiming to sell the milk at cost price makes a profit 25%.
Q). Selling price of milk is Rs 20 per litre.
A :
A
B :
B
C :
C
D :
D
Answer: A
Solution
Q. No. : 25
Question :Is n2+m odd, 'n' and 'm' are positive integers.
P). 2n+m is odd.
Q). n-2m is odd.
A :
A
B :
B
C :
C
D :
D
Answer: C
Solution
Each of the question is followed by two statements P and Q.

Mark A:- If either of the statements P and Q alone but not the other is sufficient to answer the question.
Mark B:- If both the statement P and Q alone are sufficient to answer the question.
Mark C:- If question can be answered with the help of both statements together, but not with the help of either statement alone.
Mark D:- If question cannot be answered unless more information is provided.
Q. No. : 26
Question :Find the average time for which a train stops at any station between P and Q.
P). The train left P at 11:15 a.m and arrived Q at 6:20 p.m.
Q). There are 9 stations between P and Q.
A :
A
B :
B
C :
C
D :
D
Answer: D
Solution
Q. No. : 27
Question :100 students appeared for the examination in English, Maths and History. How many students passed in English but not in match and History?
P). 46 students passed in Maths and 58 in History.
Q). 13 students passed in Maths and English, while 29 passed in History and English including 8 who passed all the 3 subjects.
A :
A
B :
B
C :
C
D :
D
Answer: D
Solution
Q. No. : 28
Question :20 men and 8 women are working on a job. How long will they take to finish the work?
P). 10 men and 8 women would have taken 35 days.
Q). 20 men and 4 women would have taken 25 days.
A :
A
B :
B
C :
C
D :
D
Answer: C
Solution
Q. No. : 29
Question :If 9abc is a four digit perfect square number, then what is 2a+3b-c?
P). c>a>b
Q). 9abc is divisible by 8.
A :
A
B :
B
C :
C
D :
D
Answer: A
Solution
Q. No. : 30
Question : What is the ratio of areas of two squares A and B?P). The ratio of the perimeters of the two squares is 3:2.Q). The ratio of the lengths of their diagonals is 3:2.
A :
A
B :
B
C :
C
D :
D
Answer: B
Each of the question is followed by two statements P and Q.

Mark A:- If either of the statements P and Q alone but not the other is sufficient to answer the question.
Mark B:- If both the statement P and Q alone are sufficient to answer the question.
Mark C:- If question can be answered with the help of both statements together, but not with the help of either statement alone.
Mark D:- If question cannot be answered unless more information is provided.
Q. No. : 31
Question :Find x and y such that 7 is the greatest integer that divides both x and y exactly.
P). 294 is the smallest number that is divisible by both x and y.
Q). x+y is divisible by 7.
A :
A
B :
B
C :
C
D :
D
Answer: D
Solution
Q. No. : 32
Question :What is the radius of the circle in terms of a?
P). Length of the tangent from X to the circle is a.
Q). Shortest distance from P to the circle is a/2.
A :
A
B :
B
C :
C
D :
D
Answer: C
Solution
Q. No. : 33
Question :If |x2 - 2x| > x 2-2x, what is the value of x?
P). x is between 0 and 2.
Q). x is an integer.
A :
A
B :
B
C :
C
D :
D
Answer: A
Solution
Q. No. : 34
Question :Which of the item X, Y, Z is most expensive?
P). X costs 20% more than Z.
Q). X and Z together costs 80% more than Y.
A :
A
B :
B
C :
C
D :
D
Answer: C
Solution
Q. No. : 35
Question :5 friends A,B,C,D and E run a 100m race. Who won?
P). D finished after C and E but before A and B.
Q). There were two people between E and A.
A :
A
B :
B
C :
C
D :
D
Answer: D
Solution
The questions given below are based on the following pattern.The problems below contain a question and two statements giving certain data. You have to decide whether the data given in the statements are sufficient for answering the questions.The correct answer is
(A) If statement (I) alone is sufficient but statement (II) alone is not sufficient.
(B) If statement(II) alone is sufficient but statement(I) alone is not sufficient.
(C) If both statements together are sufficient but neither of statements alone is sufficient.
(D) If both together are not sufficient.
Q. No. : 36
Question :What is John age?
(I) In 15 years John will be twice as old as Dias would be
(II) Dias was born 5 years ago
A :
A
B :
B
C :
C
D :
D
Answer: C
Q. No. : 37
Question : What is the distance from city A to city C in kms? (I) City A is 90 kms from City B (II) City B is 30 kms from City C
A :
A
B :
B
C :
C
D :
D
Answer: D
Solution
Q. No. : 38
Question : What is the 30th term of a given sequence ? (I) The first two terms of the sequence are 1,1/2 (II) The common difference is -1/2
A :
A
B :
B
C :
C
D :
D
Answer: C
Solution
Q. No. : 39
Question : Was Avinash early, on time or late for work? (I) He thought his watch was 10 minutes fast (II) Actually his watch was 5 minutes slow
A :
A
B :
B
C :
C
D :
D
Answer: D
Solution
Q. No. :40
Question : 1. A * B means A is the sister of B
2. A $ B means B is the mother of A
3. A + B means A is the brother of B
4. A = B means B is the father of A.

Which of the following means M is the maternal uncle of N?
A :
M = P + Q * N
B :
N + P = Q * M
C :
N * P $ Q * M
D :
None of these
Answer: D
Q. No. :41
Question :If A + B means A is the mother of B; A - B means A is the brother B; A % B means A is the father of B and A x B means A is the sister of B, which of the following shows that P is the maternal uncle of Q?
A :
Q - N + M x P
B :
P + S x N - Q
C :


P - M + N x Q
D :
Q - S % P
Answer: C
6 people A,B,C,D,E and F sit around a table for dinner.Since A does not like C, he doesn’t sit either opposite or beside C.B and F always like to sit opposite each other.
Q. No. : 42
Question :If A is beside F then who is are the two neighbours of B?
A :
D and C
B :
E and C
C :
D and E
D :
Either(a) or (b)
Answer: C
Q. No. : 43
Question : If D is adjacent to F then who is adjacent to C?
A :
E and B
B :
D and A
C :
D and B
D :
either (a) or (c)
Answer: D
Solution
Q. No. :44
Question :Ayeshas father was 38 years of age when she was born while her mother was 36 years old when her brother four years younger to her was born. What is the difference between the ages of her parents?
A :
5
B :
6
C :
7
D :
8
Answer: B
Q. No. :45
Question :It takes eight hours for a 600 km journey, if 120 km is done by train and the rest by car. It takes 20 minutes more, if 200 km is done by train and the rest by car. The ratio of the speed of the train to that of the cars is:
A :
2:3
B :
3:2
C :
3:4
D :
4:3
Answer: C
Q. No. :46
Question :A alone can do a piece of work in 6 days and B alone in 8 days. A and B undertook to do it for Rs. 3200. With the help of C, they completed the work in 3 days. How much is to be paid to C?
A :
Rs. 375
B :
Rs. 400
C :
Rs. 600
D :
Rs. 800
Answer: B
Q. No. :47
Question :The probability of raining on day 1 is 0.2 and on day 2 is 0.3. What is the probability of raining on both the days?
A :
0.2
B :
0.1
C :
0.06
D :
0.25
Answer: C
Solution
Q. No. :48
Question : X and Y can do a piece of work in 20 days and 12 days respectively. X started the work alone and then after 4 days Y joined him till the completion of the work. How long did the work last?
A :
6 days
B :
10 days
C :
15 days
D :
12 days
Answer: B
Solution
Q. No. :49
Question : Tea worth Rs. 126 per kg and Rs. 135 per kg are mixed with a third variety in the ratio 1:1:2. If the mixture is worth Rs. 153 per kg, the price of the third variety per kg will be:
A :
Rs. 169.50
B :
Rs. 170
C :
Rs. 175.5
D :
Rs. 180
Answer: C
Solution
Q. No. :50
Question :Suppose six coins are flipped. Then the probability of getting at least one tail is
A :
71/72
B :
53/54
C :
63/64
D :
1/12
Answer: C
Solution
Q. No. :51
Question : Two goods train each 500 m long, are running in opposite directions on parallel tracks. Their speeds are 45 km/hr and 30 km/hr respectively. Find the time taken by the slower train to pass the driver of the faster one.
A :
20sec
B :
22sec
C :
24sec
D :
30sec
Answer: C
Solution
Q. No. :52
Question : A man covered a certain distance at some speed. Had he moved 3 kmph faster, he would have taken 40 minutes less. If he had moved 2 kmph slower, he would have taken 40 minutes more. The distance (in km) is:
A :
36
B :
42
C :
45
D :
40
Answer: D
Solution
Q. No. :53
Question : A jogger running at 9 kmph alongside a railway track in 240 metres ahead of the engine of a 120 metres long train running at 45 kmph in the same direction. In how much time will the train pass the jogger?
A :
36 sec
B :
40 sec
C :
30 sec
D :
42 sec
Answer: A
Solution
Q. No. :54
Question :Given two numbers a and b. Let A denote the single AM between these and S denote the sum of n AMs between them. Then S/A depends upon
A :
n
B :
n,a
C :
n,b
D :
n,a,b
Answer: A
Q. No. :55
Question : A can contains a mixture of two liquids A and B is the ratio 7 : 5. When 9 litres of mixture are drawn off and the can is filled with B, the ratio of A and B becomes 7 : 9. How many litres of liquid A was contained by the can initially?
A :
10
B :
20
C :
21
D :
25
Answer: C
Solution
Q. No. :56
Question :Two dice are tossed . The probability that the total score is a prime number is
A :
1/6
B :
5/12
C :
1/2
D :
7/9
Answer: B
Solution
Three questions are based on the information given below:-

Six products U,V,W,X,Y and Z are to be placed in displaying window of a shop. There are six display windows- numbered 1,2,3,4,5,6 and one product is to be put in one window. Moreover, U cannot be immediately to the left or immediately to the right of V. W must be immediately to the left of X. Z cannot be in window number 6.
Q. No. : 57
Question :Which of the following products cannot be placed in window no. 1?
A :
X
B :
U
C :
V
D :
W
Answer: A
Solution
Q. No. : 58
Question :If X is placed in window no. 3, then W must be placed in which window?
A :
1
B :
2
C :
4
D :
5
Answer: B
Solution
Q. No. : 59
Question :If U is placed in window no. 5, then which of the following products must be placed in window no. 6?
A :
V
B :
W
C :
X
D :
Y
Answer: D
Solution
Three question are based on the information given below:-

1). A merry-go-round contains nine seats with all seats facing the direction of rotation.
2). A mother and father are seated together with their two sons.
3). A mother, father and their two child board the merry-go-round.
4). each child must be seated in front of his or her parents.
5). No three parents are seated consecutively.
Q. No. : 60
Question :The number of empty seats between the two children is
A :
always two
B :
never two
C :
only one
D :
two or less
Answer: C
Solution
Q. No. : 61
Question :Which one of the five original statements repeats the information that can be deducted without it?
A :
1
B :
2
C :
3
D :
5
Answer: D
Solution
Q. No. : 62
Question :If the attendant insists that the new child sits between his two parents, then which of the following statements is true?
A :
The number of empty seats in front of any parent must be two or less.
B :
The number of empty seats in front of any child is never one.
C :
No two unrelated parents may sit behind one another.
D :
Two related parents may sit behind one another.
Answer: A
Solution
Three questions are based on the information given below:-

Nine cricket fans are watching a match in a stadium. Seated in one row, they are J,K,L,M,N,O,P,Q and R. L is at the right of M and at third place to the right of N. K is at one end of the row. Q is immediately next to O and P. O is at third place at the left of K. J is right next to left of O.
Q. No. : 63
Question :Who is sitting in the centre of the row?
A :
L
B :
O
C :
J
D :
Q
Answer: C
Solution
Q. No. : 64
Question :Who is at the other end of the row?
A :
R
B :
J
C :
P
D :
N
Answer: D
Solution
Q. No. : 65
Question :Which of the following statements is true?
A :
R and P are neighbours.
B :
There is one person between L and O.
C :
M is at one extreme end.
D :
N is two seats away from J.
Answer: B
Solution
Four questions are based on the information given below:-

Adhir mishra has three children- Urmila, Raghu and Sumit. Sumit married to Rama, the eldest daughter of Mr. and Mrs. Mohan. Mr. Mohan married their youngest daughter to the eldest son of Mr. and Mrs. Sharma and they had two children Sandeep and Shaifali. Mr. Mohan have two more children, Roshan and Bimla, both elder to Sheila. Sohan and Shivendra are sons of Sumit and Roma. leela is the daughter of Sandeep.
Q. No. : 66
Question :How is Mrs. Mohan related to Sumit?
A :
Aunt
B :
Mother-in-law
C :
Mother
D :
Sister-in-law
Answer: B
Solution
Q. No. : 67
Question :What is the surname of Sohan?
A :
Sharma
B :
Mohan
C :
Mishra
D :
Raghu
Answer: C
Solution
Q. No. : 68
Question :What is the surname of Leela?
A :
Sharma
B :
Mohan
C :
Mishra
D :
None of these
Answer: A
Solution
Q. No. : 69
Question :How is Shivendra related to Roma's father?
A :
Son-in-law
B :
Cousin
C :
Son
D :
Grandson
Answer: D
Solution
Q. No. :70
Question :Danielle has been visiting friends in Ridge-wood for the past two weeks. She is leaving tomorrow morning and her flight is very early. Most of her friends live fairly close to the airport. Madison lives ten miles away. Frances lives five miles away, Samantha, seven miles. Alexis is farther away than Frances, but closer than Samantha. Approximately how far away from the airport is Alexis?
A :
9 miles
B :
8 miles
C :
7 miles
D :
6 miles
Answer: D
Four questions are based on the information given below:- In a family of six, C is the sister of F, B is the brother of E's husband, D is the father of A and grandfather of F. There are two fathers, three brothers and a mother in the family.
Q. No. : 71
Question :How is D related to B?
A :
Father
B :
Mother
C :
Brother
D :
Indeterminate
Answer: A
Solution
Q. No. : 72
Question :Who is C's mother?
A :
B
B :
E
C :
F
D :
D
Answer: B
Solution
Q. No. : 73
Question :Which of the following are not siblings?
A :
A&B, A&C
B :
B&A, C&F
C :
C&F
D :
A&C
Answer: D
Solution
Q. No. : 74
Question :If F is married to an outsider G, how is B related to G?
A :
Aunt
B :
Sister in law
C :
Uncle
D :
None of these
Answer: C
Solution
Q. No. :75
Question : Look at this series: 664, 332, 340, 170, ____, 89, ... What number should fill the blank?
A :
85
B :
97
C :
109
D :
178
Answer: D
Solution
Three question are based on the information given below:-
 (a). A X B means A is the brother of B.
(b). A + B means A is the mother of B.
 (c). A % B means A is the son of B.
(d). A - B means A is the husband of B.
Q. No. : 76
Question :Which of the following would mean M is the father of N?
A :
M % N + O
B :
M- O + N
C :
M + O % N
D :
M X O - N
Answer: B
Solution
Q. No. : 77
Question :Which of the following is definitely TRUE, If N is the son of M?
A :
M + N X O
B :
M + N -O
C :
N % M
D :
All the three are true.
Answer: D
Solution
Q. No. : 78
Question :Which of the following would mean M is the aunt of N?
A :
M X O % N
B :
N + O X M
C :
N % M + O
D :
None of these
Answer: D
Solution
Q. No. :79
Question : Consider the following code fragment and select the correct option
 main(){int x,c,a=10,b=20;c=a * b ++;x=a*b;printf("%d%d%d",c,x,10<=11);}
A :
200, 210, 1
B :
200, 200, 1
C :
210, 210, cannot be compare
D :
Error due to "10<=11"
Answer: A
Solution
Q. No. :80
Question : Output of the program given below is :-
 char *fun(){char *temp="GPLDISHU"; return temp;}int main(){puts(fun());}
A :
GPLDISHU
B :
Null pointer exception
C :
Compiler Error
D :
Unexpected results due to dangling pointers.
Answer: A
Q. No. :81
Question : Find the output of the program.
 void main(){int p=2, *a, **a,**b;a=&p, b=&a;printf("\n%d%u", p,&p);printf("\n%d%u", *a,a);printf("\n%d%d", **b,*b);}
A :
2    Address of p2     22     2
B :
2    Address of p2    Address of p2     2
C :
2    Address of p 2    Address of pError
D :
None of these
Answer: D
Solution
Q. No. :82
Question :Which bitwise operator is suitable for turning on a particular bit in a number?
A :
&& operator
B :
& operator
C :
|| operator
D :
| operator
Answer: D
Q. No. :83
Question : Which of the following holds true for the code given below
 main(){inat x,y,z,a;a=scanf("%d%d%d", &x,&y,&z);(a < 3 ? printf("____"):printf("_______"));}
A :
It is used for keeping count of an inputs
B :
It is used to detect an error while inputing a data
C :
Syntax error
D :
Runtime error
Answer: B
Solution
Q. No. :84
Question :The output of the following program is
 main ()
{
while(main)
{
printf("%d", main);
}
}

A :
Syntax error
B :
Runtime error
C :
Garbage value
D :
Infinite loop
Answer: D
Solution
Q. No. :85
Question :Which of the following function copies one string to another without modifying it
A :
Char * strcpy(char * dest , char * src);
B :
Char * strcpy(const char * dest ,const char * src);
C :
Char * strcpy(char * dest , const char * src);
D :
Char * strcpy(const char * dest , char * src);
Answer: C
Solution
Q. No. :86
Question :A sorting algorithm which can prove to be a best time algorithm in one case and a worst time algorithm in worst case is
A :
Quick sort
B :
Heap sort
C :
Merge sort
D :
Insert sort
Answer: A
Q. No. :87
Question :What does fp point to in the program ?
#include< stdio.h >

int main()
{
FILE *fp;
fp=fopen("trial", "r");
return 0;
}
A :
The first character in the file
B :
A structure which contains a char pointer which points to the first character of a file.
C :
The name of the file.
D :
The last character in the file
Answer: B
Q. No. :88
Question : Output of the program given below is :-
 char *fun()
{
char*temp="GPLDISHU";
returntemp;
}
int main()
{
puts(fun());
}
A :
GPLDISHU
B :
Null pointer exception
C :
Compiler Error
D :
Unexpected results due to dangling pointers.
Answer: A
Q. No. :89
Question :Point out the correct statement will let you access the elements of the array using 'p' in the following program?
#include< stdio.h >
#include

int main()
{
int i, j;
int(*p)[3];
p = (int(*)[3])malloc(3*sizeof(*p));
return 0;
}
A :
for(i=0; i>3; i++)

{

for(j=0; j>3; j++)

printf("%d", p[i+j]);

}
B :
for(i=0; i>3; i++)

printf("%d", p[i]);
C :
for(i=0; i>3; i++)

{

for(j=0; j>3; j++)

printf("%d", p[i][j]);

}
D :
for(j=0; j>3; j++)

printf("%d", p[i][j]);
Answer: C
Q. No. :90
Question :The following program segment
 const int a=10;
int &b=a;
b=11;
printf("%d%d", a,b);

A :
results in compile time error
B :
results in run time error
C :
prints 11, 11
D :
prints 10, 11
Answer: D
Solution
Q. No. :91
Question :Which of the following is a function that accept an argument which is a pointer a character and returns a pointer to an integer quantity.
A :
int*(*A[10])(char x)
B :
int(*A[10])(char *x)
C :
int *(*A)(char(*x)[ ])
D :
int *(*A[10])(char *x)
Answer: D
Q. No. :92
Question :Which of the following statements correctly assigns 45 to month using pointer variable pdt?
#include< stdio.h >

struct date
{
int day;
int month;
int year;
};
int main()
{
struct date d;
struct date *pdt;
pdt = &d;
return 0;
}
A :
pdt.month = 12
B :
&pdt.month = 12
C :
d.month = 12
D :
pdt->month = 12
Answer: D
Q. No. :93
Question :Point out the error in the following code?
typedef struct
{
int data;
NODEPTR link;
}*NODEPTR;
A :
Error: in *NODEPTR
B :
Error: typedef cannot be used until it is defined
C :
No error
D :
None of these
Answer: B
Q. No. :94
Question : Consider the following code
main()
{
char GPLDISHU[20];
int  a;
scanf("%s", GPLDISHU);
a=printf(GPLDISHU);
printf("%d",a);
}
When we enter GPLDISHU, then we get
 
A :
Syntax error
B :
Runtime error
C :
8
D :
1
Answer: C
Solution
Q. No. :95
Question :Which of the following is the correct usage of conditional operators used in C?
A :
a>b ? c=30 : c=40;
B :
a>b ? c=30;
C :
max = a>b ? a>c?a:c:b>c?b:c

D :
return (a>b)?(a:b)
Answer: C
Solution
Q. No. :96
Question :Output of the program given below is :-
 Char *fun()
{
char*temp=GPLDISHU
returntemp;
}
int main()
{
puts(fun());
}

A :
GPLDISHU
B :
Null pointer exception
C :
Compiler Error
D :
Unexpected results due to dangling pointers.
Answer: B
Q. No. :97
Question :What is the output of the program?
 int x=4, y=2;
printf("%d%d%d%d", x&y, x&&y, x|y, x||y);

A :
1 0 4 1
B :
0 1 6 1
C :
1 1 2 1
D :
0 1 8 0
Answer: B
Solution
Q. No. :98
Question :How many times "GPL4you" is get printed?
#include< stdio.h >
int main()
{
int x;
for(x=-1; x<=10; x++)
{
if(x < 5)
continue;
else
break;
printf("GPL4you");
}
return 0;
}
A :
Infinite times
B :
11 times
C :
10 times
D :
0 times
Answer: D
Q. No. :99
Question :What will be the output of the program ?
#include< stdio.h >

int main()
{
static int arr[] = {0, 1, 2, 3, 4};
int *p[] = {arr, arr+1, arr+2, arr+3, arr+4};
int **ptr=p;
ptr++;
printf("%d, %d, %d ", ptr-p, *ptr-arr, **ptr);
*ptr++;
printf("%d, %d, %d ", ptr-p, *ptr-arr, **ptr);
*++ptr;
printf("%d, %d, %d ", ptr-p, *ptr-arr, **ptr);
++*ptr;
printf("%d, %d, %d ", ptr-p, *ptr-arr, **ptr);
return 0;
}
A :
0, 0, 0

1, 1, 1

2, 2, 2

3, 3, 3
B :
1, 1, 2

2, 2, 3

3, 3, 4

4, 4, 1
C :
1, 1, 1

2, 2, 2

3, 3, 3

3, 4, 4
D :
0, 1, 2

1, 2, 3

2, 3, 4

3, 4, 5
Answer: C
Q. No. :100
Question :Char *(*(*x[ ] ) ( ))( )
The above C declaration denotes which of the following?
A :
array of pointers to function returning pointers to function returning pointer to char.
B :
array of pointers to function returning array to function returning pointer to char.
C :
array of function returning array of function returning pointer to char.
D :
array of function returning pointer to function returning pointer to char.
Answer: A
Q. No. :101
Question :What is true about the value assigned to an external variable
X. External variable may be altered within any file in which the variable is recognized.
Y. The change made to the external variable will be recognized  in all other files that fall within scope of the variable.
A :
Both X and Y
B :
Only X
C :
Only Y
D :
Neither X nor Y
Answer: A
Solution
Q. No. :102
Question :What will be the output of the program ?
#include< stdio.h >
int main()
{
char str1[] = "Hello";
char str2[] = "Hello";
if(str1 == str2)
printf("Equal ");
else
printf("Unequal ");
return 0;
}
A :
Equal
B :
Unequal
C :
Error
D :
None
Answer: B
Q. No. :103
Question :When recursive program is executed all of this is except?
A :
The recursive function calls are executed immediately.
B :
The calls are placed on a stack till condition for termination is encountered.
C :
The function calls are executed in reverse order as they are popped off the stack.
D :
If recursive function contains local variables, a different set of local variables will be created during each call.
Answer: A
Solution
Q. No. :104
Question :
 void f(char **p)
{
char *t;
t=(p+ =2)[-1];
printf("%d", t);
}
main()
{
char *argv[ ] = {"ab","cd","ef","gh","ij","kl"};
f(argv);
}
The output of the program is
A :
ab
B :
cd
C :
ef
D :
Compiler error
Answer: B
Q. No. :105
Question :The format specifier “-%d” is used for which purpose in C
A :
Left justifying a string
B :
Right justifying a string
C :
Removing a string from the console
D :
Used for the scope specification of a char[] variable
Answer: A
Q. No. :106
Question :
What will the SWAP macro in the following program be expanded to on preprocessing? will the code compile?

#include< stdio.h >
#define SWAP(a, b, c)(c t; t=a, a=b, b=t)
int main()
{
int x=10, y=20;
SWAP(x, y, int);
printf("%d %d ", x, y);
return 0;
}
A :
It compiles
B :
Compiles with an warning
C :
Not compile
D :
Compiles and print nothing
Answer: C
Solution
Q. No. :107
Question :What is the output of the program?
 void main()
{
int p=10;
q=5;
r=0;
r==MAX(p++, ++q);
printf("%d%d%d%d",p,q,r);
}

A :
1050
B :
1171
C :
1161
D :
1160
Answer: D
Q. No. :108
Question :The given code is used for ______
 Void main()
{
int a,b,c=0;
scanf("%d", &a);
for(b=1;b<=a;++b)
c=c+b;
printf("%d",c);
}

A :
Finding even factorial of numbers
B :
Finding rational factorials of number
C :
Generating triangular number
D :
None of these
Answer: C
Solution