[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.

Programming Questions and Answers

    21 / 434

    Write an efficient program to convert from binary to decimal number

    Input : NA


    Output : NA

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

    Tags:No Tags on this question yet!

    22 / 434

    Write an efficient program to reverse the given binary number

    Input : NA


    Output : NA

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

    Tags:No Tags on this question yet!

    23 / 434

    Write an efficient program to implement the strlen, strcmp, strcpy, strncmp function.

    Input : NA


    Output : NA

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

    Tags:No Tags on this question yet!

    24 / 434

    Write an efficient program to find the substring in a main string.

    Input : NA


    Output : NA

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

    Tags:No Tags on this question yet!

    25 / 434

    Write an efficient program to reverse the string, words in a given sentence.

    Input : NA


    Output : NA

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

    Tags:No Tags on this question yet!

    26 / 434

    Write an efficient program to implemnt the atoi function.

    Input : NA


    Output : NA

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

    Tags:No Tags on this question yet!

    27 / 434

    Write an efficient program to implement itoa function.

    Input : NA


    Output : NA

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

    Tags:No Tags on this question yet!

    28 / 434

    Read a string from terminal.Create a linked list to store each character in a linked list.
    Each node of the linked list must hold character, position in the string and count of
    occurrences. Write a function to remove the duplicate character in the string.
    Display the linked list before and after removal of duplicate characters.

    Input : NA


    Output : NA

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

    Tags:No Tags on this question yet!

    29 / 434

    Write an efficient program to detect and remove loop in a linked list

    Input : NA


    Output : NA

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

    Tags:No Tags on this question yet!

    30 / 434

    Write an efficient program to find the middle element in the list

    Input : NA


    Output : NA

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

    Tags:No Tags on this question yet!