Dassault Systemes
100+ Ishan Technologies Interview Questions and Answers
Q1. suppose a customer gets a crash in our software and that crash dump comes to you for analysis - what would be your strategy to analyze the dump?
I would start by identifying the root cause of the crash and then work on finding a solution to fix it.
First, I would analyze the crash dump to identify the error message or code that caused the crash.
Then, I would review the software code to understand the context of the error and identify any potential bugs or issues.
I would also check for any known issues or bugs that have been reported by other customers.
Once I have identified the root cause of the crash, I would work on ...read more
Q2. breadth first search, longest common subsequence, output of code written on paper
Question on breadth first search, longest common subsequence, and output of code written on paper.
Breadth first search is a graph traversal algorithm that visits all the vertices of a graph in breadth-first order.
Longest common subsequence is the longest subsequence common to all sequences in a set of sequences.
Output of code written on paper refers to writing code on paper and then analyzing the output without actually running the code.
Q3. How is object class inherited across multiple levels of inheritance, does each class inherit it separately
Object class is inherited by each subclass separately in multiple levels of inheritance.
Each subclass inherits the object class of its parent class.
If a subclass has multiple parent classes, it inherits the object class of each parent class separately.
Object class is the root class of all classes in Java and provides basic methods and properties.
Example: Class C extends Class B, which extends Class A. Each class inherits the object class separately.
Example: Class C extends Cl...read more
Q4. 7)how do you drive your data in automation , how do you validate whether your data is accurate and precise?
Data is driven in automation through input files or databases. Validation is done through assertions and comparing expected vs actual results.
Data can be driven through input files like CSV, Excel or databases like MySQL, Oracle
Assertions can be used to validate data accuracy and precision
Expected vs actual results can be compared to ensure data correctness
Data can also be validated through manual inspection or using tools like SQL queries
Q5. How to allocate dynamic memory in c n cpp
Dynamic memory allocation in C and C++ can be done using malloc, calloc, realloc and new operators.
malloc() function is used to allocate a block of memory of specified size.
calloc() function is used to allocate a block of memory and initializes it to zero.
realloc() function is used to resize the previously allocated memory block.
new operator is used in C++ to allocate memory for an object.
Memory allocated using these functions should be freed using free() function in C and de...read more
Q6. 3 Bulbs 3 switches, how do you know which is for what without seeing
You can turn on one switch for a few minutes, turn it off and turn on another switch. The remaining switch will be for the third bulb.
Turn on switch 1 and leave it on for a few minutes
Turn off switch 1 and turn on switch 2
Leave switch 2 on for a few minutes
Turn off switch 2 and turn on switch 3
The bulb that is off and warm to the touch is connected to switch 1
The bulb that is on is connected to switch 2
The bulb that is off and cold to the touch is connected to switch 3
Q7. 6)What do you do when your automation script fails , debug process?
When automation script fails, debug process involves identifying the root cause and fixing it.
Check the error logs and identify the line of code where the script failed
Verify the test data and environment setup
Re-run the script with debug mode enabled to identify the issue
Fix the issue and re-run the script to ensure it passes
Update the test case and report the issue to the development team if necessary
Q8. Real life scenarios where you would go for abstract class vs interface
Abstract classes are used when we want to provide a default implementation, while interfaces are used when we want to enforce a contract.
Use abstract classes when you want to provide a default implementation for some methods.
Use interfaces when you want to enforce a contract that must be implemented by the implementing class.
Abstract classes can have constructors, while interfaces cannot.
A class can implement multiple interfaces, but can only inherit from one abstract class.
A...read more
Q9. how do you resolve conflicts?
I approach conflicts by actively listening, identifying the root cause, and finding a mutually beneficial solution.
Listen to all parties involved and understand their perspectives
Identify the root cause of the conflict
Brainstorm potential solutions with all parties involved
Find a mutually beneficial solution that addresses the root cause
Communicate the solution clearly and ensure all parties are satisfied
Q10. What are pointers and what is dangling pointer
Pointers are variables that store memory addresses. A dangling pointer is a pointer that points to a memory location that has been deallocated.
Pointers are used to access memory directly
They can be used to pass values by reference
Dangling pointers can cause program crashes or unexpected behavior
Q11. Puzzles, cake cut 3 times into 8 equal pieces how
Cake can be cut into 8 equal pieces by making 3 cuts.
Make two cuts to divide the cake into quarters, then make a third cut through all quarters to get 8 equal pieces.
Each cut should be made perpendicular to the previous cut.
The size of the cake does not matter as long as it is a cylindrical or rectangular shape.
Q12. Write program to fetch second highest number from array
Program to fetch second highest number from array
Sort the array in descending order
Return the second element of the sorted array
Q13. What is inheritance and its type
Inheritance is a mechanism in object-oriented programming where a new class is created from an existing class.
It allows the new class to inherit the properties and methods of the existing class.
There are different types of inheritance such as single, multiple, multilevel, and hierarchical.
Single inheritance involves a child class inheriting from a single parent class.
Multiple inheritance involves a child class inheriting from multiple parent classes.
Multilevel inheritance inv...read more
Q14. if 2 threads are given and one burns in 30 minutes, how you can count 45 minutes
To count 45 minutes with 2 threads, burn the first thread at both ends and the second thread at one end.
Burn the first thread at both ends, it will last for 15 minutes.
At the same time, burn the second thread at one end.
When the first thread is burnt out, light the other end of the second thread.
The second thread will last for 30 minutes, completing the 45 minutes.
This is an example of using logic and creativity to solve a problem.
Q15. Write the program for singleton design pattern
Singleton design pattern ensures only one instance of a class is created and provides a global point of access to it.
Create a private constructor to prevent direct instantiation of the class
Create a private static instance of the class
Create a public static method to access the instance
Ensure thread safety by using synchronized keyword or static initialization block
Example: Database connection manager
Q16. Internal implementation of array list and hashmap
Array list and hashmap are data structures used for storing and accessing data in memory.
Array list is a dynamic array that can grow or shrink in size as needed.
Hashmap is a key-value pair data structure that allows for fast retrieval of values based on their keys.
Array list is implemented using an array, while hashmap is implemented using a hash table.
Array list is useful when the data needs to be accessed sequentially, while hashmap is useful when the data needs to be acces...read more
Q17. First non-repeating character from a string
Find the first non-repeating character in a string.
Iterate through the string and count the frequency of each character.
Iterate through the string again and return the first character with frequency 1.
Use a hash table to store the frequency of each character.
Q18. MVC Filters and its execution sequence
MVC filters are used to intercept and modify HTTP requests and responses in ASP.NET MVC applications.
Filters can be used for authentication, caching, logging, and exception handling.
Filters can be applied globally or to specific controllers or actions.
The execution sequence of filters is determined by their type and scope.
The order of execution can be modified using the Order property.
Some common filter types include Authorization filters, Action filters, Result filters, and ...read more
Q19. Implement C string and make custom string class. Why we use reference in copy constructor
Custom string class implementation with C string and explanation of using reference in copy constructor.
C string can be implemented using char arrays and functions like strcpy, strlen, etc.
Custom string class can be implemented using dynamic memory allocation and member functions for string manipulation.
References in copy constructor are used to avoid unnecessary copying of objects, improving performance and memory efficiency.
Q20. Product of two vote eligible people is x and then what will bethe individual's age
The age of the individuals cannot be determined based on the given information.
The product of two vote eligible people does not provide any information about their individual ages.
Age is not a factor in determining the product of two numbers.
Additional information about the individuals' ages or their relationship to the product is needed.
Q21. Sort map entries based on values
Sort map entries based on values
Use a TreeMap to sort the entries based on values
Implement a Comparator to compare the values
Convert the sorted entries to a LinkedHashMap to maintain the order
Q22. SOLID design principles
SOLID design principles are a set of guidelines for writing maintainable and scalable code.
S - Single Responsibility Principle: A class should have only one reason to change.
O - Open/Closed Principle: A class should be open for extension but closed for modification.
L - Liskov Substitution Principle: Subtypes should be substitutable for their base types.
I - Interface Segregation Principle: Clients should not be forced to depend on interfaces they do not use.
D - Dependency Inve...read more
Q23. Sort the list of alphanumeric values
Sort a list of alphanumeric values.
Use a sorting algorithm to sort the array of strings.
If the values are case-insensitive, convert them to lowercase before sorting.
If the values contain numbers, use a natural sorting algorithm to sort them.
If the values contain special characters, consider their ASCII values while sorting.
Q24. 1. Implement 4x4 matrix multiplication with operator overloading in cpp. 2. Bitwise XOR operation of two numbers
Implement matrix multiplication and bitwise XOR operation in C++.
For matrix multiplication, define a Matrix class with overloaded * operator.
For bitwise XOR operation, use the ^ operator between two integers.
Ensure the dimensions of matrices are compatible for multiplication.
Handle edge cases like empty matrices or different dimensions.
Example: Matrix A(4, 4); Matrix B(4, 4); Matrix C = A * B;
Example: int result = num1 ^ num2;
Q25. What is Regression testing and what is regression defects?
Regression testing is retesting of software to ensure that recent changes have not adversely affected existing features. Regression defects are bugs that reappear after changes.
Regression testing is performed to make sure that new code changes have not introduced any new bugs or caused existing functionalities to break.
It involves re-executing test cases that cover the impacted areas of the software.
Regression defects are bugs that were previously fixed but resurface after ne...read more
Q26. how you will validate the input you are giving while login if its correct but not with the success message and algorithm for it
Validate input by checking for specific error messages instead of success message
Check for error messages related to incorrect input (e.g. 'Invalid username/password')
Verify the response code or status returned after login attempt
Look for any specific patterns in the error messages that indicate incorrect input
Q27. Difference between malloc and calloc
malloc and calloc are memory allocation functions in C. malloc allocates memory but does not initialize it, while calloc initializes memory to zero.
malloc allocates memory block of given size
calloc allocates memory block of given size and initializes it to zero
malloc returns a pointer to the allocated memory
calloc returns a pointer to the allocated memory or NULL if allocation fails
malloc does not clear the allocated memory
calloc clears the allocated memory
malloc is faster th...read more
Q28. 3.How to select value from drop down and how to select value if no select tag is there in html dom? ask one puzzle related question?
Q29. Find the xpath of "Google Search tab" & "Voice search button"?
Use xpath to locate Google Search tab and Voice search button on the webpage.
For Google Search tab: //input[@name='btnK']
For Voice search button: //div[@aria-label='Search by voice']
Q30. C++ Program to reverse a string
C++ program to reverse a string
Use a loop to iterate through the string
Swap the characters at the beginning and end of the string
Continue swapping until the middle of the string is reached
Q31. How to write unittests
Unit tests are written to test individual units of code to ensure they function as expected.
Identify the unit of code to be tested
Create test cases that cover all possible scenarios
Use testing frameworks like JUnit or pytest
Ensure tests are independent and repeatable
Test for both positive and negative scenarios
Use mock objects to simulate dependencies
Run tests frequently during development
Refactor code based on test results
Q32. main method in java ,whether it can be overloaded , overrided? why it cannot be overrided?
The main method in Java can be overloaded but not overridden.
Main method can be overloaded by defining multiple main methods with different parameters.
Overloading allows multiple methods with the same name but different parameters.
Main method cannot be overridden because it is a static method and static methods cannot be overridden.
Q33. Difference between delete and truncate
Delete removes specific rows while truncate removes all rows from a table.
Delete is a DML command while truncate is a DDL command.
Delete is slower than truncate as it logs each row deletion while truncate does not.
Delete can be rolled back while truncate cannot be rolled back.
Delete can be used with a WHERE clause to remove specific rows while truncate removes all rows.
Delete does not reset the identity of a table while truncate resets the identity of a table.
Q34. 2. Shortest distance between 2 points on a 3d cubical surface
The shortest distance between 2 points on a 3D cubical surface can be calculated using the Manhattan distance formula.
Calculate the absolute difference between the x, y, and z coordinates of the two points.
Sum up the absolute differences to get the Manhattan distance.
Manhattan distance = |x2 - x1| + |y2 - y1| + |z2 - z1|
Example: If point A is (1, 2, 3) and point B is (4, 5, 6), the Manhattan distance would be |4-1| + |5-2| + |6-3| = 9.
Q35. How frequently do you run the Regression Test?
Regression tests are run after every significant code change or new feature implementation.
Regression tests are typically run after every significant code change or new feature implementation to ensure that existing functionalities are not affected.
The frequency of running regression tests may vary depending on the project timeline and release cycle.
In Agile development, regression tests are often run as part of the continuous integration process, triggered by code commits.
Au...read more
Q36. Which libraries use for the verifying test cases?
Some common libraries used for verifying test cases are JUnit, TestNG, Selenium, and RestAssured.
JUnit is a popular Java testing framework for unit testing.
TestNG is another Java testing framework that supports parameterized and data-driven testing.
Selenium is a widely used tool for automating web browsers for testing purposes.
RestAssured is a Java library for testing RESTful APIs.
Q37. Explain coin change problem ?
Coin change problem involves finding the minimum number of coins needed to make a certain amount of change.
Involves finding the minimum number of coins needed to make a certain amount of change
Dynamic programming is commonly used to solve this problem
Example: If the coins available are [1, 2, 5] and the amount to make is 11, the minimum number of coins needed is 3 (5 + 5 + 1)
Q38. Write a java program for reverse string without pre defined method.
Java program to reverse a string without using predefined methods.
Create a char array from the input string.
Use two pointers, one at the start and one at the end, to swap characters.
Continue swapping characters until the pointers meet in the middle.
Q39. 2.how to automate drag and drop and validate that elements are interchanged after drag and drop operations?
Q40. 1. Length of string wrapped around a cylindrical surface
The length of string wrapped around a cylindrical surface can be calculated using the formula 2πr, where r is the radius of the cylinder.
The formula to calculate the length of string wrapped around a cylindrical surface is 2πr.
For example, if the radius of the cylinder is 5 cm, the length of the string wrapped around it would be 2π(5) = 10π cm.
Q41. how is a python list implemented
A Python list is implemented as a dynamic array that can resize itself as needed.
Python lists are implemented as dynamic arrays, allowing for efficient insertion and deletion operations.
Lists in Python can hold elements of different data types.
Lists can be accessed using index values, starting from 0.
Example: my_list = [1, 'hello', True]
Q42. Give a real life example of implementing interfaces vs abstract classes
Implementing interfaces vs abstract classes in real life
Interfaces are useful when implementing multiple inheritance in Java
Abstract classes are useful when creating a base class with some implementation
Example of interface: implementing Runnable interface in a class to create a thread
Example of abstract class: creating a base class for different types of vehicles
Q43. Reverse a linked list
Reverse a linked list
Iteratively swap the next and previous pointers of each node
Recursively swap the next and previous pointers of each node
Use a stack to push each node and then pop them to create the reversed list
Q44. Exception handling in MVC
Exception handling in MVC is crucial for error-free application development.
MVC framework provides a built-in exception handling mechanism.
Custom exception handling can be implemented using try-catch blocks.
Global exception handling can be set up in the Global.asax file.
Logging exceptions can help in debugging and improving application performance.
Q45. How to select 5 th dropdown option?
To select the 5th dropdown option, locate the dropdown element and choose the 5th option.
Locate the dropdown element using its unique identifier or class name
Use a method like 'selectByIndex' or 'selectByVisibleText' to choose the 5th option
Verify that the correct option has been selected
Q46. Hashmap implementation
Hashmap is a data structure that stores key-value pairs and provides constant time complexity for insertion, deletion, and retrieval.
Hashmap uses a hash function to map keys to indices in an array.
Collisions can occur when two keys map to the same index, which can be resolved using techniques like chaining or open addressing.
Java provides a built-in implementation of Hashmap in the java.util package.
Example: HashMap
map = new HashMap<>(); map.put("apple", 1); int value = map....read more
Q47. Determining if a point lies inside, on or outside a circle.
To determine if a point lies inside, on or outside a circle, we need to calculate the distance between the point and the center of the circle.
Calculate the distance between the point and the center of the circle using the distance formula
If the distance is greater than the radius of the circle, the point is outside the circle
If the distance is equal to the radius of the circle, the point is on the circle
If the distance is less than the radius of the circle, the point is insid...read more
Q48. Make your own immutable class
An immutable class is a class whose instances cannot be modified after creation.
Make all fields private and final
Do not provide any setters
Make the class final so that it cannot be subclassed
If any mutable object is used as a field, return a copy of it instead of the original object
Q49. Abstract vs interface
Abstract and interface are both used for abstraction in object-oriented programming.
Abstract classes can have both abstract and non-abstract methods, while interfaces can only have abstract methods.
Classes can implement multiple interfaces, but can only inherit from one abstract class.
Abstract classes can have constructors, while interfaces cannot.
Interfaces are used for defining contracts, while abstract classes are used for defining common behavior.
Q50. What is the general accounting entry for prepaid taxes?
Prepaid taxes are recorded as an asset on the balance sheet until they are actually paid.
Prepaid taxes are initially recorded as a debit to the Prepaid Taxes account and a credit to the Cash account.
When the taxes are actually paid, the entry is a debit to the Taxes Expense account and a credit to the Prepaid Taxes account.
The balance in the Prepaid Taxes account represents taxes that have been paid in advance but not yet expensed.
Q51. What is the difference between budgeting and forecasting?
Budgeting involves setting a financial plan for a specific period, while forecasting predicts future financial outcomes based on current data and trends.
Budgeting is a detailed financial plan for a specific period, usually a year, outlining expected revenues and expenses.
Forecasting involves predicting future financial outcomes based on current data and trends, helping in decision-making and planning.
Budgeting is more rigid and focuses on achieving specific financial goals, w...read more
Q52. How we can rectify the pc which is generate broadcast
To rectify a PC generating broadcast, check for misconfigured network settings, update network drivers, disable unnecessary services, and monitor network traffic.
Check for misconfigured network settings such as incorrect IP address or subnet mask
Update network drivers to ensure compatibility and stability
Disable unnecessary services or applications that may be causing excessive network traffic
Monitor network traffic using tools like Wireshark to identify the source of the bro...read more
Q53. internal working of jvm
JVM is an abstract machine that executes Java bytecode. It provides a runtime environment for Java programs.
JVM stands for Java Virtual Machine
It is responsible for interpreting the compiled Java code into machine code
JVM has three main components: class loader, runtime data area, and execution engine
The class loader loads the bytecode into the runtime data area
The runtime data area is where the JVM stores data and code during program execution
The execution engine executes th...read more
Q54. Runnable vs Thread
A runnable is a functional interface that represents a task to be executed, while a thread is a separate path of execution.
A runnable can be executed by a thread or an executor service
A thread is a lightweight process that can run concurrently with other threads
Threads can be used for parallelism, concurrency, and asynchronous programming
Example: Runnable r = () -> System.out.println("Hello World"); Thread t = new Thread(r); t.start();
Q55. 1.Difference between C and Cpp
C is a procedural language while C++ is an object-oriented language.
C does not support classes and objects while C++ does.
C++ supports function overloading while C does not.
C++ has a built-in exception handling mechanism while C does not.
C++ supports namespaces while C does not.
C++ supports references while C does not.
Q56. how to select dropdown in selenium
To select a dropdown in Selenium, use the Select class and its methods like selectByVisibleText, selectByValue, or selectByIndex.
Use the Select class from org.openqa.selenium.support.ui package
Identify the dropdown element using findElement method
Create a new Select object by passing the dropdown element as a parameter
Use selectByVisibleText, selectByValue, or selectByIndex methods to choose an option
Q57. If a glass is started filling with water by 1ml at 0sec and gets doubled at every successive second, at what second the glass is half full
The glass will be half full at the 1st second.
The glass is filled with 1ml at 0sec, then doubled every second (1ml, 2ml, 4ml, 8ml, ...)
At the 1st second, the glass will be half full because it will contain 1ml + 2ml = 3ml, which is half of its capacity
Q58. WHAT ARE LIBRARIES. WHERE YOU HAVE USED IT.PROJECTS DEFINITLY MATTERS
Libraries are collections of resources, such as books, journals, and databases, that are available for use by the public.
Libraries provide access to a wide range of information resources, including books, magazines, newspapers, and online databases.
They are often used for research, studying, and leisure reading.
Examples of libraries include public libraries, academic libraries, and special libraries such as law libraries or medical libraries.
I have used libraries for research...read more
Q59. Polymorphism and its types
Polymorphism is the ability of an object to take on many forms. It has two types: compile-time and runtime polymorphism.
Compile-time polymorphism is achieved through function overloading and operator overloading.
Runtime polymorphism is achieved through virtual functions and function overriding.
Polymorphism allows for code reusability and flexibility in object-oriented programming.
Example of compile-time polymorphism: function overloading - multiple functions with the same nam...read more
Q60. OOPS concepts explain in practical manner
OOPS concepts are fundamental to software engineering. They help in creating modular, reusable, and maintainable code.
Encapsulation: Hiding implementation details and exposing only necessary information.
Inheritance: Reusing code and creating a hierarchy of classes.
Polymorphism: Ability of objects to take on multiple forms.
Abstraction: Focusing on essential features and ignoring implementation details.
Example: A car is an object that encapsulates its internal workings. A sport...read more
Q61. Explain OOPS pillars
OOPS pillars are the fundamental principles of Object-Oriented Programming.
Encapsulation - bundling of data and methods that operate on that data
Inheritance - ability of a class to inherit properties and characteristics from its parent class
Polymorphism - ability of objects to take on multiple forms or have multiple behaviors
Abstraction - hiding of complex implementation details and showing only the necessary information
Q62. What is the process of bank reconciliation?
Bank reconciliation is the process of comparing a company's records with those of the bank to ensure they match.
Gather bank statements and company records
Compare deposits, withdrawals, and fees between the two sets of records
Identify and investigate any discrepancies
Adjust the company's records to match the bank's records
Prepare a bank reconciliation statement to document the process
Q63. Find duplicate numbers and its count from given list explain logic
Logic to find duplicate numbers and their count in a given list.
Iterate through the list and store each number in a hashmap with its count
If a number is already in the hashmap, increment its count
After iterating, check the hashmap for numbers with count greater than 1 to find duplicates
Q64. Find element find elements return types of it if no elements found
findElements method in Selenium returns a list of WebElements or an empty list if no elements are found.
findElements method returns a list of WebElements
If no elements are found, it returns an empty list
Return type is List
Q65. What is a middleware
Middleware is software that acts as a bridge between different applications or systems, allowing them to communicate and share data.
Middleware facilitates communication between different software applications
It can handle tasks such as message queuing, data transformation, and security
Examples include Apache Kafka, RabbitMQ, and Microsoft BizTalk
Q66. explain exception handling
Exception handling is a mechanism to handle runtime errors in a program to prevent it from crashing.
Exceptions are objects that represent errors or unexpected events in a program.
Try block is used to enclose the code that might throw an exception.
Catch block is used to handle the exception if it occurs.
Finally block is used to execute code regardless of whether an exception is thrown or not.
Throw keyword is used to manually throw an exception.
Example: try { // code that might...read more
Q67. Copyone array to other without loop use
Use array methods like slice or spread operator to copy one array to another without using a loop.
Use the slice method: let newArray = oldArray.slice()
Use the spread operator: let newArray = [...oldArray]
Both methods create a shallow copy of the original array
Q68. Site an example for Singleton pattern implementation in java
Singleton pattern ensures only one instance of a class is created and provides a global point of access to it.
Private constructor to restrict object creation
Private static instance variable to hold the single instance
Public static method to get the instance
Lazy initialization or eager initialization
Thread-safe implementation using synchronized keyword or static block
Examples: java.lang.Runtime, java.awt.Desktop, java.util.Calendar
Q69. What is BIOVIA hub,taskp plan and CISPro?
Q70. What do you know about dassaults Systemes?
Q71. Abstract and Interface difference
Abstract classes can have both abstract and non-abstract methods, while interfaces can only have abstract methods.
Abstract classes can have constructors, member variables, and non-abstract methods, while interfaces cannot.
A class can implement multiple interfaces but can only inherit from one abstract class.
Abstract classes are used to define a common behavior for subclasses, while interfaces are used to define a contract for classes to implement.
Example: Abstract class 'Anim...read more
Q72. What are the golden rules of accounting?
The golden rules of accounting are basic principles that guide the process of recording financial transactions.
The golden rules include the principles of debit and credit, which are used to record transactions accurately.
Debit what comes in and credit what goes out is one of the golden rules of accounting.
Another golden rule is debit the receiver and credit the giver.
The final golden rule is debit all expenses and losses, credit all incomes and gains.
Q73. What is the order to cash process?
Order to cash process is the set of business processes involved in receiving and fulfilling customer orders.
Customer places an order
Order is processed and approved
Product is picked, packed, and shipped
Invoice is generated and sent to customer
Payment is received and recorded
Q74. What is the difference between Abstract class and Interface
Abstract class can have both abstract and non-abstract methods, while Interface can only have abstract methods.
Abstract class can have constructors, fields, and methods, while Interface cannot have any implementation.
A class can implement multiple interfaces but can only inherit from one abstract class.
Abstract classes are used to provide a common base for multiple classes, while Interfaces are used to define a contract for classes to implement.
Example: Abstract class 'Shape'...read more
Q75. Implement Linked List using stack
Implement a Linked List using a stack data structure
Create a stack to store the elements of the linked list
Push new elements onto the stack when adding to the linked list
Pop elements from the stack when removing from the linked list
Q76. Explain Oops concept
Oops concept stands for Object-Oriented Programming. It is a programming paradigm based on the concept of objects.
Oops concept involves the use of classes and objects
It emphasizes on encapsulation, inheritance, polymorphism, and abstraction
Encapsulation is the bundling of data with the methods that operate on that data
Inheritance allows a class to inherit properties and behavior from another class
Polymorphism allows objects to be treated as instances of their parent class
Abst...read more
Q77. Order of Constructor and Destructors called
Constructors are called in order of inheritance, while destructors are called in reverse order.
Constructors are called when an object is created.
Destructors are called when an object is destroyed.
Inheritance affects the order of constructor calls.
Destructors are called in reverse order of constructors.
Q78. Diff btw 32 bit and 64 bit OS
32-bit OS can only address up to 4GB of RAM, while 64-bit OS can address much more.
32-bit OS can only address up to 4GB of RAM, while 64-bit OS can address much more
64-bit OS allows for larger file sizes and better performance
64-bit OS is more secure due to enhanced security features
64-bit OS is required to run certain modern software and games
Q79. write a program to check the highest value in an array.
Program to find the highest value in an array of strings.
Iterate through the array and compare each element to find the highest value.
Use a variable to keep track of the highest value found so far.
Return the highest value at the end of the iteration.
Q80. What is GMP , CAPA and deviation?
Q81. Diff between findelement vs findelements
findelement is used to find a single element on a webpage, while findelements is used to find multiple elements.
findelement returns the first matching element on the webpage
findelements returns a list of all matching elements on the webpage
Example: driver.findElement(By.id("elementId")) vs driver.findElements(By.className("elementClass"))
Q82. oops concepts used in framework
Object-oriented programming concepts used in framework design
Inheritance: Allows classes to inherit attributes and methods from other classes
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
Q83. What does a real account mean?
A real account refers to assets, liabilities, and equity accounts on a company's balance sheet.
Real accounts are permanent accounts that are not closed at the end of an accounting period.
They include assets like cash, accounts receivable, inventory, property, plant, and equipment, as well as liabilities and equity.
Changes in real accounts are recorded on the balance sheet and do not affect the income statement.
Examples of real accounts include cash, accounts payable, and comm...read more
Q84. Verification vs Validation?
Verification ensures the product is built right, while validation ensures the right product is built.
Verification focuses on process, validation focuses on product
Verification answers 'Are we building the product right?'
Validation answers 'Are we building the right product?'
Verification is done before validation
Q85. Display The array in reverse
Reverse the array of strings
Iterate through the array from the end to the beginning
Store each element in a new array in reverse order
Return the new array as the reversed version of the original array
Q86. Linked List Implementation
Linked list is a data structure where each element points to the next element in the sequence.
Nodes contain data and a reference to the next node
Insertion and deletion can be done efficiently
Traversal starts from the head node
Q87. Projectionofvector on another
Projection of one vector onto another is a way to find the component of one vector in the direction of another vector.
To project vector A onto vector B, you can use the formula: projB(A) = (A dot B / ||B||^2) * B
The dot product of two vectors is calculated by multiplying their corresponding components and adding the results.
The magnitude of a vector can be found using the formula: ||V|| = sqrt(Vx^2 + Vy^2)
Example: If vector A = [3, 4] and vector B = [1, 2], the projection of ...read more
Q88. why Dassault system
Dassault Systemes is a global leader in 3D design software, 3D Digital Mock Up and Product Lifecycle Management solutions.
Dassault Systemes offers cutting-edge technology and innovative solutions for software development.
They have a strong reputation in the industry for providing high-quality products and services.
Working at Dassault Systemes provides opportunities for professional growth and development.
Their focus on research and development ensures that employees are worki...read more
Q89. Sort array without using method
Sort array without using method
Iterate through the array and compare each element with the next one
Swap elements if they are in the wrong order
Repeat the process until the array is fully sorted
Q90. Explain OOPs concepts, discussed ach concept in detail.
OOPs concepts refer to Object-Oriented Programming principles 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.
Q91. Sort map entries based on value
Sort map entries based on value
Use a TreeMap to sort the entries based on value
Implement a Comparator to compare the values
Convert the TreeMap to a LinkedHashMap to maintain the order of insertion
Q92. How to center a div ?
To center a div, use CSS properties like margin, display, and text-align.
Set margin to auto on left and right sides
Set display to flex and justify-content to center
Set text-align to center for inline elements
Q93. Location preferred
Remote work preferred, open to occasional travel
Remote work preferred
Open to occasional travel
Flexible with location
Q94. Ant and its travel along a cube.
Ant travels along the edges of a cube.
The ant can travel along any of the 12 edges of the cube.
The ant can start at any vertex of the cube.
The ant can visit each vertex of the cube exactly once.
The ant can travel in any direction along the edges of the cube.
The ant can end its journey at any vertex of the cube.
Q95. Tell me something about Oops concepts
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.
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.
Q96. Write the implementation class for ArrayList
Implementation class for ArrayList in Java
Create a class named ArrayList with a private array to store elements
Implement methods like add, remove, get, size, etc.
Handle resizing of the array when needed
Use generics to allow storing any type of objects
Here is a simple example: public class ArrayList
{ private Object[] array; ... }
Q97. What are type of network cable
Types of network cables include Ethernet, coaxial, fiber optic, and twisted pair cables.
Ethernet cables are commonly used for wired networks and come in categories like Cat5, Cat6, and Cat7.
Coaxial cables are often used for cable television and internet connections.
Fiber optic cables use light to transmit data and are known for their high speed and reliability.
Twisted pair cables, such as Cat5e and Cat6, are commonly used for Ethernet connections in homes and businesses.
Q98. Reverse a String
Reverse a given string
Use a loop to iterate through the characters of the string
Append each character to a new string in reverse order
Return the reversed string
Q99. write a program to increase the version of a file
Program to increase the version of a file
Read the current version of the file
Increment the version number
Write the updated version back to the file
Q100. Puzzle of 3 jar
Three jars puzzle involves transferring water between jars to measure a specific amount.
Fill the 5L jar, pour it into the 3L jar, leaving 2L in the 5L jar.
Empty the 3L jar, pour the remaining 2L from the 5L jar into the 3L jar.
Fill the 5L jar again, pour water into the 3L jar until it is full (1L remaining in the 5L jar).
Top HR Questions asked in Ishan Technologies
Interview Process at Ishan Technologies
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month