AMAZON Placement papers With Answers Technical

1. Write a program which employs Recursion 2. Write a program to generate the fibinocci series. 3. Which bit wise operator is suitable for checking whether a particular bit is on or off? 4. Write a C program which when compiled and run, prints out a message indicating whether the compiler that it is compiled with allows /* */ comments to nest.

5. You are given a singly link-list such that each node of this list is also a head of another link list of the same type: struct node { void *data; /* could be anything */ struct node *next; struct node *down;

Describe an algorithm for flattening the list.

6. Find the output

int c[ ]={2.8,3.4,4,6.7,5}; int j,*p=c,*q=c; for(j=0;j<5;j++) { printf(" %d ",*c);

++q; } printf(" %d ",*p); ++p; }

Ans: 2 2 2 2 2 2 3 4 6 5

7. Find the output of the Programme

char s[]={'a','b','c',' ','c',''}; char *p,*str,*str1; p=&s[3]; str=p; str1=s; printf("%d",++*p + ++*str1-32);

8. Find the error in the following programme

struct xx int x=3; char name[]="hello"; struct xx *s;

Ans-compiler error

9. #include struct xx int x; struct yy char s; struct xx *p; struct yy *q;

10. A default catch block catches A. all thrown objects B. no thrown objects C. any thrown object that has not been caught by an earlier catch block D. all thrown objects that have been caught by an earlier catch block Ans-C

11. The standard input stream, which refers to the keyboard, is called A. cin B. cout C. stin D. stout E. None of the above

Ans-A

12. When a break statement is used in a loop, the control skips the rest of the statements in the loop after it and jumps A. to the last lines in the program B. to the next statement written after the body of the loop C. to the first statement in the body of the loop D. All. of the above E. None of the above Ans-B

13. When two types are used in a function template and one is labeled T, the other A. must also be named T B. must be named U C. can be any legal C++ identfier D. it is illegal to have two types

14. The 'continue' statement is used to A. permit two different expressions to appear in situations where only one expression would ordinarily be used B. terminate loops or to exit from a switch

C. alter the normal sequence of program execution by transferring control to some other part of the program D. All of the above E. None of the above Ans-E

15. What will be the content of 'file.c' after executing the following program?

int main() FILE *fp1, *fp2; fp1=fopen("file.c", "w"); fp2=fopen("file.c", "w"); fputc('A', fp1); fputc('B', fp2); return 0;

A. B B. A, B C. B, B D. Error in opening file 'file1.c' Ans-A

16. What will be the output of the program ?

int main() float a=3.15529; printf("%2.1f ", a); return 0;

A. 3.00B. 3.15 C. 3.2D. 3

17. Which of the following statement is correct about the program?

int main() FILE *fp; char str[11], ch; int i=0; fp = fopen("INPUT.TXT", "r"); if(ch == ' ' || ch == ' ') printf("%s", str); } else str[i++]=ch;

} fclose(fp); return 0;

A. The code writes a text to a file B. The code reads a text files and display its content in reverse order C. The code writes a text to a file in reverse order D. None of above

18. What function should be used to free the memory allocated by calloc() ?

A. dealloc(); B. malloc(variable_name, 0) C. free(); D. memalloc(variable_name, 0)

19. What will be the output of the program? int main() char *s; char *fun(); s = fun(); printf("%s ", s);

return 0; char *fun() char buffer[30]; strcpy(buffer, "RAM"); return (buffer);

A. 0xffff B. Garbage value C. 0xffee D. Error

20. The generic type in a template function A. must be T B. can be T C. cannot be T for functions you create, but may be for C++'s built-in functions D. cannot be T

21. Predictthe error in the following program. int main() void v = 0; printf("%d", v);

return 0;

A. Error: Declaration syntax error 'v' (or) Size of v is unknown or zero. B. Program terminates abnormally. C. No error. D. None of these.

22. Which of the following statements mentioning the name of the array begins DOES NOT yield the base address? 1: When array name is used with the sizeof operator. 2: When array name is operand of the & operator. 3: When array name is passed to scanf() function. 4: When array name is passed to printf() function.

A. A B. A, B C. B D. B, D

23. Which of the following statements are correct about 6 used in the program? int num[6]; num[6]=21;

A. In the first statement 6 specifies a particular element, whereas in the second statement it specifies a type. B. In the first statement 6 specifies a array size, whereas in the second statement it specifies a particular element of array. C. In the first statement 6 specifies a particular element, whereas in the second statement it specifies a array size. D. In both the statement 6 specifies array size.

24. Format flags may be combined using A. the bitwise OR operator (|) B. the logical OR operator (||) C. the bitwise AND operator (&) D. the logical AND operator (&&)

25. Programmer-defined functions can be A. value-returning functions only B. void functions only C. either value-returning or void functions

Aptitude 1. The average salary of 3 workers is 95 Rs. per week. If one earns Rs.115 and second earns Rs.65 how much is the salary of the 3rd worker. Ans.105. 2. A 16 stored building has 12000 sq.feet on each floor. Company A rents 7 floors and company B rents 4 floors. What is the number of sq.feet of unrented floor space.

Ans.60000 3.During a given week A programmer spends 1/4 of his time preparing flow chart, 3/8 of his time coding and the rest of the time in debugging the programs. If he works 48 hours during the week , how many hours did he spend debugging the program. Ans. 18. 4. A company installed 36 machines at the beginning of the year. In March they installed 9 additional machines and then disconnected 18 in August. How many were still installed at the end of the year. Ans. 27 5. A man owns 2/3 of the market research beauro business and sells 3/4 of his shares for Rs. 75000. What is the value of Business ? Ans.150000 6. If 12 file cabinets require 18 feet of wall space, how many feet of wall space will 30 cabinets require? Ans.45 7. A computer printer produced 176,400 lines in a given day. If the printer was in operation for seven hours during the day, how many lines did it print per minute? Ans.420 8. From its total income, A sales company spent Rs.20,000 for advertising, half of the remainder on commissions and had Rs.6000 left. What was its total income? Ans.32000 9. On Monday a banker processed a batch of cheques, on Tuesday she processed three times as many, and on Wednesday she processed 4000 cheques. In the three days, she processed 16000 cheques. How many did she process on Tuesday? Ans.9000 10. The cost of four dozen proof machine ribbons and five dozen accouting machine ribbons was Rs.160/-. If one dozen accounting machine ribbons cost Rs.20/-, what is the cost of a dozen proof machine ribbons? Ans.Rs.15 11. If a clerk can process 80 cheques in half an hour, how many cheques can she process in a seven and one half hour day? Ans.1200

12. In a library, there are two racks with 40 books per rack. On a given day, 30 books were issued. What fraction remained in the racks? Ans.5/8 13. The average length of three tapes is 6800 feet. None of the tapes is less than 6400 feet. What is the greatest possible length of one of the other tapes? Ans.7600 14. A company rented a machine for Rs.700/- a month. Five years later the treasurer calculated that if the company had purchased the machine and paid Rs.100/- monthly maintenance charge, the company would have saved Rs.2000/-. What was the purchase price of the machine? Ans.Rs.34000 15. Two computers each produced 48000 public utility bills in a day. One computer printed bills at the rate of 9600 an hour and the other at the rate of 7800 an hour. When the first computer finished its run, how many bills did the other computer still have to print? Ans.9000 16. If a salesman's average is a new order every other week, he will break the office record of the year. However, after 28 weeks, he is six orders behind schedule. In what proportion of the remaining weeks does he have to obtain a new order to break the record? Ans.3/4 17 On a given day, a bank had 16000 cheques returned by customers. Inspection of the first 800 cheques indicated that 100 of those 800 had errors and were therefore the available immediately for data processing. On this basis, how many cheques would be available immediately for data processing on that day? Ans.14000 18. A tape manufacturer reduces the price of his heavy duty tape from Rs.30/- to Rs.28/- a reel and the price of a regular tape from Rs.24/- to Rs.23/- a reel. A computing centre normally spends Rs.1440/- a month for tapes and 3/4 of this is for heavy duty tapes. How much will they save a month under the new prices? Ans.Rs.87

19. The dimensions of a certain machine are 48" X 30" X 52". If the size of the machine is increased proportionately until the sum of its dimensions equals 156", what will be the increase in the shortest side? Ans. 6" 20 In a certain company, 20% of the men and 40% of the women attended the annual company picnic. If 35% of all the employees are man, what percent of all the employees went to the picnic? Ans.33% 21. It cost a college Rs.0.70 a copy to produce a Programme for the homecoming football game. If Rs.15,000/- was received for advertisements in the programme, how many copies at Rs.0.50 a copy must be sold to make a profit of Rs.8000/- ? Ans. 35000 22. If the digits of my present age are reversed then i get the age of my son. If 1 year ago my age was twice as that of my son. Find my present age. Ans. father-73, son-37 23. There are 6561 balls out of them 1 is heavy. Find the min. no. of times the balls have to be weighed for finding out the heavy ball. Ans. 8 24.If I walk with 30 miles/hr i reach 1 hour before and if i walk with 20 miles/hr i reach 1 hour late. Find the distance between 2 points and the exact time of reaching destination is 11 am then find the speed with which it walks. Ans. 120miles and 24 miles/hr 25. A thief steals half the total no of loaves of bread plus 1/2 loaf from a bakery. A second thief steals half the remaining no of loaves plus 1/2 loaf and so on. After the 5th thief has stolen there are no more loaves left in the bakery. What was the total no of loaves did the bakery have at the beginning. Ans: 31.

AMAZON Placement papers With Answers.pdf

AMAZON Placement papers With Answers.pdf. AMAZON Placement papers With Answers.pdf. Open. Extract. Open with. Sign In. Main menu. Displaying ...

