Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 10

1.

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 2. 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 3. What is the output of the program #include<stdio.h> #include<conio.h> void main() { int i,j=20; clrscr(); for(i=1;i<3;i++) { printf("%d,",i); continue; printf("%d",j); break; } getch(); } // A. 1,20

// B. 1,20,1,20 // c. 1,2 // D. 1,2,20,20 Ans: c 4. x% of y is y% of ? (A) (B) (C) (D) x/y 2y x can't be determined

5. The price of sugar increases by 20%, by what % should a housewife reduce the consumption of sugar so that expenditure on sugar can be same as before ? (A) 15% (B) 16.66% (C) 12% (D) 9% 6. A man spends half of his salary on household expenses, 1/4th for rent, 1/5th for travel expenses, the man deposits the rest in a bank. If his monthly deposit s in the bank amount 50, what is his monthly salary ? (A) Rs.500 (B) Rs.1500 (C) Rs.1000 (D) Rs. 900 7. To change the default date format in a SQLPLUS Session you have to (A) (B) (C) (D) Set the new format in the DATE_FORMAT key in the windows Registry. Alter session to set NLS_DATE-FORMAT. Change the Config.ora File for the date base. Change the User Profile USER-DATE-FORMAT.

8. Which of the following is not necessarily an advantages of using a package ra ther than independent stored procedure in data base. (A) Better performance. (B) Optimized memory usage. (C) Simplified Security implementation. (D) Encapsulation. 9. Find the greatest no. that will divide 964,1238 and 1400 leaving remainder of 41,31 and 51 resp. a) 58 b) 64 c) 69 d) 71 10. If all 6 s get inverted and become 9 s , by how much will the sum of all nos. be tween 1 and 100 both inclusive change? a) 300 b) 330 c) 333 d) none of these 11. If all the picture cards are removed from a pack of cards, the sum of the va lues of the remaining is a) 55 b) 220 c) 54 d) 216 12.One monkey climbs a poll at the rate of 6mts/min and fell down 3mts in the al ternately. Length of the poll is 60 mtrs , how much time it will take to reach t he top?

a. 31

b.33

c.37 d.40

(ans: 37)

13. Find the approximate value of the following equation. 6.23% of 258.43 - ? + 3.11% of 127 = 13.87 1) 2) 3) 4) 5) 2 4 8 6 10

14. A train overtakes 2 persons walking at 3 km/hr and 5 km/hr respectively in t he same direction and completely passes them in 8 seconds and 10 seconds respect ively. Find the speed of the train. 1) 2) 3) 4) 5) 15 km/hr 13 km/hr 10 km/hr 10 km/hr None of these

15. The sum of a number and its square is 1406. What is the number? 1) 2) 3) 4) 5) 38 39 37 29 None of these

16. In a business P and Q invested amounts in the ratio 3:4, whereas the ratio b etween amounts invested by P and R was 6:7. If Rs 106501.50 was their profit, ho w much amount did Q receive? 1) 2) 3) 4) 5) Rs 40572 Rs 30429 Rs 35500.50 Rs 34629 None of these

17. A man buys spirit at Rs. 60 per letter, adds water to it and then sells it a t Rs. 75 per litter. What is the ratio of spirit to water if his profit in the f eal is 37.5%? (a) 9:1 (b) 10:1 (c) 11:1 (d) None of these. Ans (b) 10.1 18. A certain quantity of petrol is found to be adulterated to the extent of 10% . What proportion of the adulterated petrol should be replaced with pure petrol to take the purity level to 98%? (a) 80% (b) 32% (c) 66.67% (d) cannot be determined. Ans (a) 80% 19. There is a family of six persons P,Q,R,S,T and U.They are Lawyer, Doctor, Te acher, Salesman, Engineer and Accountant. There are two married couples in the f amily. S, the salesman is married to the Lady Teacher. The Doctor is married to the Lawyer U, The Accountant is the son of Q and brother of T. R, the Lawyer is the daughter-in-law of P. T is the unmarried Engineer. P is the Grandmother of U

