AI InterviewSearch…Search problems, topics, or pages…Ctrl KGet started
All placement tests

Amazon

Amazon — SDE Online Assessment

Debugging, then two coding problems, then reasoning. The three parts of the assessment that can be reproduced.

Coding decides itSections lock behind youNo negative marking

The sitting

2h 5m

total time

33

questions

3

sections

None

negative marking

Start the test

The clock starts as soon as you click. Your paper is drawn fresh, so a second sitting is a different set.

Proctored sitting

  • Laptop or desktop only, with a webcam. Phones and tablets can't start a test.
  • The test runs full screen, with the site's navigation hidden.
  • Your webcam stays on and is checked on your computer — nothing is recorded or uploaded.
  • Leaving full screen, switching tab or window or minimising blurs the paper — and so does the camera seeing no one, someone else, a phone, or you looking away. The clock keeps running.
  • Each is a warning; the third ends the sitting. It is graded so you can review it, but marked disqualified and never counted as your best.
  • Pasting, copying, right-click and printing are off.

The paper

1

Code Debugging

7 Q

20 min

Short snippets with a defect. About three minutes each.

Programming Fundamentals · Pseudocode

2

Coding

2 Q

1h 10m

Two problems, seventy minutes. Marked on test cases passed.

2 medium

3

Logical Reasoning

24 Q

35 min

Series, syllogisms, arrangements and light data interpretation.

Number & Letter Series · Syllogisms · Seating & Puzzles · Logical Reasoning · Data Interpretation

Before you start

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.

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

SectionQuestionsTimeKindMarks each
Code Debugging720 minMultiple choice1
Coding270 minCoding10
Logical Reasoning2435 minMultiple choice1

Amazon — SDE Online Assessment syllabus

Code Debugging

Logical Reasoning

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

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);
    }
}
  1. 339
  2. 1239
  3. 3345
  4. 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
  1. 3
  2. 6
  3. 9
  4. 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));
    }
}
  1. true true true
  2. true false true
  3. false false true
  4. 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, ?

  1. 37
  2. 38
  3. 39
  4. 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?

  1. Tuesday
  2. Wednesday
  3. Thursday
  4. Friday
Show the answer

D. Friday Worked solution

Engineers and graduates

Statements:

  1. All engineers are graduates.
  2. Some graduates are unemployed.

Conclusions: I. Some engineers are unemployed. II. Some unemployed people are graduates.

Which conclusion follows?

  1. Only I
  2. Only II
  3. Both
  4. Neither
Show the answer

B. Only II Worked solution

3, 8, 15, 24, 35, ?

Find the next term:

3, 8, 15, 24, 35, ?

  1. 42
  2. 45
  3. 48
  4. 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?

  1. 33
  2. 34
  3. 35
  4. 36
Show the answer

B. 34 Worked solution

All metals are conductors

Statements:

  1. All metals are conductors.
  2. Copper is a metal.

Conclusions: I. Copper is a conductor. II. All conductors are metals.

Which conclusion follows?

  1. Only I
  2. Only II
  3. Both
  4. Neither
Show the answer

A. Only I Worked solution

48, 24, 96, 48, 192, ?

Find the next term:

48, 24, 96, 48, 192, ?

  1. 96
  2. 144
  3. 384
  4. 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?

  1. A
  2. B
  3. C
  4. E
Show the answer

B. B Worked solution

Some players are not tall

Statements:

  1. All tall people are players.
  2. Some players are not tall.

Conclusions: I. Some players are tall. II. All players are tall.

Which conclusion follows?

  1. Only I
  2. Only II
  3. Both
  4. 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.

The Amazon interview process, round by round