313KB Sizes 2 Downloads 271 Views

Recommend Documents

amazon placement drive.pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. amazon ...

Syntel-placement-papers-2016-with-Answer-PDF.pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item.

amdocs placement papers 2012 with answers pdf
There was a problem loading more pages. Retrying... Whoops! There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. amdocs placement papers 2012 with answers pdf. a

Accenture Placement Papers 16.pdf
life....i was selected in my dream company....so guys be ready ...... see you in Accenture†† ALL THE BEST.....†. Those people who have one year gap can be a ...

Accenture Placement Papers 11.pdf
Page 1 of 3. This is Jeyandran got placed in ACCENTURE through an off-campus drive held in. Rajalakshmi EngineeringCollege Chennai on 27&28 March 2010. Around 4500 students sat for written. test, finally 150-160 students got placed in accenture am ha

amazon placement@ramanujan college.pdf.pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. amazon ...

Android Training with Placement
Simple media playback. •. Supported video formats. •. Simple video playback. SQL Database 4 hrs. •. Introducing SQLite. •. SQLiteOpenHelper and creating a database. •. Opening and closing a database. •. Working with cursors Inserts, updat

Android Training with Placement
Why Android is different (and important). Android Stack 30 min. •. Overview of the stack. •. Linux kernel. •. Native libraries. •. Dalvik. •. App framework. •. Apps. SDK Overview 1hr. •. Platforms. •. Tools. •. Versions. Hello World

Android Training with Placement
Simple media playback. •. Supported video formats. •. Simple video playback. SQL Database 4 hrs. •. Introducing SQLite. •. SQLite Open Helper and creating a database. •. Opening and closing a database. •. Working with cursors Inserts, upd

Android Training with Placement
Simple media playback. •. Supported video formats. •. Simple video playback. SQL Database 4 hrs. •. Introducing SQLite. •. SQLite Open Helper and creating a database. •. Opening and closing a database. •. Working with cursors Inserts, upd

AMAZON-placement-paper-and-Solution-pdf-download-2.pdf ...
AMAZON-placement-paper-and-Solution-pdf-download-2.pdf. AMAZON-placement-paper-and-Solution-pdf-download-2.pdf. Open. Extract. Open with. Sign In.

papers
1. INTRODUCTION. I met Robert F. Wagner shortly after I began my career in medical imaging. ... technology of photographic processes. Immediately after .... For disk detection, the best detectability was obtained at very small values of α.17. 3.

papers
I met Robert F. Wagner shortly after I began my career in medical imaging. We bumped into each ... technology of photographic processes. Immediately after the ...

UST Global Placement Papers 1.The product of all ... - OurEdu Blog
If the question can be answered by using both the statements together, but cannot be .... B. Under the circumstances, he had many other alternatives. .... stomach inept : clever :: languid : active knife : butcher :: hammer : carpenter :: 11.

UST Global Placement Papers 1.The product of all ... - OurEdu Blog
.Code for swapping of two numbers without using temporary variable using C. 8. .... If you type in the command nohup sort employees > list 2 > error out & and log off ,the next time ... 5. roads lead to a country indicated by letters X, Y, Z,1,2,3.

Meeting the Amazon Challenge with
Chief Supply Chain Officer for General Nutrition Centers (GNC), responsible for end-to-end supply chain from raw material procurement to final mile delivery to the customer. GNC operates over 9100 stores worldwide in over 50 countries. Jay was respon

CALL FOR PROJECTS with AMAZON -
Jun 30, 2013 - Any number of student teams can participate in this initial phase. ... encouraged to identify, and work with a team from 4th semester who have ...

Fair and Efficient Student Placement with Couples
Definition 3.2 Fairness for Single Students (Balinski and Sönmez, 1999) ...... linear order of the remaining position type assignments that complies with the ...

Optimal Sensor Placement with a Statistical Criterion for ...
[6] Meo M and Zumpano G (2005), On the optimal sensor placement techniques for a bridge structure, Engineering. Structures 27(10), 1488-1497. [7] Marano GC, Monti G, Quaranta G (2011), Comparison of different optimum criteria for sensor placement in

Mixed-Size Placement with Fixed Macrocells using Grid ...
Partition-based techniques have always been relatively accommodat- ing of mixed-sized .... net model consists of a vertical and a horizontal component, which.

Fast and Robust Quadratic Placement Combined with ...
Nov 9, 2006 - Transactions on Computer-Aided Design of Circuits and Systems, .... cell shifting, iterative local refinement and a hybrid net model.

mba placement -
To give students practical exposure to the working of Business .... recruited our students including Banking, Software, Media, Chemicals, Insurance, Asset .... interest include Financial Accounting, Cost Accounting, Management Accounting, ...

Media release template - with photo placement - Town of Halton Hills
Aug 26, 2013 - performances and is kicking off several multi-event series during this festival. “It's fantastic to see that the Cultural Centre is so active, and that it ...