Amazon Recruitment Process-1
Amazon Recruitment Process-1
Amazon Recruitment Process-1
About Company
1. Amazon, founded by Jeff Bezos in 1994, began as an online bookstore and evolved into the
world's largest e-commerce platform.
2. Its services include diverse offerings such as cloud computing (Amazon Web Services), digital
streaming (Amazon Prime), and AI-driven technology (Alexa).
3. The company's success is fueled by its customer-centric approach, innovative logistics, and a wide
range of consumer products like Kindle and Echo devices.
4. Amazon's expansion extends into various sectors, including groceries (Amazon Go) and
entertainment (Amazon Studios).
5. Despite its global success, Amazon has faced scrutiny over its market influence, labor practices,
and impact on small businesses.
▪
aptitude
▪
technical
o 7 Automata Fix
Technical Round 1 o 2 Coding Questions
Technical Round 2 2-4
• Number of Sections:- 4
• Section 4 :- Coding
• Aptitude
This includes quantitative, logical and verbal questions. The level of the questions
are easy for this section.
• Technical MCQs
• Automata Fix
There are 7 Automata Fix questions, where you have to correct the given code.
• Coding
Two coding questions, where you have to write codes for the given problem
statement.
This is the last round. It is similar to an HR Round. The interviewer asks questions
based on the 16 Leadership Principle of Amazon. Additionally, they can ask Data
Structures and Algorithms questions.
1. Two tables emp (empid, name, deptid, sal) and dept (deptid, deptname) are there. Write
a query which displays empname, corresponding dept name and also display those employee
names that do not belong to any dept.
(a+b)*c-(d+e)^(f-g)
if(x<=0)
return;
else f(x-1)+x;
}
{
intx=2,y=6,z=6;
x=y=z;
printf(%d",x)
7. You want to find out the value of the last element of an array. You write the following
code. What will happen when you compile and run it.?
public class MyAr
{
public static void main(String argv[])
{
int[] i = new int[5];
System.out.println (i[5]);
}
}
1) An error at compile time
8. Find the second largest element in an array with minimum no of comparisons and give the
minimum no of comparisons needed on an array of size N to do the same.
10. In C, if you pass an array as an argument to a function, what actually gets passed?
Ans-C
11. What will be the output of the program?
#include<studio.h>
int main()
{
int i;
fun (4, arr);
for (i=0; i<4; i++)
printf(“%d,”, arr[i]);
return 0;
}
void fun(int n, int arr[])
{
int *p=0;
int i=0;
while(i++ < n)
p = &arr[i];
*p=0;
}
A. 2, 3, 4, 5
B. 1, 2, 3, 4
C. 0, 1, 2, 3
D. 3, 2, 1 0
Ans-B
12. What will be the output of the program if the array begins 1200 in memory?
#include<stdio.h>
int main()
return 0;
}
Ans-B
14. Which of the following function is used to find the first occurrence of a given string in
another string?
A. strchr()
B. strrchr()
C. strstr()
D. strnset()
Ans-C
15. Which of the following function is correct that finds the length of a string?
A. –
int xstrlen(char *s)
{
int length=0:
while(*s!=’\0’)
{ length++; s++; }
B–
int xsrrlen(char s)
{
int length=0;
while(*s!=’\0’)
length++; s++;
return (length);
}
C-
{
int length=0;
while(*s!=’\0’)
length++
return (length);
Ans-A
16. What will be the output of the program in 16-bit platform (Turbo C under DOS)?
#include<stdio.h>
Int main()
{
Printf(“%d, %d, %d”, sizeof(3.0f),sizeof(‘3’)),sizeof(3.0);
Return 0;
}
A. 8, 1, 4
B. 4, 2, 8
C. 4, 2, 4
D. 10, 3, 4
Ans-B
A. A, B
B. A, B, C
C. B, D
D. C, D
Ans-B
int main()
{
struct emp
{
char name[20];
float sal;
};
struct emp e[10];
int i;
for(i=0; i<=9; i++)
return 0;
}
A. Error: invalid structure member
C. No error
D. None of above
Ans-B
Ans-B
{
enum days {MON=-1, TUE, WED=6, THU, FRI, SAT};
printf("%d, %d, %d, %d, %d, %d\n", MON, TUE, WED, THU, FRI, SAT);
return 0;
}
A. -1, 0, 1, 2, 3, 4
B. -1, 2, 6, 3, 4, 5
C. -1, 0, 6, 2, 3, 4
D. -1, 0, 6, 7, 8, 9
Ans-D
21. What will be the output of the program ?
#include<stdio.h>
struct course
{
int courseno;
char coursename[25];
};
int main()
{104, “DotNet”} };
printf(“%d”, c[1].courseno);
printf(“%s\m”, (*(c+2)).coursename);
return 0;
}
A. 103 Dotnet
B. 102 Java
C. 103 PHP
D. 104 DotNet
Ans-A
#include<stdio.h>
gets replaced by the contents of the file stdio.h
A. During editing
B. During linking
C. During execution
D. During preprocessing
Ans-D
#incluse<stdio.h>
int main()
{
int I;
#if A
printf(“Enter any number:”);
scanf(“%d”, &i);
#elif B
printf(“ The number is odd”);
return 0;
}
C. Garbage values
D. None of above
Ans-A
A. float, double
B. short int, double, long int
Ans-C
25. Which statement will you add in the following program to work it correctly?
#include<stdio.h>
Int main()
{
printf(“%f\n”, lof(36.0));
return 0;
}
A. #include<conio.h>
B. #include<math.h>
C. #include<stdlib.h>
D. #include<dos.h>
Ans-B
#incluse<stdio.h>
int main()
{
A. x is a pointer
B. x is an array of three pointer
Gathered by;
21wh1a0206
21wh1a0228
21wh1a0230
21wh1a0231