Login to Your Account

Free Recharge

Results 1 to 2 of 2

Thread: Tech Mahindra placement papers (January 2012)

  1. #1

    Tech Mahindra placement papers (January 2012)

    January 2012 Tech Mahindra Placement Paper:-

    1. main( )
    int x,y, z;
    z= x+++y;
    printf("%d %d %d", x, y z);
    a)3 5 7 b)option 2 c)option 3 d)option 4
    Ans: a

    2. What is the output of the program

    void main()


    struct a


    int i;

    char *st1;


    typedef struct a ST;

    ST *str1;



    strcpy(str1->st1,"Welcome to Oracle");

    printf(" %d%s\n",str1->i,str1->st1);



    A. core dump

    B. will not compile

    c. 100,Welcome to Oracle

    D. None of these


    3. What is the output of the program
    void main()
    int i,j,k;
    if(++k && ++i<--j|| i++)
    printf(" %d %d %d",i,-j--,k);
    // A. 4,-3,2
    // B. 5,-3,2
    // c. 4,-2,2
    // D. 5,-2,2
    Ans: D

    4.if q <> 0 and k = qr/2 -s, then what is r in terms of k,q,s?

    a) 2k+s q
    b) 2sk q
    c) 2(k-s) q
    d) 2k+sq q
    e) 2(k+s) q Ans: e

    If taxi fares were Rs 1.00 for the first 1/5 mile and Rs 0.20 for each 1/5 miles thereafter. The taxi fare for a 3-mile ride was

    (A)Rs 1.56
    (B)Rs 2.40
    (C)RS 3.00
    (D)Rs 3.80
    (E)Rs 4.20
    Answer :d)Rs 3.80

    6. How many integers n greater than and less than 100 are there such that,if the digits of n are reversed, the resulting integer is n+9 ?


    Ans )8

    7. An investor purchased a shares of stock at a certain price.If the stock increased in price Rs 0.25 per share and the total increase for the x shares was Rs 12.50, how many shares of stock had been purchased ?


    Ans :B)50

    8. For 1 MB memory, the number of address lines required,

    (d) 24

    Ans. (b)

    9. Piggy backing is a technique for

    a) Flow control
    b) Sequence
    c) Acknowledgement
    d) retransmition

    Ans. (c)

    10. fresh mango consists of 70% water and dry mango consists of 10% water then 20Kg of fresh mango is equivalent to how much of dry mango

  2. #2

    Re: Tech Mahindra placement papers (January 2012)

    is there separate aptitude and written test? can u plz tell me the duration for each section? is there negative marking?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Share anywhere and get download.