[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

Coding Questions Asked in TCS

    21 / 25

    Write a program to sort an array into two halves, one half ascending and second half descending.

    Input : NA


    Output : NA

    View Answer |  Array |  Practice Program | Add to Reading List To Reading List | Asked In TCSGlobal Edge |  Experience, Fresher
    Please Login to view the answer

    22 / 25

    Write a c program to convert binary to decimal using command line arguments?

    Input : NA


    Output : NA

    View Answer |  Basics |  Practice Program | Add to Reading List To Reading List | Asked In TCS |  Fresher
    Please Login to view the answer

    Tags:TCS

    23 / 25

    Write a C program to find the area of a triangle given the base and the corresponding height. The values base and height are both positive integers passed to the program as the first and second command line parameters respectively.

    Note: Write the output to stdout formatted as a floating point number rounded to EXACTLY 2 decimal precision WITHOUT any other additional text. Scientific format(such as 1.00E+5) should NOT be used while printing the output. You may assume that the inputs will be such that the output will not exceed the largest possible real number that can be stored in a float type variable.

    Input : NA


    Output : NA

    View Answer |  Basics |  Practice Program | Add to Reading List To Reading List | Asked In TCS |  Fresher
    Please Login to view the answer

    Tags:TCS

    24 / 25

    Write a c program to convert decimal to binary using command line arguments?

    Input : 8723


    Output :

    View Answer |  Basics |  Practice Program | Add to Reading List To Reading List | Asked In TCS |  Fresher
    Please Login to view the answer

    Tags:TCS

    25 / 25

    Write a C program to find the sum of N prime number using Command Line Arguments?

    Input : NA


    Output : NA

    View Answer |  Basics |  Practice Program | Add to Reading List To Reading List | Asked In TCS |  Fresher
    Please Login to view the answer

    Tags:TCS




Q4I highly advised to practice all the page 3 basics and standard program asked at freshers or experienced level job interview in TCS. Practice our hand-picked coding interview questions asked in TCS Page 3. You can programed the given question in any language, you can post your answer and same time you can review the other answer. It is always recommanded to write your own program first and then refer others answers. At this page we have covers all the TCS coding questions in 2020 and previously asked in their Interview round or coding rounds.