. Which is the profession of P? a)Lawyer b)Teacher c)Doctor d)Accountant 20. My mother gave me money to buy stamps of price 2paisa, 7 paisa,15 paisa, 10p aisa and 20 paisa. I had to buy 5 each of three types and 6 each of the other 2 types . But on my way to the post office i forgot how many of stamps of each typ e were to be brought . My mother had given me rupees 3 . So i had no problem in finding out the exact amount of each one . Can you tell me which stamps were 5 i n number , n whic were 6 in number Ans . 5 stamps each of 2paisa, 7 paisa, 15 paisa All Aricent Placement papers All Placement papers of IT-Software/Software Services All Gurgaon Placement papers 1. void main() { int i,j,k; for(i=0;i<3;i++) k=sum(i,i); printf("\n%d",k); getch(); } sum(s,t) { static int m; m+=s+t; return m; } Ans: 6 2. What is the output of the program void main() { int i,j,k,n=5; clrscr(); for(i=5;i>0;i--) { j=1<i; k=n&j; k==0?printf("0"):printf("1"); } getch(); } // A. 00011 // B. 11110 // c. 11001 // D. 11100 Ans: B. 11110 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. what is the final value of x when the code for(int x=0;x<10;x++) is run? a. 10 b. 9 c. 0 d. 1 5. a. b. c. d. 6. a. b. c. d. what is the data type of FILE? integer union pointer structure if "a" is an array of 5*5 dimension, a[2][4] is same as **(a+2+4) *(a+2) + *(a+4) **(a+2)+4 *(*a+2)+4)

7.In simple interest what sum amounts of Rs.1120/- in 4 years and Rs.1200/- in 5 years ? (A) Rs. 500 (B) Rs. 600 (C) Rs. 800 (D) Rs. 900 8. If a sum of money compound annually amounts of thrice itself in 3 years. In h ow many years will it become 9 times itself. (A) 6 (B) 8 (C) 10 (D) 12 9. Two trains move in the same direction at 50 kmph and 32 kmph respectively. A man in the slower train observes the 15 seconds elapse before the faster train c ompletely passes by him. What is the length of faster train ? (A) 100m (B) 75m (C) 120m (D) 50m 10. How many mashes are there in 1 square meter of wire gauge if each mesh is 8m m long and 5mm wide ? (A) 2500

(B) 25000 (C) 250 (D) 250000 11. What is the Result of the following 'VIK' NULL 'RAM' ? a] b] c] d] Error VIK RAM VIKRAM NULL

Ans : C 12. What SYSTEM VARIABLE is used to refer DATABASE TIME ? a] b] c] d] $$dbtime$$ $$time$$ $$datetime$$ None of the above

Ans : A 13. If m:n = 2:3,the value of 3m+5n/6m-n is (A) 7/3 (B) 3/7 (C) 5/3 (D) 3/5 14. A dog taken four leaps for every five leaps of hare but three leaps of the d og is equal to four leaps of the hare. Compare speed? (A) 12:16 (B) 19:20 (C) 16:15 (D) 10:12 15. What is true about the following C functions? (A) Need not return any value. (B) Should always return an integer. (C) Should always return a float. (D) Should always return more than one value. 16. enum number { a=-1, b=4, c,d,e,} what is the value of e? (A) 7 (B) 4 (C) 5 (D) 3 17. which of the following correctly declares My_var at returns an integer a. int*My_Var(); b. int*(My_Var()); c. int(*)My_Var(); d. int(*My_Var)(); 18. There are 76 persons. 53 can read hindu,46 can read times,39 can read deccan and 15 can read all.if 22 can read hindu and deccan and 23 can read deccan and times then what is the number of persons who read only times and hindu??? Ans 18 19. in pure milk if 20% replaced by water and in this again 20% is replaced by w ater and again 20% is replaced by water then what is the praportion of milk in t hat mixture as a pointer to a function th

20. after 10 years A will be twice the age of B before 10 years.and now if the d ifference is 9 years between them then what is the age of B after 10 years Ans 49 All Aricent Placement papers All Placement papers of IT-Software/Software Services All Chennai Placement papers Written Test : duration 1hr 50 mins Technical Interview (can be more than 1) HR In written test there are 7 section of each 10-20 minuts duration: 1. 2. 3. 4. 5. 6. 7. Verbal( English) Aptitude Mental Ability. Data Structures and OS(20 questions,20 mins) C or C++ (20 questions,20 mins) Comprehension( 15minute reading time +10minutes,10 questions) E-mail writing (5 minutes)

