TCS Ninja National Qualifier Test conducted by TCS (Tata Consultancy Services) and is
an All-India Recruitment Drive. This exam provides jobs to many thousands of students.
There will be three rounds of evaluation as follows:
Technical
Managerial
HR
Syllabi for :
2. Aptitude:
Averages
Mixtures
Allegations
Percentages
Permutations
Combinations
Profit and loss
Algebra
Ratio and proportions
Probability
Time, speed, distance
Time and Work
Functions
Geometry
Number System and HCF & LCM
Reasoning
Blood Relations
3. Programming Logic: The questions asked in this section are basic command line
argument theory questions and C input output questions.
C
C++
Java
Python
Perl
Section 1: English
With the decades-old minimum support price (MSP) system __________ A __________ the
crisis at the farm gate, the three schemes that are a part of AASHA – the Price Support
Scheme (PSS) itself, the Price Deficiency Payment Scheme (PDPS) and the Pilot of Private
Procurement and Stockist Scheme (PPPS) – point to an innovative, MSP-plus approach to
the problem of non-remunerative prices. Under the PDPS, the Centre __________ B
__________ to pay oilseed farmers the difference between the MSP and market price. The
advantage of this scheme is that the Centre can keep the farmer satisfied without having to
go through the hassle of physical procurement, storage and disposal. Freed of these
logistical hassles, the geographical reach and coverage of PDPS is likely __________ C
__________. The PSS, or expanded MSP, will allow the FCI to procure pulses, oilseeds and
copra from States that display interest. The PPPS is a new idea. __________ D
__________, the Centre will persuade States to bring in private players to procure at MSP.
It promises a maximum of 15 per cent of MSP as a service charge to the private player to
compensate for the loss. In all these schemes however, the key will be the implementation;
failure to create a system of checks and balances can derail them. For instance, the
experience of Madhya Pradesh which implemented the PDPS under the Bhavantar Bhugtan
Yojana last year, shows that it __________ E __________. Ground level checks reveal that
traders connive with each other and depress prices at mandis. They force farmers to sell at
lower prices and pocket the compensation from the government. Many small and marginal
farmers __________ F __________ to sell their produce under the Bhavantar scheme, face
a double whammy of lowered price and no compensation. The PSS would be easier to
implement, with nodal agencies doing the procurement. However, the Centre __________
G __________to provide funds. With the additional Rs.16,550 crore guarantee for raising
working capital from banks now being made available, the total credit guarantee given to
institutions under PSS is already Rs.45,550 crore. But if all States apply to NAFED/FCI for
procurement of oilseeds or pulses, the agencies will fall short of funds.
1. A. Fragmentation of yield
B. Failing to address
C. Understanding to ratify
D. Interested in developing
E. None of the above
2. A. Makes a promise
B. Decides a way-out
C. Announces a weather-based yield scheme
D. Determines to ensure that
E. Attends to consolidate
3. A. To remain constant
B. To attend the farmers very carefully
C. To be superior
D. To guide the farmers to increase in income
E. To utilize the sources of the irrigation
8. A. suspension
B. manifestation
C. location
D. addiction
E. invocation
9. A. facilitates
B. provides
C. lengthens
D. expands
E. thwarts
10. A. revamp
B. regain
C. relocate
D. readjust
E. register
11. A. relevant
B. instrumental
C. purposeful
D. pertinent
E. essential
12. A. dislocation
B. vacillation
C. disintegration
D. deprivation
E. provocation
13. A. sophisticated
B. obvious
C. exact
D. conceptual
E. peculiar
14. A. manifested
B. organised
C. described
D. decided
E. understood
15. A. variability
B. depth
C. prognosis
D. punctuality
E. amount
Section 2: Aptitude
1. Nikhat recently shifted to a new house and hence had ordered few electric bulbs from a
shop, along with other items. The box had 20 electric bulbs out of which 4 were
defective. She chose two bulbs at random from the box. The probability that at least one
of these were defective are:
A. 4/19
B. 7/19
C. 12/19
D. 21/95
2. Nina, Amar, and Kanika won a lucky draw amount of Rs. 370 . Karan decided to share
the amount amongst those three in such a way that Amar got 1/4th of what Kanika got
and the ratio between the Nina and Kanika’s share is 3 : 5. Find each share.
A. 120,50,200
B. 125,60,185
C. 110,80,180
D. 100,180,190
3. Given five concentric squares. If the area of the circle inside the smallest square is 77
square units and the distance between the corresponding corners of consecutive squares
is 1.5 units, find the difference in the areas of the outermost and innermost squares.
A. 1254 sq units
B. 1008 sq units
C. 877 sq units
D. 240 sq units
5. Saloni purchased a refrigerator for Rs. 80,000. She had to spent Rs. 5000 on repair and
Rs. 1000 on transport. Later she decided to sell the refrigerator and sold it with 25%
profit. At what price did she sell it?
A. Rs. 103250
B. Rs. 105530
C. Rs. 107500
D. Rs. 102560
6. Find the least number which when divided by 2, 3, 4 and 5 leaves a remainder 3. But
when divided by 9 leaves no remainder?
A. 33
B. 63
C. 81
D.123
E. None of these
7. Let f(x) = 2x-5 and g(x) = 7-2x. Then |f(x) + g(x)| = |f(x)| + |g(x)| if and only if
A. 26.89 minutes
B. 25 minutes
C. 27.25 minutes
D. 30 minutes
9. Kinshuk was given a sum to solve, the sum says the average weight of 3 persons P, Q, R
is 42 kgs. Another female S joins the group and the average now becomes 40kg. If
another female T, whose weight is 2 kg more than that of S and T replaces P, then the
average weight of Q, R, S and T becomes 39kg. The weight of P is
A. 20 kg
B. 30 kg
C. 40 kg
D. 50 kg
E. None of these
10. There are 10 members A,B,C,D,E,F,I and J in the family. There are three generations of
the family. There is also three married couple in the family. There is an equal number of
male and female. A is the daughter – in – law of J. B’s brother I have only one sister A.
H and B are married couple. H is the mother – in– law of C. G is the mother of B. D is
the son – in –law of G. C is the sister of E. F is the only son of D.
If B is the son-in-law of X. Then how is X related to C?
A. father
B. grandmother
C. grandfather
D. can’t be determined
E. None of these
11. If five times of a positive integer is equal to three less than twice the square of that
number than find the number?
A. 33
B. 23
C. 13
D. 3
E. None of these
12. Population of a country increases every year by 10%. If the population in January 2010
was 15.8 lakhs, what was the population in January 2012 ?
A. 19,11,800
B. 18,96,000
C. 19,11,600
D. 18,94,000
E. None of these
14. A car owner buys petrol at Rs.7.50, Rs. 8 and Rs. 8.50 per litre for three successive
years. What approximately is the average cost per litre of petrol if he spends Rs. 4000
each year?
A. Rs. 7.98
B. Rs. 8
C. Rs. 8.50
D. Rs. 9
15. If 2 is subtracted from all the even digits and 3 is added to all the odd digits in the
number 3821546 then how many digits get repeated in the number thus formed?
A. None
B. four
C. two
D. one
E. three
1. If the following program i.e "myprog" is run from the command line as "a.out" . What
would be the output?
#include
void main (int argc, char*argvl))
{
int i;
for (i = 1; i < argc; i++)
print[ ("%s", argv[i]);
}
A. *c
B. List of all .c files in the current directory
C. "*c"
D. None of these
2. According to ANSI specifications which is the correct way of declaring main when it
receives command-line arguments?
#include
int main(int argc, char *argv[])
{
printf(" %d", printf("%s", argv[1]));
return 0;
}
A. Commvault
B. India 5
C. CommVault 9
D. India 9
4. If the definition of the external variable occurs in the source file before its use in a
particular function, then there is no need for an extern declaration in the function.
A. True
B. False
6. #include
int main(int argc, char ** argv)
{
char **items;
int j = 3, i;
items = argv;
for(i = 1; (i%4); i++)
{
int **p = &items[j];
printf("%c", **p);
j--;
}
return 0;
}
The above code is run with three command line parameters mentioned here: Paper Ink
Pen. What will be the output of the above program?
A. IP
B. Pen
C. Pap
D. Ink
7. Which of the following is true?
A. Array is a dynamic data structure whose size can be changed while stacks are static
data structures whose sizes are fixed.
B. Array elements can be accessed and modified(elements can be added or removed)
only at the ends of the array while any elements of the stack can be accessed or
modified randomly through their indices.
C. An array can have elements of different data types.
D. Elements of a linked-list can be accessed only sequentially.
#include<stdio.h>
int main()
{
int a[5] = {5, 1, 15, 20, 25};
int i, j, m;
i = ++a[1];
j = a[1]++;
m = a[i++];
printf("%d, %d, %d", i, j, m);
return 0;
}
A. 2, 1, 15
B. 1, 2, 5
C. 3, 2, 15
D. 2, 3, 20
10. Are the expressions arr and &arr same for an array of 10 integers?
A. Yes
B. No
Section 4: Coding
0,0,2,1,4,2,6,3,8,4,10,5,12,6,14,7,16,8
This series is a mixture of 2 series all the odd terms in this series form even numbers in
ascending order and every even terms is derived from the previous term using the
formula (x/2)
The value n in a positive integer that should be read from STDIN the nth term that is
calculated by the program should be written to STDOUT. Other than the value of the nth
term no other characters /strings or message should be written to STDOUT.
For example if n=10,the 10 th term in the series is to be derived from the 9th term in the
series. The 9th term is 8 so the 10th term is (8/2)=4. Only the value 4 should be printed
to STDOUT.