Posts

TCS NINJA| Programming Logic

  Programming Logic    1.     Is Python case sensitive when dealing with identifiers? a) yes b) no c) machine dependent d) none of the mentioned   2.     What is the maximum possible length of an identifier? a) 31 characters b) 63 characters c) 79 characters d) none of the mentioned     3.     Which of the following is invalid? a) _a = 1 b) __a = 1 c) __str__ = 1 d) none of the mentioned     4.     Why are local variable names beginning with an underscore discouraged? a) they are used to indicate a private variables of a class b) they confuse the interpreter c) they are used to indicate global variables d) they slow down execution       5       The value of the expressions 4/(3*(2-1)) and 4/3*(2-1) is the same. a) True b) False              

TCS NINJA| Verbal Ability

  Verbal Ability 1. There has been a divergence ____________ the bank’s disclosed nonperforming assets (NPAs) for fiscal year 2015-16 and the Reserve Bank of India’s (RBI) assessment, ____________ to underprovisioning.  (A) Over, optimum  (B) During, unremarkable  (C) Among, unrivalled  (D) Between, leading  (E) Of, incomparable     2. As a _____________ regulator, the Securities and Exchange Board of India (SEBI) has taken strong corrective steps and what we have are well-regulated, completely dematerialized and smooth functioning capital markets, which _____________ confidence.  (A) Fanatical, dissuade (B) Passive, impel (C) Proactive, inspire (D) Vigorous, instigate (E) Effective, enervate     3. As any business strategy professor will tell you, when customers ___________ the products to be similar, price (in this case discounts) ___________ the key differentiator.  (A) Descry, set s (B) Acknowledge, receives (C) Appreciate gives  (D) Perceive, becomes (E) Understand, remains      4

TCS NINJA| Numerical Ability

  Numerical Ability 1. A company offered its 350 employees a bonus of Rs 10 to each male and Rs 8.15 to each female. All the females accepted but a certain percentage of males refused to accept. The total bonus paid was independent of the number of males. What was the total amount paid to the females (in rupees)? 1. 1672.50 2. 1222.50 3. 2852.50 4. None of these Answer :  Option 2     2. Ram bought ‘a’ flowers for ‘b’ rupees, where ‘a’ and ‘b’ are integers. If he had bought 10 more flowers he would have got all for Rs. 2 and saved 80 paisa a dozen. What are the respective vales of ‘a’ and ‘b’? 1. 5,1 2. 4,2 3. 3,2 4. 6,1 Answer :  Option 1   3. The integers 49966 and 52231 when divided by a three digit number ‘n’ give the same remainder. What is the value of n? 1. 367 2. 453 3. 462 4. 298 Answer :  Option 2   4. The HCF of two numbers is 21 and their LCM is 4641. If one of the numbers is between 200 and 300, find the other number. 1. 221

TCS Ninja|Reasoning Ability

  Reasoning Ability 1. The present age of a mother and son are in the ratio 2:1 and the ratio of present ages of father and son is 3:1. If the sum of their ages is 84. Then find present age of son.   A. 18   B. 24   C. 36   D. 14   Answer: D   2. The sum of present ages of a father and a son is 64 years. The age of son is 1/3rd of the age of his father. Then find the present age    of    father.   A. 32   B. 52   C. 48   D. 24   Answer: C   3. Seven years ago, the sum of the ages of A and B was 18. 16     years from now, the ratio of their ages will be 19:13. What is the present age of B if he is younger than A? A. 10 years B. 12 years C. 8 years D. 7 years Answer: A   4. P was twice as old as Q before 8 years. After 8 years, the ratio of the     ages of P and Q will be 4:3. What is the age of P now? A. 8 years B. 16 years C. 24 years D. 32 years Answer: C   5. Two years from now, the ages of Ram and Sam will be in the ratio 5 :