Close
Login to Your Account
Faadooengineers




Results 1 to 2 of 2

Thread: Tech Mahindra placement papers (January 2012)

  1. #1
    Active FaaDoO Engineer
    Join Date
    Sep 2012
    Posts
    131

    Gender: : Male

    Branch: : Mechanical Engineering

    City : Delhi

    Send Private Message
    Send Friend Request

    Tech Mahindra placement papers (January 2012)

    January 2012 Tech Mahindra Placement Paper:-

    1. main( )
    {
    int x,y, z;
    x=2;
    y=5;
    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;

    str1=(ST*)malloc(100);

    str1->i=100;

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

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

    getch();

    }

    A. core dump

    B. will not compile

    c. 100,Welcome to Oracle

    D. None of these

    Ans:
    C


    3. What is the output of the program
    void main()
    {
    int i,j,k;
    i=2;
    j=4;
    k=i++>j&2;
    printf("%d\n",k);
    if(++k && ++i<--j|| i++)
    {
    j=++k;
    }
    printf(" %d %d %d",i,-j--,k);
    getch();
    }
    // 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


    5.
    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 ?

    (A)5
    (B)6
    (C)7
    (D)8
    (E)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 ?

    (A)25
    (B)50
    (C)75
    (D)100
    (E)125

    Ans :B)50

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

    (a)11
    (b)16
    (c)22
    (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
    Fuchcha FaaDoO Engineer
    Join Date
    Sep 2012
    Posts
    1

    Gender: : Female

    Branch: : Information Technology Engineering

    City : Kolkata

    Send Private Message
    Send Friend Request

    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