Add office photos
Engaged Employer

GormalOne

4.2
based on 12 Reviews
Filter interviews by

10+ Maharaja Grains Interview Questions and Answers

Updated 6 Jul 2024

Q1. What is coroutines? Launch mode of coroutines.

Ans.

Coroutines are a way to perform asynchronous operations in a sequential manner. Launch modes include launch, async, and runBlocking.

  • Coroutines are lightweight threads that can be used for asynchronous programming in Kotlin.

  • Launch mode 'launch' starts a new coroutine and does not return any result.

  • Launch mode 'async' starts a new coroutine and returns a 'Deferred' object that can be used to retrieve the result.

  • Launch mode 'runBlocking' blocks the current thread until the corou...read more

Add your answer

Q2. Difference between Table variable and Temporary Table

Ans.

Table variables are created in memory and are scoped to the batch, while temporary tables are stored in tempdb and can be accessed across batches.

  • Table variables are created using DECLARE statement, while temporary tables are created using CREATE TABLE statement.

  • Table variables are limited to the scope of the batch or stored procedure in which they are declared, while temporary tables can be accessed across batches.

  • Table variables are automatically deallocated when the batch ...read more

Add your answer

Q3. Which SQL execution plan is better

Ans.

The SQL execution plan that is more efficient and utilizes indexes is better.

  • Look for execution plans that utilize indexes to minimize the number of rows scanned.

  • Avoid full table scans if possible, as they can be resource-intensive.

  • Consider the use of join algorithms like nested loops, hash joins, or merge joins for optimal performance.

Add your answer

Q4. What is Identity Management System

Ans.

Identity Management System is a system used to manage and control user identities and access permissions within an organization.

  • It centralizes user data and permissions

  • It allows for single sign-on across multiple systems

  • It enhances security by enforcing access controls

  • Examples include Active Directory, Okta, and OneLogin

Add your answer
Discover Maharaja Grains interview dos and don'ts from real experiences

Q5. Difference between API and Web Services

Ans.

API is a set of rules and protocols that allows different software applications to communicate with each other. Web services are a type of API that are accessed over a network, typically using HTTP.

  • API is a broader term that encompasses all types of interfaces for software communication.

  • Web services are a specific type of API that are accessed over a network, often using HTTP protocols.

  • APIs can be used for various purposes such as accessing databases, hardware, or other softw...read more

Add your answer

Q6. How to Communicate Two API

Ans.

Communicate two APIs by using HTTP requests to send and receive data between them.

  • Use HTTP methods like GET, POST, PUT, DELETE to interact with APIs

  • Utilize JSON or XML format to send and receive data

  • Implement authentication mechanisms like API keys or OAuth for secure communication

Add your answer

Q7. What is SQL Locks

Ans.

SQL locks are mechanisms used to control access to data in a database to prevent conflicts and ensure data integrity.

  • SQL locks are used to prevent multiple users from accessing or modifying the same data simultaneously.

  • There are different types of SQL locks such as shared locks, exclusive locks, and update locks.

  • Locks can be applied at different levels such as row-level, page-level, or table-level.

  • For example, a shared lock allows multiple users to read data but only one user...read more

Add your answer

Q8. OOPs concept of core java.

Ans.

OOPs concept in core Java refers to the principles of Object-Oriented Programming such as Inheritance, Encapsulation, Polymorphism, and Abstraction.

  • Inheritance: Allows a class to inherit properties and behavior from another class.

  • Encapsulation: Bundling data and methods that operate on the data into a single unit.

  • Polymorphism: Ability of a method to do different things based on the object it is acting upon.

  • Abstraction: Hiding the implementation details and showing only the ne...read more

Add your answer

Q9. LifeCycle of android.

Ans.

The Android lifecycle refers to the series of states an activity or fragment goes through from creation to destruction.

  • Android components like activities, services, and broadcast receivers have lifecycles.

  • The main lifecycle methods include onCreate(), onStart(), onResume(), onPause(), onStop(), and onDestroy().

  • Understanding the lifecycle is crucial for managing resources and handling state changes.

  • Example: An activity goes through onCreate() when it is first created, onResume...read more

Add your answer

Q10. Scope function in kotlin.

Ans.

Scope functions in Kotlin are functions that allow you to execute a block of code within the context of an object.

  • Scope functions include let, run, with, apply, and also.

  • They help in reducing boilerplate code and improving code readability.

  • For example, using 'apply' to initialize properties of an object.

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

Interview Process at Maharaja Grains

based on 4 interviews in the last 1 year
Interview experience
3.3
Average
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

4.1
 • 534 Interview Questions
4.4
 • 436 Interview Questions
4.2
 • 388 Interview Questions
3.9
 • 306 Interview Questions
4.0
 • 162 Interview Questions
4.2
 • 147 Interview Questions
View all
Top GormalOne Interview Questions And Answers
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