Tech Mahindra
60+ Assam Industrial Development Corporation Interview Questions and Answers
Q1. what is the difference between call by value and call by reference?
Call by value passes a copy of the value while call by reference passes a reference to the value.
Call by value passes a copy of the value to the function while call by reference passes a reference to the value.
In call by value, any changes made to the parameter inside the function do not affect the original value outside the function.
In call by reference, any changes made to the parameter inside the function affect the original value outside the function.
Call by value is used...read more
Q2. What is the difference b/w confidence and over confidence?
Confidence is having faith in one's abilities while overconfidence is having excessive faith in one's abilities.
Confidence is a positive trait that helps individuals achieve their goals while overconfidence can lead to complacency and mistakes.
Confidence is based on experience and knowledge while overconfidence is often based on assumptions and arrogance.
Confidence allows individuals to take calculated risks while overconfidence can lead to reckless behavior.
For example, a co...read more
Q3. 1)What was the introduced in c programming? 2
C introduced structured programming and allowed modular programming with functions.
C introduced the concept of structured programming with the use of control structures like if-else, for, while, and switch-case.
It also allowed modular programming with the use of functions, which could be reused in different parts of the program.
C also introduced the concept of pointers, which allowed direct manipulation of memory addresses.
Examples of C programs include operating systems, dev...read more
Q4. what is firmware and where it is used?
Firmware is a type of software that is embedded in hardware devices to control their functionality.
Firmware is a combination of hardware and software.
It is used to control the behavior of hardware devices.
Firmware is typically stored in non-volatile memory, such as ROM or flash memory.
Examples of devices that use firmware include routers, printers, and digital cameras.
Q5. What is python what is inheritance what is object what is encapsulation what is class what is object
Python is a high-level programming language known for its simplicity and readability. Inheritance is a feature that allows a class to inherit attributes and methods from another class.
Python is a popular high-level programming language used for web development, data analysis, artificial intelligence, and more.
Inheritance in Python allows a class to inherit attributes and methods from another class, promoting code reusability.
An object is an instance of a class in Python, repr...read more
Q6. what is db and can we connect db how to secure db connection and db object
A database (db) is a structured collection of data. We can connect to a db using a database management system (DBMS).
DB is short for database, which is a structured collection of data.
To connect to a db, we need a database management system (DBMS) like MySQL, Oracle, or MongoDB.
To secure a db connection, we can use encryption, authentication, and access control measures.
DB objects refer to the entities within a db, such as tables, views, or stored procedures.
Q7. How to a write a programming languages in software developer
To write a programming language as a software developer, one must understand the syntax, semantics, and design principles of programming languages.
Understand the syntax and grammar rules of the language.
Define the semantics of the language, including how statements and expressions are interpreted.
Design the language features and constructs based on the intended use cases.
Implement the language using a compiler or interpreter.
Test and debug the language implementation to ensur...read more
Q8. What are the Oops concepts in python
Object-oriented programming concepts in Python
Inheritance: creating a new class from an existing one
Encapsulation: hiding implementation details from users
Polymorphism: using a single interface to represent multiple types
Abstraction: simplifying complex systems by breaking them down into smaller, more manageable parts
Example: creating a class for a car with attributes like make, model, and year, and methods like start and stop
Q9. How to create private functions in JavaScript
Private functions in JavaScript can be created using closures or ES6 classes with the use of the 'private' keyword.
Use closures to create private functions by defining a function within another function and returning it.
Use ES6 classes with the 'private' keyword to create private methods.
Private functions can also be created using the module pattern by returning an object with public methods that have access to private variables and functions.
Q10. What is the sequence of delete,truncate and drop
The sequence of delete, truncate, and drop is in increasing order of data removal and impact on the database.
Delete removes specific rows from a table without affecting the table structure. Example: DELETE FROM table_name WHERE condition;
Truncate removes all rows from a table, but keeps the table structure intact. Example: TRUNCATE TABLE table_name;
Drop removes the entire table along with its structure from the database. Example: DROP TABLE table_name;
Q11. What are the data types in python
Python has several built-in data types including integers, floats, strings, booleans, lists, tuples, and dictionaries.
Integers are whole numbers without decimals
Floats are numbers with decimals
Strings are sequences of characters
Booleans are either True or False
Lists are ordered collections of items
Tuples are ordered, immutable collections of items
Dictionaries are unordered collections of key-value pairs
Q12. what is oops? and explain all features
OOPs stands for Object-Oriented Programming. It is a programming paradigm based on the concept of objects.
OOPs is based on the concept of classes and objects
Encapsulation, Inheritance, and Polymorphism are the three main features of OOPs
Encapsulation is the process of binding data and functions that manipulate the data
Inheritance is the process of creating new classes from existing ones
Polymorphism is the ability of objects to take on many forms
Example: Java, C++, Python are ...read more
Q13. Explain react js with ux architecture
React JS is a JavaScript library for building user interfaces, while UX architecture focuses on designing user experiences.
React JS is a front-end library used for building interactive user interfaces.
UX architecture focuses on designing user experiences to ensure usability and user satisfaction.
Combining React JS with UX architecture involves creating intuitive and user-friendly interfaces that prioritize user needs and behaviors.
For example, using React components to create...read more
Q14. Create a architecture in using ux
Create a user experience (UX) architecture for software development.
Identify user personas and their needs
Design user flows and wireframes
Implement intuitive navigation and information architecture
Ensure consistency in visual design and interactions
Test and iterate on the UX design based on user feedback
Q15. What is software and how to developing software
Software is a set of instructions that tells a computer how to perform specific tasks. Developing software involves designing, coding, testing, and maintaining programs.
Software is a collection of programs, data, and documentation that performs specific tasks on a computer.
Developing software involves analyzing user requirements, designing the software architecture, coding the program, testing for bugs, and maintaining the software.
Examples of software development tools inclu...read more
Q16. JavaScript functions to find unique elements in array
Use JavaScript filter and indexOf to find unique elements in array of strings.
Use filter method to iterate through the array and return only elements that have a unique index.
Use indexOf method to check if the current element is the first occurrence in the array.
Example: const arr = ['apple', 'banana', 'apple', 'orange']; const uniqueArr = arr.filter((item, index) => arr.indexOf(item) === index);
Q17. Name a few Object Oriented programming Languages.
Object Oriented programming languages are those that support the concepts of objects, classes, and inheritance.
Java - one of the most popular OOP languages
C++ - widely used in game development and system programming
Python - known for its simplicity and ease of use
Ruby - popular for web development and scripting
C# - developed by Microsoft for Windows applications
Swift - used for developing iOS and macOS applications
Q18. What is designed pattern
Design pattern is a reusable solution to a commonly occurring problem in software design.
Design patterns provide a standard terminology and a common platform for communication among developers.
They help in creating software that is flexible, maintainable, and scalable.
Examples of design patterns include Singleton, Factory, Observer, and Decorator.
Design patterns can be categorized into three types: creational, structural, and behavioral.
Creational patterns deal with object cr...read more
Q19. How Collection works behind the scenes
Collections in programming languages are data structures that store and organize multiple elements.
Collections can be implemented using various data structures such as arrays, linked lists, hash tables, etc.
They provide methods to add, remove, and access elements in the collection.
Examples of collections include lists, sets, maps, queues, and stacks.
Q20. How to handle a unresponsive teammate
Address the issue directly, offer help, communicate effectively, involve a supervisor if necessary
Have a one-on-one conversation with the unresponsive teammate to understand the reason for their behavior
Offer help and support to the teammate if they are struggling with their tasks
Communicate clearly and effectively about the impact of their unresponsiveness on the team's progress
Involve a supervisor or team lead if the issue persists and affects the team's productivity
Q21. What is looping statement?
A looping statement is used to execute a block of code repeatedly until a certain condition is met.
Looping statements are used to automate repetitive tasks.
Common looping statements include for, while, and do-while loops.
For example, a for loop can be used to iterate through an array and perform a certain action on each element.
A while loop can be used to repeatedly execute a block of code as long as a certain condition is true.
A do-while loop is similar to a while loop, but ...read more
Q22. What is built in function?
Built-in functions are pre-defined functions in programming languages that can be used without defining them first.
Built-in functions are part of the language's standard library
They are designed to perform common tasks such as string manipulation, math operations, and input/output
Examples of built-in functions in Python include print(), len(), and range()
They can save time and effort by providing pre-written code for common tasks
Q23. What is python interpreter
Python interpreter is a program that executes Python code.
It reads Python code and converts it into machine-readable code
It executes the code line by line
It also provides a command-line interface for interactive programming
Examples: CPython, Jython, IronPython
Q24. What is multiple inheritance
Multiple inheritance is the ability of a class to inherit properties and behavior from multiple parent classes.
It allows a class to inherit from more than one parent class.
It can lead to the diamond problem where a class inherits from two classes that have a common base class.
Languages like C++ support multiple inheritance while others like Java do not.
Example: A class can inherit properties from both a 'Vehicle' class and a 'Pet' class to create a 'Flying Pet' class.
Q25. Tell me about inheritance
Inheritance is a mechanism in object-oriented programming where a new class is created by inheriting properties of an existing class.
Inheritance allows code reuse and promotes code organization.
The existing class is called the parent or superclass, and the new class is called the child or subclass.
The child class inherits all the properties and methods of the parent class and can also add its own unique properties and methods.
For example, a class Animal can be a parent class,...read more
Q26. What is data abstraction
Data abstraction is the process of hiding implementation details and showing only the necessary information to the user.
Abstraction is achieved through abstract classes and interfaces
It helps in reducing complexity and increasing efficiency
Example: A car dashboard shows only necessary information like speed, fuel level, etc. and hides the internal workings of the car
Abstraction is one of the four fundamental concepts of object-oriented programming
Q27. Write a fibonaci series in c++ or C?
Fibonacci series can be easily implemented using loops in C++ or C.
Declare variables for first two numbers of the series
Use a loop to calculate and print the next number in the series
Repeat the loop until desired number of terms are printed
Q28. What is an array in java ?
An array in Java is a collection of similar data types stored in contiguous memory locations.
Arrays can be of any data type, including primitive types and objects.
Arrays have a fixed size and can be accessed using an index.
Arrays can be initialized with values at the time of declaration.
Arrays can be passed as parameters to methods.
Example: int[] numbers = {1, 2, 3, 4, 5};
Example: String[] names = new String[5];
Example: int value = numbers[2];
Q29. How to learning software developer
Learning software development involves studying programming languages, practicing coding, building projects, and staying updated with industry trends.
Study programming languages like Java, Python, C++, etc.
Practice coding regularly on platforms like LeetCode, HackerRank, etc.
Build projects to apply your knowledge and gain practical experience.
Stay updated with industry trends by reading blogs, attending workshops, etc.
Q30. 2) type of the array?
The question is incomplete and lacks context. Please provide more information.
Q31. how does the JVM architecture
JVM architecture is based on the stack-based architecture and consists of class loader, runtime data areas, execution engine, and native method interface.
JVM is stack-based architecture where each thread has its own stack for method calls and local variables.
Class loader loads class files into memory and verifies them before execution.
Runtime data areas include method area, heap, stack, and PC register.
Execution engine interprets bytecode or JIT compiles it to native code for...read more
Q32. what is transient keywords
Transient keyword in Java is used to indicate that a variable should not be serialized.
Transient keyword is used in Java to exclude a variable from being serialized during object serialization.
Variables marked as transient will not be persisted when the object is converted to a byte stream.
Transient keyword is often used for sensitive data that should not be saved or transferred.
Q33. what is object clonning
Object cloning is the process of creating an exact copy of an object, including all of its properties and methods.
Object cloning can be done using the Object.assign() method in JavaScript.
Deep cloning is a type of object cloning where nested objects are also copied.
Shallow cloning only creates a copy of the top-level object, not its nested objects.
Q34. What is data structures
Data structures are ways of organizing and storing data in a computer so that it can be accessed and used efficiently.
Data structures are used to manage and manipulate data.
They can be implemented using arrays, linked lists, trees, graphs, and other methods.
Examples include stacks, queues, hash tables, and binary search trees.
Q35. What is a class
A class is a blueprint for creating objects that have similar properties and behaviors.
A class is a user-defined data type that encapsulates data and functions.
It provides a way to organize and structure code.
Objects are instances of a class.
Classes can inherit properties and behaviors from other classes.
Example: A class 'Car' can have properties like 'color', 'model', and behaviors like 'start', 'stop'.
Q36. why coroutines is used
Coroutines are used to perform asynchronous tasks without blocking the main thread.
Coroutines allow for efficient asynchronous programming by suspending and resuming execution at specific points.
They are commonly used in Android development to handle network requests and database operations.
Coroutines can be used to simplify complex asynchronous code by providing a structured way to manage concurrency.
They are lightweight compared to threads, making them a more efficient choi...read more
Q37. SpringBoot Annotations and it's purposes
SpringBoot annotations are used to simplify the development process by providing metadata to the Spring framework.
Annotations like @RestController, @RequestMapping, @Autowired are used to define controllers, request mappings, and dependency injection respectively
Annotations like @Service, @Repository are used to define service and repository classes
Annotations like @Configuration, @ComponentScan are used for configuration and component scanning
Q38. Who developed python
Python was developed by Guido van Rossum in the late 1980s.
Guido van Rossum started working on Python in December 1989.
Python's design philosophy emphasizes code readability and ease of use.
Python is an interpreted, high-level, general-purpose programming language.
Python's popularity has been steadily increasing over the years.
Python is open-source and has a large community of developers contributing to its development.
Q39. What is PEP8
PEP8 is a style guide for Python code.
PEP8 provides guidelines for formatting, naming, and organizing Python code.
It covers topics such as indentation, line length, variable naming, and function and class definitions.
Adhering to PEP8 can improve code readability and maintainability.
Tools such as Flake8 and PyLint can be used to check code against PEP8 standards.
Q40. What is an object
An object is an instance of a class that encapsulates data and behavior.
Objects are created from classes
They have attributes (data) and methods (behavior)
Objects can interact with each other through method calls
Examples include a car object with attributes like make, model, and color, and methods like start and stop
Another example is a person object with attributes like name and age, and methods like walk and talk
Q41. Write any logic for example palindrome
Palindrome logic checks if a word or phrase reads the same backward as forward.
Remove all spaces and punctuation marks from the input string.
Convert the string to lowercase to ignore case sensitivity.
Reverse the string and compare it with the original string.
If both are equal, then the input string is a palindrome.
Q42. What is python and sql
Python is a high-level programming language known for its simplicity and readability. SQL is a language used for managing and querying databases.
Python is used for web development, data analysis, artificial intelligence, and more
SQL is used to retrieve and manipulate data stored in relational databases
Python has a large standard library and a vibrant community of developers
SQL can be used to create, read, update, and delete data in databases
Q43. Project description in detail
Developed a web-based project management tool for a construction company.
Used React for the frontend and Node.js for the backend
Implemented user authentication and authorization using JWT
Integrated with Google Maps API for location tracking
Allowed users to create and assign tasks, set deadlines, and track progress
Generated reports and analytics using Chart.js
Q44. What is linklist?
A linked list is a data structure that consists of a sequence of elements, where each element points to the next element in the sequence.
Consists of nodes where each node contains data and a reference to the next node
Can be singly linked (each node points to the next node) or doubly linked (each node points to the next and previous nodes)
Allows for efficient insertion and deletion of elements
Q45. kotlin multiplatform in existing project
Kotlin multiplatform allows sharing code between different platforms in an existing project.
Kotlin multiplatform enables sharing code between iOS and Android platforms
It can be integrated into an existing project to reduce duplicate code
Supports common libraries and APIs for both platforms
Q46. what is Promise chaining
Promise chaining is a technique in JavaScript where multiple asynchronous operations are chained together to ensure they execute in a specific order.
Allows for sequential execution of asynchronous operations
Each operation returns a Promise which can be chained with .then()
Helps avoid callback hell and makes code more readable
Example: fetch(url).then(response => response.json()).then(data => console.log(data))
Q47. Difference between List and tuple
List is mutable, tuple is immutable in Python.
List can be modified after creation, tuple cannot.
List uses square brackets [], tuple uses parentheses ().
List is slower than tuple for iteration and indexing.
Example: list_example = [1, 2, 3], tuple_example = (1, 2, 3)
Q48. what is final,finally
final and finally are keywords in Java used for different purposes.
final is used to declare a constant variable or to prevent method overriding or class inheritance.
finally is used in a try-catch block to execute a block of code regardless of whether an exception is thrown or not.
final and finally are not related to each other in any way.
Q49. Why database
Databases are essential for storing and managing large amounts of data efficiently.
Databases allow for easy organization and retrieval of data
They provide data security and integrity
Databases enable scalability and performance optimization
Examples include MySQL, Oracle, MongoDB, and SQL Server
Q50. OOPS Concepts explain
OOPS Concepts are fundamental principles of Object-Oriented Programming like 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 to present the same interface for different data types.
Abstraction: Hiding the complex implementation details and showing only the necessary features.
Q51. explain concepts of threads
Threads are lightweight processes within a program that can run concurrently, allowing for parallel execution.
Threads allow for multitasking within a program
Threads share the same memory space, allowing for efficient communication
Threads can be used for parallel processing, improving performance
Examples: handling multiple client requests simultaneously, updating UI while performing background tasks
Q52. Process of oauth integration
OAuth integration is a process of allowing third-party applications to access a user's data without exposing their credentials.
Understand OAuth flow (authorization code, implicit, client credentials, resource owner password credentials)
Register your application with the OAuth provider to get client ID and client secret
Implement OAuth authentication in your application using libraries like OAuth2.0 or OpenID Connect
Handle token expiration and refresh tokens for seamless user e...read more
Q53. Accomplishment of it's goal
Accomplishment of goal is the ultimate measure of success in any project.
Define clear and specific goals
Create a plan with achievable milestones
Regularly track progress and make adjustments as needed
Celebrate successes and learn from failures
Q54. what is opps in php
OOPs in PHP stands for Object-Oriented Programming, a programming paradigm that uses objects and classes to organize code.
OOPs allows for better code organization and reusability
Key concepts include classes, objects, inheritance, encapsulation, and polymorphism
Example: class Car { public $color; function drive() { echo 'Driving'; }}
Q55. use of inheritance in kotlin
Inheritance in Kotlin allows a class to inherit properties and functions from another class.
In Kotlin, a class can inherit from another class using the 'open' keyword for the superclass and the 'class' keyword for the subclass.
Subclasses can override properties and functions of the superclass using the 'override' keyword.
Kotlin does not support multiple inheritance, but a class can implement multiple interfaces.
Q56. Explain Native module
A native module is a module written in the same language as the application it is being used in, providing direct access to platform-specific APIs.
Native modules are typically written in languages like C, C++, or Objective-C for iOS and Java for Android.
They are used to access platform-specific features and APIs that are not available in JavaScript.
Native modules can improve performance and provide more flexibility in developing applications.
Examples of native modules include...read more
Q57. Explain some Array functions
Array functions are built-in methods in JavaScript that allow manipulation and traversal of arrays.
Some common array functions include: map(), filter(), reduce(), forEach(), and find().
map() - creates a new array by applying a function to each element in the original array.
filter() - creates a new array with elements that pass a certain condition.
reduce() - applies a function against an accumulator and each element in the array to reduce it to a single value.
forEach() - execu...read more
Q58. oops concept in java
Oops concept in Java refers to Object-Oriented Programming principles like Inheritance, Encapsulation, Polymorphism, and Abstraction.
Inheritance allows a class to inherit properties and behavior from another class.
Encapsulation involves bundling data and methods that operate on the data into a single unit.
Polymorphism allows objects to be treated as instances of their parent class.
Abstraction hides the implementation details and only shows the necessary features to the outsid...read more
Q59. Projects explanation
I have worked on various projects including web development, mobile app development, and database management.
Developed a web application using React.js for a client in the e-commerce industry
Created a mobile app using Flutter for a startup in the healthcare sector
Managed and optimized a MySQL database for a social media platform
Q60. oop concept explain
OOP (Object-Oriented Programming) is a programming paradigm based on the concept of objects, which can contain data and code.
OOP focuses on organizing code into objects that interact with each other.
Key principles of OOP include encapsulation, inheritance, and polymorphism.
Encapsulation involves bundling data and methods that operate on the data into a single unit.
Inheritance allows classes to inherit attributes and methods from other classes.
Polymorphism allows objects to be...read more
Top HR Questions asked in Assam Industrial Development Corporation
Interview Process at Assam Industrial Development Corporation
Top Software Developer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month