Tricon Infotech
10+ Godrej & Boyce Manufacturing Interview Questions and Answers
Q1. What is SPA? How does angular work?
SPA stands for Single Page Application. Angular is a popular JavaScript framework for building SPAs.
SPA is a web application that loads a single HTML page and dynamically updates the page as the user interacts with it.
Angular is a front-end framework that allows developers to build dynamic web applications using HTML, CSS, and JavaScript.
Angular uses components to create the user interface and services to handle business logic and data manipulation.
Angular uses two-way data b...read more
Q2. Explain FastAPI and headers, path parameters, etc
FastAPI is a modern web framework for building APIs with Python, providing easy handling of headers, path parameters, etc.
FastAPI is a Python web framework for building APIs quickly and efficiently
It provides easy handling of headers, path parameters, query parameters, and request bodies
Headers can be accessed using the request.headers attribute
Path parameters are defined in the route URL and accessed as function parameters
Example: @app.get('/items/{item_id}'), def read_item(...read more
Q3. Write a API to demonstrate GET, POST, PUT
API demonstrating GET, POST, PUT methods
Create a route for GET method to retrieve data
Create a route for POST method to add new data
Create a route for PUT method to update existing data
Q4. What is middleware and how do you implement custom middleware?
Middleware is software that acts as a bridge between an operating system or database and applications, allowing them to communicate with each other.
Middleware is a layer of software that connects different components of an application, such as the frontend and backend.
It can handle tasks like authentication, logging, error handling, and request processing.
Custom middleware can be implemented by creating a function that takes in parameters like request, response, and next, and...read more
Q5. What are indexer in c#?
Indexers in C# allow objects to be indexed like arrays, providing a way to access elements using an index value.
Indexers are defined using 'this' keyword followed by square brackets containing the index parameters.
They can be used to get or set the value of an element in a collection or class.
Example: public string this[int index] { get { return myArray[index]; } set { myArray[index] = value; }}
Q6. What is application Poll?
Application Poll is a process where the application periodically checks for updates or changes in a certain resource or data source.
Application Polling is commonly used in web applications to update data without the need for manual refresh.
It helps in keeping the application up-to-date with the latest information.
Polling intervals can be set based on the frequency of updates in the resource being monitored.
Q7. What is AsNoTracking in Linq?
AsNoTracking in Linq is used to disable change tracking in Entity Framework, improving performance by not storing entities in the context.
AsNoTracking method is used to retrieve data without tracking changes made to the entities.
It is useful when you only need to read data and do not intend to update or delete it.
By using AsNoTracking, you can improve performance by avoiding the overhead of storing entities in the context.
Example: var result = context.Products.AsNoTracking()....read more
Q8. What are the key concepts of Object-Oriented Programming (OOP)?
Key concepts of OOP include encapsulation, inheritance, polymorphism, and abstraction.
Encapsulation: Bundling data and methods that operate on the data into a single unit (class).
Inheritance: Creating new classes based on existing classes, allowing for code reuse.
Polymorphism: The ability for objects of different classes to respond to the same method call.
Abstraction: Hiding the complex implementation details and showing only the necessary features to the outside world.
Q9. How do you test Api?
API testing involves verifying the functionality, performance, reliability, and security of an API.
Write test cases to cover all possible scenarios
Use tools like Postman or SoapUI for manual testing
Automate testing using tools like Selenium or JUnit
Verify response codes, data formats, and error handling
Perform load testing to check performance under heavy traffic
Q10. Introduce yourself? Difference between C and python?
C is a compiled language with low-level memory manipulation capabilities, while Python is an interpreted language with high-level abstractions.
C is faster and more memory-efficient than Python.
Python has a simpler syntax and is easier to learn than C.
C is better suited for system-level programming, while Python is better for scripting and rapid prototyping.
C requires manual memory management, while Python has automatic garbage collection.
C has a static type system, while Pyth...read more
Q11. what is java, what is spring boot
Interview Process at Godrej & Boyce Manufacturing
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month