There is a sectional cutoff for each section. So please be prepared and manage y our time accordingly. When given time for each section is over, paper is collect ed back, to create pressure on the candidate. 1) Verbal section contains some easy questions like : fill in the blanks, abbreviations, vocabulary 2) Aptitude section contains mainly a set based questions .just go through the bas ic set formulas. There were around 5 questions from sets. 3) Mental Ability: there were very easy questions like Identify the correct match 1114422343243 a) 1114422344243 b) 111442224243 c) 1114422343243 4) Data Structures and OS Here incomplete codes were given, using queues , trees, linked list etc and we w ere required to select the correct code from the options given, which will give the correct output. From OS questions were from context switching, throughput 5) C or C++ I opted for C. few questions were very easy, but rest were quite difficult. 1 question was on memmap() function there was a question like Q. float f =11.002

if(f < 11.002) printf( .) else printf( ) 6) Comprehension. They will give u 10-15 mins to read the comprehension. And after that questions will b given to you n comprehension paper will not be with you at that time. My topic of comprehension was on new software for user authentication. 7)Email Writing here in 10-15mins are given to you to write an professional email. Situation was like this: There is a readymade garments showroom F Folio, whose very loyal customer Ms.Pre eti wants to return the suit she bought 2 weeks before. And according to the com pany policy, goods can only b returned within 3 days of purchase. Thereafter no returns are accepted. So kindly write an email to Ms.Preeti that you can t take go ods back once sold after 3 days of purchase. I had a technical interview, after 2 days of my test. In technical interview, th ey ask questions mostly from OS, Networking, DS. They started with the last proj ect I did. Normalization from (1NF 4NF)

Best algo to sort student table, on the basis of marks. Join querry Program to implement quick sort, right from the beginning including stack Sparse matrices concept, prog and what is the need of it Complexity of quick sort and bubble sort Zombie process Three way handshake in tcp/ip Scheduling algos in os Case in which fcfs is the best algo How semaphores are implemented Prog to reverse a singly linked list Prog to remove a node from a doubly linked list Devices used in each layer of osi model Protocols used at data link layer

Multilevel feedback queue concept

first of all i start with written test........there is no negative marking...... .u will get every section separately..........mean u will get first one first n before completion of its time u will be given next one....n u will be asked to stop first one a do next one.....one thing i wa nt to tell......this process is really pressure creating....n u will have to be calm n cool some of ur section may be screwed up but don't screw paper next to it.......u ha ve to qualify only in screwed up paper. Section 7: E-mail writing: in 5 min u have to read question as well write the mail on certain condition. mi ne condition was............ there is a cloth show room.........which pay back amount with in the 3 days of p urchase....a lady asked to refund the amount after one week.......... u r manager of showroom and u have to write apology mail to her. Section 6: Comprehension u will be given one comprehention most probably on some technical issue.....i wa s given on sso. it will be followed by 10 question. In my coll question n comprehention was given together but question may not be g iven with comprehention. first of u will have to read the comprehention n then u will have to answer that question without looking back to ur passage. Section 5: C or C++ (choice is urs) i have chosen c n kanitkar book was very help to me........if u want to qualify. .... u have to be very good in this section. question were on increment operator decrement operator.......pointer......variab le passing to function........array......enum....structure.....file. question was very basic.........go through objective book of kanitkar.....u can' t do without it.......u need a practice. Section 4: Operating system, data structure and algorithm frankly speaking......i m very good in data structure.......but it is not worth will to attempt it first......as it has long cords and u have to find o/p or error......attempt operating system first and then algo...... If u will go for data structure first u will certainly get screwed....have a goo d concept of operating system...... Section 3: Mental ability............. It was damn easy.........u have to score a good marks in it.....if want an edge over other....practice more through....any marittrack paper as of accenture or i bm. Section 2: Analitical ability...... don't mess up with a particular problem........u can't solve all....just chose e asy one and do it because of time limit u can't do all....so why not to attept easy one. practice ibm or accenture paper.

Section 1: Verbal ability practice.......articals n preposition.......don't take it easy.......smtime it m ay screw u. u may think that u have screwed up ur paper ..but don t give up bcoz every one have done the same.

You might also like