Add office photos
Engaged Employer

TCS

3.7
based on 84.1k Reviews
Filter interviews by

20+ Amazon Development Centre India Interview Questions and Answers

Updated 30 Sep 2024
Popular Designations

Q1. What is Oops ? What is class? What is Exception? How do we Handle Exception?

Ans.

Oops stands for Object-Oriented Programming. Class is a blueprint for creating objects. Exception is an error that disrupts the normal flow of a program.

  • Oops stands for Object-Oriented Programming

  • Class is a blueprint for creating objects

  • Exception is an error that disrupts the normal flow of a program

  • Handling exceptions can be done using try-catch blocks

  • Example: try { // code that may throw exception } catch (Exception e) { // handle the exception }

Add your answer

Q2. What do you know about OOPS concepts

Ans.

OOPS concepts refer to Object-Oriented Programming principles such as inheritance, encapsulation, polymorphism, and abstraction.

  • Inheritance: Allows a class to inherit properties and behavior from another class. Example: Parent class 'Animal' and child class 'Dog'.

  • Encapsulation: Bundling data and methods that operate on the data into a single unit. Example: Class 'Car' with private variables and public methods.

  • Polymorphism: Ability to present the same interface for different d...read more

Add your answer

Q3. How many types of conductors are there

Ans.

There are two main types of conductors: metallic conductors and electrolytic conductors.

  • Metallic conductors: materials like copper, aluminum, and gold that allow the flow of electricity with minimal resistance.

  • Electrolytic conductors: materials like electrolyte solutions that conduct electricity through the movement of ions.

Add your answer

Q4. React Life cycle with hooks and classes

Ans.

React life cycle methods manage component behavior during creation, updating, and destruction.

  • Classes: componentDidMount, componentDidUpdate, componentWillUnmount

  • Hooks: useEffect, useState, useContext

  • Classes: Used for managing state and side effects in class components

  • Hooks: Introduced in React 16.8 for functional components

  • Example: useEffect hook replaces componentDidMount and componentDidUpdate in functional components

Add your answer
Discover Amazon Development Centre India interview dos and don'ts from real experiences

Q5. Sort array and return the array

Ans.

Sort array of strings and return the sorted array

  • Use built-in sort function in the programming language of choice

  • Ensure to specify the sorting order (ascending or descending)

  • Handle edge cases like empty array or array with single element

Add your answer

Q6. What is current react version

Ans.

The current version of React is 17.0.2

  • Current version is 17.0.2

  • React follows semantic versioning

  • Always check official documentation for latest version

Add your answer
Are these interview questions helpful?

Q7. how to configure redux

Ans.

Redux can be configured by creating a store, defining reducers, and connecting components.

  • Create a Redux store using createStore() function from Redux library

  • Define reducers to specify how the state should change in response to actions

  • Use combineReducers() to combine multiple reducers into a single reducer function

  • Connect components to the Redux store using connect() function from react-redux library

Add your answer

Q8. How to execute Java program

Ans.

To execute a Java program, compile the source code using the javac command and then run the compiled code using the java command.

  • Open a command prompt or terminal

  • Navigate to the directory where the Java source code file is located

  • Compile the source code using the javac command: javac YourProgram.java

  • Run the compiled code using the java command: java YourProgram

  • Ensure that the Java Development Kit (JDK) is installed and the PATH environment variable is set correctly

Add your answer
Share interview questions and help millions of jobseekers 🌟

Q9. tell me about llm models

Ans.

LLM models are a type of machine learning model that combines both labeled and unlabeled data for training.

  • LLM stands for Labeled Labeled Model

  • They are used in semi-supervised learning where only a small portion of the data is labeled

  • LLM models can improve performance by leveraging the unlabeled data to learn more about the underlying structure of the data

Add your answer

Q10. Redux flow with react

Ans.

Redux is a predictable state container for JavaScript apps. It helps manage the state of your application in a single store.

  • Redux is commonly used with React to manage the state of components.

  • Actions are dispatched to update the state in the Redux store.

  • Reducers specify how the state should change in response to actions.

  • Selectors are used to extract specific pieces of state from the store.

  • Middleware can be used to add additional functionality to Redux, such as logging or asyn...read more

Add your answer

Q11. What are power apps

Ans.

Power Apps are a suite of apps, services, connectors, and a data platform that provides a rapid application development environment for building custom business apps.

  • Power Apps allow users to create custom apps without the need for extensive coding knowledge.

  • They can be used to streamline business processes, automate tasks, and connect to various data sources.

  • Power Apps can be integrated with other Microsoft services like Power BI, SharePoint, and Dynamics 365.

  • Examples of Pow...read more

Add your answer

Q12. Explain objects and classes

Ans.

Objects are instances of classes in object-oriented programming, representing real-world entities with properties and behaviors.

  • Objects are instances of classes, which act as blueprints for creating objects.

  • Classes define the properties and behaviors of objects.

  • Objects can have attributes (properties) and methods (behaviors).

  • Example: Class 'Car' defines properties like 'color' and 'model', and methods like 'drive' and 'stop'. An object 'myCar' can be created from this class.

Add your answer

Q13. Give the most repeated number

Ans.

The most repeated number in an array

  • Iterate through the array and keep track of the frequency of each number

  • Find the number with the highest frequency

  • Return that number as the most repeated number

Add your answer

Q14. Explain abt oops concept

Ans.

Object-oriented programming (OOP) is a programming paradigm that organizes code into objects with properties and behaviors.

  • OOP focuses on creating reusable code by using classes and objects.

  • Encapsulation, inheritance, and polymorphism are key principles of OOP.

  • Encapsulation hides the internal details of an object and provides a public interface.

  • Inheritance allows classes to inherit properties and behaviors from other classes.

  • Polymorphism enables objects to take on multiple fo...read more

Add your answer

Q15. Write a sorting program

Ans.

A sorting program to sort an array of strings

  • Use a sorting algorithm like bubble sort, selection sort, or quicksort

  • Compare strings using strcmp() function in C or compareTo() method in Java

  • Handle edge cases like empty array or array with only one element

Add your answer

Q16. Different commands in sql

Ans.

SQL commands are used to interact with databases to perform various operations like querying, updating, and deleting data.

  • SELECT: Retrieve data from a database

  • INSERT: Add new records to a table

  • UPDATE: Modify existing records in a table

  • DELETE: Remove records from a table

  • CREATE TABLE: Create a new table in the database

  • ALTER TABLE: Modify the structure of an existing table

  • DROP TABLE: Delete a table from the database

Add your answer

Q17. Explain cache memory

Ans.

Cache memory is a small, high-speed memory unit located between the CPU and main memory, used to store frequently accessed data and instructions.

  • Cache memory is faster than main memory, allowing for quicker access to data.

  • It helps improve overall system performance by reducing the time needed to access data.

  • There are different levels of cache memory (L1, L2, L3) with varying sizes and speeds.

  • Examples of cache memory include CPU cache and web browser cache.

Add your answer

Q18. Explain Polymorphism

Ans.

Polymorphism is the ability of a function or method to behave differently based on the object it is called with.

  • Polymorphism allows objects of different classes to be treated as objects of a common superclass.

  • There are two types of polymorphism: compile-time (method overloading) and runtime (method overriding).

  • Example: Animal class with methods like eat() can be inherited by classes like Dog and Cat, which can override the eat() method to behave differently.

Add your answer

Q19. Syntax for c program

Ans.

Syntax for a C program involves writing code using specific rules and conventions.

  • Include header files using #include directive

  • Declare main function as int main()

  • Use semicolons to end statements

  • Use curly braces to define code blocks

  • Declare variables before using them

Add your answer

Q20. Explain joins in sql

Ans.

Joins in SQL are used to combine rows from two or more tables based on a related column between them.

  • Joins are used to retrieve data from multiple tables based on a related column

  • Types of joins include INNER JOIN, LEFT JOIN, RIGHT JOIN, and FULL JOIN

  • Example: SELECT * FROM table1 INNER JOIN table2 ON table1.column = table2.column

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at Amazon Development Centre India

based on 17 interviews in the last 1 year
3 Interview rounds
Aptitude Test Round
Coding Test Round
Technical Round
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Associate Engineer Interview Questions from Similar Companies

3.8
 • 24 Interview Questions
3.8
 • 17 Interview Questions
4.1
 • 11 Interview Questions
4.1
 • 10 Interview Questions
3.7
 • 10 Interview Questions
View all
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter