Follow Quotesrain
  • Result
  • Today's Puzzle
    • Previous Puzzles
    • Prize & Rules
  • Discussion Board
    • Suggestion Board
    • Trending Articles
  • Maths Tricks
  • Placement Papers
    • Placement Questions
    • Interview Experience
    • Placed user Comment
    • Group Discussion
  • English APP
  • login
  • Result
  • Today's Puzzle
    • Previous Puzzles
    • Prize & Rules
  • Discussion Board
    • Suggestion Board
    • Trending Articles
  • Maths Tricks
  • Placement Papers
    • Placement Questions
    • Interview Experience
    • Placed user Comment
    • Group Discussion
  • Walkins
    • Corporate Job Exam
    • Government Job Exam
    • Entrance Exam
  • Training
    • Internship
  • Placement Questions
  • /
  • TCS
  • /
  • Programming
  • /
  • Technical

Frequently Asked TCS Programming - Technical Interview Questions with Answers

TCS Select Another Category Technical Select Another Topic

Company

  • 3i-Infotech 345
  • Accenture 547
  • ADITI 81
  • Athenahealth 72
  • CADENCE 37
  • Capgemini 519
  • CMC 49
  • Cognizant 29
  • CSC 480
  • CTS 1340
  • Dell 49
  • Elitmus 44
  • GENPACT 516
  • Google 55
  • HCL 217
  • Hexaware 92
  • Huawei 81
  • IBM 1714
  • IGate 169
  • Infosys 2050
  • L&T 299
  • Microsoft 61
  • Miscellaneous 204
  • Oracle 74
  • Other 95
  • Patni 199
  • Sapient 44
  • Sasken 31
  • Self 38
  • Syntel 530
  • TCS 9108
  • Tech Mahindra 500
  • Wipro 1182

TCS Question Topics

    Category (489)

    General Ability (141)

  • General Knowledge (140)
  • HR Interview (122)

  • Interview (119)
  • Logical Reasoning (850)

  • Age Problem (1)
  • Blood Relations (138)
  • Coding Decoding (85)
  • Cryptography (43)
  • Decision Making and Problem Solving (54)
  • Direction Sense (28)
  • General Mental Ability (96)
  • Letter Arrangement (24)
  • Letter Series (20)
  • Logical Sequences (60)
  • Mathematical Reasoning (109)
  • Missing Character (20)
  • Number Series (135)
  • Seating Arrangement (31)
  • Numerical Ability (3071)

  • Age Problem (196)
  • Algebra (164)
  • Alligation or Mixture (18)
  • Area and Volume (112)
  • Arithmetic (216)
  • Averages (82)
  • Boats and Streams (13)
  • Clocks and Calendars (50)
  • Co-ordinate geometry (29)
  • Complex Numbers (10)
  • Data Interpretation (24)
  • Data Sufficiency (11)
  • Geometry (116)
  • Height and Distance (15)
  • LCM and HCF (63)
  • Log and Antilog (10)
  • Number System (438)
  • Percentage (104)
  • Permutation and Combination (335)
  • Pipes and Cistern (6)
  • Probability (304)
  • Profit and Loss (102)
  • Quadratic Equations (16)
  • Ratio and Proportion (97)
  • Sequence and Series (86)
  • Simple & Compound Interest (16)
  • Stock and Shares (7)
  • Time and Work (180)
  • Time Distance and Speed (188)
  • Trigonometry (15)
  • Programming (166)

  • Arrays (23)
  • Basics (13)
  • Database (10)
  • Definition (8)
  • Functions (12)
  • Output (18)
  • Program (30)
  • Puzzles (2)
  • Technical (22)
  • Variables (11)
  • Verbal Ability (87)

  • Antonyms (15)
  • Miscellaneous (16)
  • One Word Substitution (8)
  • Sentence Arrangement (12)
  • Sentence Completion (7)
  • Spotting Errors (5)
  • Synonyms (23)
Keep an EYE (0)TCS Interview Experience (89)
Solved Question (5) UnSolved Question (17)
Pages: 3123NextLast
Advertisements

(#M40167097) TCS QUESTION Operator Overloading Keep an EYE Keep an eye puzzle Keep an eye puzzle

We cannot overload _______ operator.

A. ::
B. []
C. ()
D. +

Asked In TCS Jax (1 year ago)
Unsolved Read Solution (4)
Is this Puzzle helpful?   (20)   (1) Submit Your Solution Technical

(#M40167096) TCS QUESTION SPRAE stands for Keep an EYE Keep an eye puzzle Keep an eye puzzle

What is the CORRECT full form of SPRAE - a generic structured testing approach?

A. Specification-Premeditation-Repeatability-Accountability-Evaluation
B. Specification-Programming-Randomization-Accountability-Economy
C. Specification-Programming-Repeatability-Accountability-Economy
D. Specification-Premeditation-Repeatability-Accountability-Economy

Asked In TCS Jax (1 year ago)
Unsolved Read Solution (3)
Is this Puzzle helpful?   (1)   (1) Submit Your Solution Technical
Advertisements

(#M40167094) TCS QUESTION Arguments Keep an EYE Keep an eye puzzle Keep an eye puzzle

If the user does not pass value to argument, what is the value of arguments provided at the time of function declaration that are automatically assign by the compiler called?

A. Pass by value argument
B. Pass by reference argument
C. Default argument
D. User defined argument

Asked In TCS Jax (1 year ago)
Unsolved Read Solution (4)
Is this Puzzle helpful?   (4)   (4) Submit Your Solution Technical

(#M40012441) TCS QUESTION pipes and cisterns Keep an EYE Keep an eye puzzle Keep an eye puzzle

There is a tank,and two pipes A and B.A can fill the tank in 25 minutes and B can empty the tank in 20 minutes.If both pipes are opened at same time.how much time required the taank can fill?

Asked In TCS balu (10 years ago)
Unsolved Read Solution (13)
Is this Puzzle helpful?   (38)   (29) Submit Your Solution Technical

(#M40165164) TCS QUESTION Technical MCQ Keep an EYE Keep an eye puzzle Keep an eye puzzle

Given the below statements about C programming language:
1) main() function should always be the first function present in a C program file
2) all the elements of an union share their memory location
3) A void pointer can hold address of any type and can be typcasted to any type
4) A static variable hold random junk value if it is not initialised

Asked In TCS Ashish (5 years ago)
Unsolved Read Solution (8)
Is this Puzzle helpful?   (43)   (28) Submit Your Solution Technical

(#M40167093) TCS QUESTION Black Box Testing based question Keep an EYE Keep an eye puzzle Keep an eye puzzle

Which among the below given options is a part of black-box testing?

A. Verification
B. Equivalence class partitioning
C. Walk through
D. Review

Asked In TCS Jax (1 year ago)
Unsolved Read Solution (3)
Is this Puzzle helpful?   (6)   (1) Submit Your Solution Technical

(#M40165175) TCS QUESTION Technical MCQ Keep an EYE Keep an eye puzzle Keep an eye puzzle

What are the types of pnkages?
1.Internal and External
2.External, Internal and None
3.External and None
4.Internal

Asked In TCS Ashish (5 years ago)
Unsolved Read Solution (7)
Is this Puzzle helpful?   (19)   (8) Submit Your Solution Technical

(#M40035241) TCS QUESTION C Programming Keep an EYE Keep an eye puzzle Keep an eye puzzle

Find the number of divisors of 1080 excluding the divisors which are perfect squares.
A. 28
B. 30
C. 29
D. 31

Asked In TCS Subrata Patra (9 years ago)
Solved RAKESH Read Solution (8)
Is this Puzzle helpful?   (48)   (23) Submit Your Solution Technical

(#M40152625) TCS QUESTION tcs Keep an EYE Keep an eye puzzle Keep an eye puzzle

Grandpa's Candy Distribution

Rahul is considered to be the luckiest kid around, by his classmates - his grandpa has a candy factory! And the factory produces a thousand different flavours of candies!

Rahul's birthday is around the corner and the entire school is excited to receive the candies. Rahul approaches his grandpa and asks for candies to be distributed on his birthday.

His grandpa tasks him with a problem - he says that he will give him as many candies as he wants (N) of all distinct flavours for as many students in his school (K) if he can tell him the sum of the following:

The number of ways there are to choose K/2 candies out of N/2 disregarding the order of selection, and
The number of ways there are to choose K/2 candies out of N/2 taking into account the order of selection.


Give the answer, modulo 1000000007. Assume integer division while halving N and K.

Input Format:

First line contains a positive integer T determining the number of test cases
Next T lines contain two positive integers each, viz. N and K separated by white space.

Output Format:

For each test case, print a single integer per line denoting the sum of total number of ways to distribute N candies among K students as per grandpa's method, modulo 1000000007

Constraints:

1 <=T <= 1,000,000

2 <=N <=2000

2 <=K <=1000

Asked In TCS aswinbalamurali (7 years ago)
Unsolved Read Solution (1)
Is this Puzzle helpful?   (2)   (4) Submit Your Solution Technical

(#M40001274) TCS QUESTION Keep an EYE Keep an eye puzzle Keep an eye puzzle

The age of two friends is in the ratio 5:6, after how many years will the ages be in the ratio 7:8?

Asked In TCS MANOJ (12 years ago)
Solved Rituraj Read Solution (9)
Is this Puzzle helpful?   (39)   (16) Submit Your Solution Technical
Keep an EYE (0)TCS Interview Experience (89)
Solved Question (5) UnSolved Question (17)
Pages: 3123NextLast
  • Login
  • Register

Resend

Sponsored Links

Advertisements

Challenger of the Day

no image
Dimple
India
Punjab
Time: 00:01:33
Points
19

Maths Quotes

With Mathematics you are Hero, without Mathematics you are Zero.

Piyush Pallaw

mathematics is like puzzle and it improves our brain sharpness

demoorgan

Placed User Comments

M4Math helped me a lot.

Vipul Chavan 2 years ago

Thanks m4 maths for helping to get placed in several companies.
I must recommend this website for placement preparations.

yash mittal 3 years ago
  • 2476K+Registerd user
  • 1734K+Engineers
  • 742K+MBA Asprirant
  • 3K+Enginnering College
  • 250+Company Exam
  • 150K+Interview Questions
  • Site Links
  • Home
  • Result
  • Today's Puzzle
  • Discussion Board
  • Maths Tricks
  • Advertise with us
  • Contact Us
  • Useful Info
  • Maths Quotes
  • Previous Puzzles
  • Prize
  • Privacy Policy
  • Disclaimer and Copyright
  • Terms and Conditions
  • Sitemap
  • Placement papers
  • TCS Placement Paper
  • HCL Placement Paper
  • INFOSYS Placement Paper
  • IBM Placement Paper
  • SYNTEL Placement Paper
  • TECHNICAL Interview
  • HR Interview
All rights are reserved to @m4maths.com