Skip to main content

Amazon Placement Paper Freshers - Interview Questions


Company Name:  Amazon

Interview Location:  Hyderabad 

I would like to share my "Amazon" Interview Experience 

Written Test has 2 Sections A, B 

In Section A there were 20 Questions: 
Technical Questions: 15
Aptitude: 5
Time: 30 min

The first round was online, It had 20 Multiple choice questions and 2 coding, MCQ’s where quite simple, Technical where easy it had questions on finding the Output, Complexity, and more importance was in Data Structure, and especially TREE. 

Some Sample Questions
1.Two tables emp(empid,name,deptid,sal) and dept(deptid,deptname) are there.write a query which displays empname,corresponding deptname also display those employee names who donot belong to any dept.

2.Display the employees whose salary is less than average salary.

3.what is the output of the program
main()
{
int c=5;
printf("%d %d %d",c,c<<2,c>> 2);
}
4.
main()
{
int a[8][10],c=0,i,j;
 for(i=0;i<10;
i++) for(j=0;
j<8;j++) a[j][i]=c++;
printf("%d",a[3][6]);
}
5.What is the wrong in this program
main()
{
char *p,*q;
p=(char *)malloc(25);
q=(char*) malloc(25);
strcpy(p,"amazon" );
strcpy(q,"hyd");
strcat(p,q);
printf("%s",p);
}
6.write prefix and post fix notation for (a+b)*c-(d+e)^(f-g)
7.what is the output of the program
main()
{
int i=5;
printf("%d",fun(fun(fun(fun( fun(i))))));
}
void fun(int i)
{ if(i%2) return (i+(7*4)-(5/2)+(2*2));
else return (i+(17/5)-(34/15)+(5/2));
}

8.When it is always true Boolean fun
(node *p)
{
return ((p==null)||(p->next==null)|| (p->info<=p->next->info)&&( fun(p->next)));
}

a)when list is empty or has one node
b)when the ele are sorted in non decreasing order
c)when the ele are sorted in non increasing order
9.what is x here (x&&!(x&(x-1))==1)
a)x is always a prime
b)x is a power of 2
c)x is even d)x is odd

10 .What is the difference between deep copy and shallow copy

11.In java what is the difference between sleep() and wait() .

12.What happens when the parent process of a child process exits before the child ?

13.There are three persons A,B,C .A shots the target 6 times out of 7 shots .B shots 4 out of 5 shots .Then what is the probability of hitting the target twice when 2 persons are selected at random.

14.what is valid in cpp char *cp; const char *cpp; 1) cpp=cp; 2) cp=cpp;

15.write program to swap 2 variables without using extra memory.

16.write a shell command to find all java files present in nested directories.

17.There are 6 pairs of black socks and 6 pairs of white socks. What is the probability to pick a pair of black or white socks when 2 socks are selected randomly in darkness.

Comments

Popular posts from this blog

Telangana State Public Service Commission Recruitment

8 High Paying jobs in Software Engineering Are you an IT Person? Do you have all these apps in your phone? Have you heard of these books. best for data science? Bitcoin related job opportunities 5 Best Career Choice for the next 10 Years The below job is expired. Required Job Items Details Job Role / Position Manager (Engineering) in Hyderabad Metropolitan Water Supply Hiring Company TELANGANA STATE PUBLIC SERVICE COMMISSION: HYDERABAD Job Description Applications are invited Online from qualified candidates through the proforma Application to be made available on Commission’s WEBSITE (www.tspsc.gov.in) to the post of Manager (Engineering) in Hyderabad Metropolitan Water Supply and Sewerage Board Engineering Service in the State of Telangana Number of Posts 1. Manager (Engineering) in Hyderabad Metropolitan Water Supply and Sewerage Board (Civil Engg. branch) : 79 Post 2. Manager (Engineering) in Hyderabad Metropolitan Water Supply and Sewerag...

Central Pollution Control Board(CPCB) Recruitment 2020 (48 LDC,Data entry operator, Scientist)

Required Job Items Details Job Role / Position Scientist-B and Junior Scientific Assistant Hiring Company Central Pollution Control Board Job Description Central Pollution Control Board (CPCB) is a Statutory Organization under Ministry of Environment, Forest & Climate Change. Due to the pandemic situation by the speared of Coronavirus COVID-19 and the lockdown in the country, online applications are invited from the eligible and suitable Indian Nationals for direct recruitment to various posts on regular basis through open competition on all India basis. All Applicants should register and submit their applications online following the link available at page ‘jobs’ at CPCB website cpcb.nic.in Number of Posts 1. Scientist–‘B’:13 Posts 2.Junior Scientific Assistant: 02 Posts 3. Senior Technician: 06 Posts 4.Data Entry Operator (Grade-II): 02 Posts 5. Junior Technician: 02 Posts 6.Junior Laboratory Assistant: 07 Posts 7. Lower Division Clerk: 13 Posts 8.Attendant (MTS): 03 Posts Edu...

Tech Mahindra inviting application for Senior software engineer (Power BI)

Required Job Items Details Job Role / Position Sr Software Engineer Hiring Company Tech Mahindra Job Description Tech Mahindra inviting application for Senior software engineer with Power BI experience Number of Posts 3 Openings Type of Employment FullTime Salary Not mentioned Educational Qualification A Bachelor’s or Higher Degree is the minimum entry required for the position Required Experience Power BI Age Limit None Job Location Hyderabad Selection Process Written and Interview Address Hyderabad Date Posted 22/04/2020 Important Dates Last Date to Apply 6/6/2020 How to Apply Apply Online via https://careers.techmahindra.com/Forms/Registration.aspx?JobId=10911&designation=Sr.%20Software%20Engineer