American Airlines
Coal India Interview Questions and Answers
Q1. What is the difference between a tuple and a list in Python
A tuple is immutable and uses parentheses, while a list is mutable and uses square brackets in Python.
Tuples are immutable, meaning their elements cannot be changed after creation
Lists are mutable, allowing for elements to be added, removed, or modified
Tuples are created using parentheses, while lists use square brackets
Example: tuple = (1, 2, 3) vs list = [1, 2, 3]
Q2. How do you access elements in a python dictionary
Access elements in a Python dictionary using keys
Use square brackets [] with the key to access the value in the dictionary
Use the get() method to access a value with a default return if the key does not exist
Use the keys() method to get a list of all keys in the dictionary
Q3. How many tennis ball in america?
It is impossible to accurately determine the exact number of tennis balls in America without specific data.
The number of tennis balls in America would vary depending on factors such as sales, usage, and production.
One could estimate the number by considering the population of tennis players, tennis courts, and tennis tournaments in America.
It would also be helpful to look at the sales figures of tennis balls from major retailers and manufacturers.
Without specific data, it is ...read more
Q4. What do you know about AA?
AA stands for Alcoholics Anonymous, a support group for individuals struggling with alcohol addiction.
AA is a 12-step program that emphasizes spiritual growth and personal accountability.
Meetings are held regularly and are open to anyone seeking help with alcohol addiction.
Anonymity is a key principle of AA, and members are encouraged to maintain confidentiality.
Sponsorship is also an important aspect of AA, where experienced members provide guidance and support to newcomers.
Q5. Difference between Virtual DOM and DOM
Virtual DOM is a lightweight copy of the actual DOM, used for efficient updates in web applications.
Virtual DOM is a concept used in frameworks like React to improve performance by minimizing actual DOM manipulations.
Changes are first made to the Virtual DOM, then compared with the actual DOM to determine the minimal updates needed.
This process reduces the number of expensive DOM operations, resulting in faster rendering and improved user experience.
Q6. Difference between Angular and React
Angular is a full-fledged framework for building web applications, while React is a JavaScript library for building user interfaces.
Angular is a complete framework with built-in features like routing, forms, and HTTP client.
React is a library focused on building UI components and managing state.
Angular uses two-way data binding, while React uses one-way data flow.
Angular uses TypeScript by default, while React uses JavaScript.
Angular has a steeper learning curve compared to R...read more
Q7. How do we make Money
We make money by providing products or services to customers in exchange for payment.
Selling products or services to customers
Charging fees for services rendered
Generating revenue through advertising or sponsorships
Investing in financial markets
Licensing intellectual property
Offering subscriptions or memberships
Interview Process at Coal India
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month