Amazon — SDE Online Assessment: Pattern, Syllabus & Mock Test
Amazon — SDE Online Assessment pattern: 33 questions in 125 minutes across 3 sections. Sample questions, a preparation guide and a free timed mock.
- Pattern: Amazon
- Duration: 125 minutes
- Questions: 33
- Timing: Sectional — each section on its own clock
- Negative marking: None
Debugging, then two coding problems, then reasoning. The three parts of the assessment that can be reproduced.
- Coding decides it
- Sections lock behind you
- No negative marking
Sections
| Section | Questions | Time | Kind | Marks each |
|---|---|---|---|---|
| Code Debugging | 7 | 20 min | Multiple choice | 1 |
| Coding | 2 | 70 min | Coding | 10 |
| Logical Reasoning | 24 | 35 min | Multiple choice | 1 |
Amazon — SDE Online Assessment syllabus
Code Debugging
Logical Reasoning
- Number & Letter Series
- Syllogisms
- Seating & Puzzles
- Coding & Decoding
- Blood Relations
- Direction Sense
- Analogies & Classification
- Mathematical Reasoning
- Tables & Charts
- Caselets
Coding: Amazon coding questions 1812 problems
Instructions
Amazon's SDE assessment runs as one long sitting with the parts in a fixed order, and this paper follows it.
- Code Debugging first: short snippets with a defect, about three minutes each.
- Coding next, and this is the part that decides the outcome. Two problems in seventy minutes, marked per test case.
- Logical Reasoning last, and it appears only in some India batches rather than every one.
- Sections lock when you leave them. Amazon does not let you go back between parts, and neither does this.
Two parts of the real assessment are missing because they cannot be reproduced: the Work Simulation, an inbox exercise scored against Amazon's leadership principles, and the Work Style Survey, roughly eighty statements with no right answer.
How to prepare for this pattern
A guide to the Amazon SDE online assessment pattern: code debugging, then two coding problems, then logical reasoning, which are the three parts of the assessment that can be reproduced.
What the paper looks like
Three sections, in a fixed order: Code Debugging, 7 questions in 20 minutes; Coding, two problems of medium difficulty in 70 minutes; and Logical Reasoning, 24 questions in 35 minutes. That is 33 questions in 125 minutes. Each debugging and reasoning question is worth one mark, and each coding problem ten marks, graded on the test cases passed. There is no negative marking. Each section has its own clock and locks when you leave it, as the real assessment does. The paper is not adaptive. The reasoning block appears only in some India batches, and sources disagree on its size and on the debugging count; the larger figures are used here. Two parts of the real assessment cannot be reproduced: the Work Simulation, an inbox exercise scored against Amazon's leadership principles, and the Work Style Survey, a set of statements with no right answer.
How to prepare, section by section
- Code Debugging is short snippets with a defect, about three minutes each, drawn here from Programming Fundamentals and Pseudocode. Practise spotting the common kinds of defect, such as off-by-one loop bounds, inverted conditions and unhandled edge cases, by reading code for what it does rather than what it was meant to do. The early modules of the Java, C++ or Python study plan firm up the language rules involved.
- Coding is two medium problems in seventy minutes. Cover Arrays, Strings, Hash Table, Sorting, Heap, Two Pointers, Sliding Window, Breadth-First Search, Depth-First Search and Dynamic Programming, in the order the DSA roadmap sets.
- Logical Reasoning is series, syllogisms, arrangements and light data interpretation: Number & Letter Series, Syllogisms, Seating & Puzzles, Coding & Decoding and Tables & Charts.
On the day
Coding decides the result, so do not linger in the debugging section: about three minutes a snippet, and if the defect is not visible, choose the likeliest answer and move on, since there is no negative marking and the section cannot be reopened. In Coding, thirty-five minutes a problem is the even split; submit a correct solution early and improve it, since marks come per test case. Logical Reasoning comes last, at under a minute and a half a question, so answer every one before the section closes.
This mock is modelled on the published shape of Amazon's SDE assessment, though Amazon's careers page confirms only that it includes a coding test; CodeKairo is not affiliated with Amazon.
Practice questions for the Amazon — SDE Online Assessment test
When + means concatenation
What does this Java program print?
public class Main {
public static void main(String[] args) {
System.out.println(1 + 2 + "3" + 4 + 5);
}
}- 339
- 1239
- 3345
- 12345
Show the answer
C. 3345 Worked solution
Skipping the diagonal
What is printed?
Integer i, j, k
Set k = 0
For i = 1 to 3
For j = 1 to 3
If i == j Then
Continue
End If
Set k = k + 1
End For
End For
Print k- 3
- 6
- 9
- 12
Show the answer
B. 6 Worked solution
Comparing strings with == and equals
What does this Java program print?
public class Main {
public static void main(String[] args) {
String a = "code";
String b = "code";
String c = new String("code");
System.out.println((a == b) + " " + (a == c) + " " + a.equals(c));
}
}- true true true
- true false true
- false false true
- true false false
Show the answer
B. true false true Worked solution
4, 7, 12, 19, 28, ?
Find the next term:
4, 7, 12, 19, 28, ?
- 37
- 38
- 39
- 41
Show the answer
C. 39 Worked solution
Ordering across the week
Five people visit a shop on five consecutive days from Monday to Friday. A visits before B, C visits on Wednesday, D visits immediately after C, and E visits on Monday. On which day does B visit?
- Tuesday
- Wednesday
- Thursday
- Friday
Show the answer
D. Friday Worked solution
Engineers and graduates
Statements:
- All engineers are graduates.
- Some graduates are unemployed.
Conclusions: I. Some engineers are unemployed. II. Some unemployed people are graduates.
Which conclusion follows?
- Only I
- Only II
- Both
- Neither
Show the answer
B. Only II Worked solution
3, 8, 15, 24, 35, ?
Find the next term:
3, 8, 15, 24, 35, ?
- 42
- 45
- 48
- 50
Show the answer
C. 48 Worked solution
Class size from two ranks
In a class, a student is 9th from the top and 26th from the bottom. How many students are in the class?
- 33
- 34
- 35
- 36
Show the answer
B. 34 Worked solution
All metals are conductors
Statements:
- All metals are conductors.
- Copper is a metal.
Conclusions: I. Copper is a conductor. II. All conductors are metals.
Which conclusion follows?
- Only I
- Only II
- Both
- Neither
Show the answer
A. Only I Worked solution
48, 24, 96, 48, 192, ?
Find the next term:
48, 24, 96, 48, 192, ?
- 96
- 144
- 384
- 768
Show the answer
A. 96 Worked solution
Five floors
Five people live on five floors. A lives above B, C lives below B, D lives above A, and E lives between A and D. Who lives on the second floor from the bottom?
- A
- B
- C
- E
Show the answer
B. B Worked solution
Some players are not tall
Statements:
- All tall people are players.
- Some players are not tall.
Conclusions: I. Some players are tall. II. All players are tall.
Which conclusion follows?
- Only I
- Only II
- Both
- Neither
Show the answer
A. Only I Worked solution
About this pattern
Coding is well documented at 2 problems in 70 minutes with partial scoring. The other two blocks are weaker: sources disagree on the reasoning block (24 questions in 35 minutes versus about 20 in 20) and the debugging count (7 versus 6-8), the larger figures being used, and both are batch-dependent. Amazon's own careers page confirms only that an assessment 'includes a coding test'.
Modelled on the published pattern; not affiliated with Amazon. Every sitting draws a fresh paper from the aptitude bank and the problem catalogue.