Friday 19 October 2012

Career Mania 55: FaaDoOEngineers.com: Tech Mahindra placement papers (January 2012)

Career Mania 55
Career news.....www.careermania55.koolcentre.in,movies news.....www.koolcentre.in
FaaDoOEngineers.com: Tech Mahindra placement papers (January 2012)
Oct 19th 2012, 11:47

FaaDoOEngineers.com
India's BIGGEST Website for Engineers & Aspiring Engineers!
Tech Mahindra placement papers (January 2012)
Oct 19th 2012, 10:27

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 :D)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

You are receiving this email because you subscribed to this feed at blogtrottr.com. If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

No comments:

Post a Comment