Add office photos
Engaged Employer

Dassault Systemes

4.0
based on 893 Reviews
Filter interviews by

100+ Ishan Technologies Interview Questions and Answers

Updated 15 Jan 2025
Popular Designations

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?

Ans.

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

Add your answer

Q2. breadth first search, longest common subsequence, output of code written on paper

Ans.

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.

Add your answer

Q3. How is object class inherited across multiple levels of inheritance, does each class inherit it separately

Ans.

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

Add your answer

Q4. 7)how do you drive your data in automation , how do you validate whether your data is accurate and precise?

Ans.

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

Add your answer
Discover Ishan Technologies interview dos and don'ts from real experiences

Q5. How to allocate dynamic memory in c n cpp

Ans.

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

Add your answer

Q6. 3 Bulbs 3 switches, how do you know which is for what without seeing

Ans.

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

Add your answer
Are these interview questions helpful?

Q7. 6)What do you do when your automation script fails , debug process?

Ans.

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

Add your answer

Q8. Real life scenarios where you would go for abstract class vs interface

Ans.

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

Add your answer
Share interview questions and help millions of jobseekers 🌟

Q9. how do you resolve conflicts?

Ans.

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

Add your answer

Q10. What are pointers and what is dangling pointer

Ans.

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

Add your answer

Q11. Puzzles, cake cut 3 times into 8 equal pieces how

Ans.

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.

View 2 more answers

Q12. Write program to fetch second highest number from array

Ans.

Program to fetch second highest number from array

  • Sort the array in descending order

  • Return the second element of the sorted array

Add your answer

Q13. What is inheritance and its type

Ans.

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

Add your answer

Q14. if 2 threads are given and one burns in 30 minutes, how you can count 45 minutes

Ans.

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.

Add your answer

Q15. Write the program for singleton design pattern

Ans.

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

Add your answer

Q16. Internal implementation of array list and hashmap

Ans.

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

Add your answer

Q17. First non-repeating character from a string

Ans.

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.

Add your answer

Q18. MVC Filters and its execution sequence

Ans.

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

Add your answer

Q19. Implement C string and make custom string class. Why we use reference in copy constructor

Ans.

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.

Add your answer

Q20. Product of two vote eligible people is x and then what will bethe individual's age

Ans.

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.

Add your answer

Q21. Sort map entries based on values

Ans.

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

Add your answer

Q22. SOLID design principles

Ans.

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

Add your answer

Q23. Sort the list of alphanumeric values

Ans.

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.

Add your answer

Q24. 1. Implement 4x4 matrix multiplication with operator overloading in cpp. 2. Bitwise XOR operation of two numbers

Ans.

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;

Add your answer

Q25. What is Regression testing and what is regression defects?

Ans.

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

Add your answer

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

Ans.

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

Add your answer

Q27. Difference between malloc and calloc

Ans.

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

Add your answer

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?

Add your answer

Q29. Find the xpath of "Google Search tab" & "Voice search button"?

Ans.

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']

Add your answer

Q30. C++ Program to reverse a string

Ans.

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

Add your answer

Q31. How to write unittests

Ans.

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

Add your answer

Q32. main method in java ,whether it can be overloaded , overrided? why it cannot be overrided?

Ans.

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.

View 1 answer

Q33. Difference between delete and truncate

Ans.

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.

Add your answer

Q34. 2. Shortest distance between 2 points on a 3d cubical surface

Ans.

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.

Add your answer

Q35. How frequently do you run the Regression Test?

Ans.

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

Add your answer

Q36. Which libraries use for the verifying test cases?

Ans.

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.

Add your answer

Q37. Explain coin change problem ?

Ans.

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)

Add your answer

Q38. Write a java program for reverse string without pre defined method.

Ans.

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.

Add your answer

Q39. 2.how to automate drag and drop and validate that elements are interchanged after drag and drop operations?

Add your answer

Q40. 1. Length of string wrapped around a cylindrical surface

Ans.

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.

Add your answer

Q41. how is a python list implemented

Ans.

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]

Add your answer

Q42. Give a real life example of implementing interfaces vs abstract classes

Ans.

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

Add your answer

Q43. Reverse a linked list

Ans.

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

Add your answer

Q44. Exception handling in MVC

Ans.

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.

Add your answer

Q45. How to select 5 th dropdown option?

Ans.

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

Add your answer

Q46. Hashmap implementation

Ans.

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

Add your answer

Q47. Determining if a point lies inside, on or outside a circle.

Ans.

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

Add your answer

Q48. Make your own immutable class

Ans.

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

Add your answer

Q49. Abstract vs interface

Ans.

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.

Add your answer

Q50. What is the general accounting entry for prepaid taxes?

Ans.

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.

Add your answer

Q51. What is the difference between budgeting and forecasting?

Ans.

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

Add your answer

Q52. How we can rectify the pc which is generate broadcast

Ans.

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

View 1 answer

Q53. internal working of jvm

Ans.

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

Add your answer

Q54. Runnable vs Thread

Ans.

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();

Add your answer

Q55. 1.Difference between C and Cpp

Ans.

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.

Add your answer

Q56. how to select dropdown in selenium

Ans.

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

Add your answer

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

Ans.

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

Add your answer

Q58. WHAT ARE LIBRARIES. WHERE YOU HAVE USED IT.PROJECTS DEFINITLY MATTERS

Ans.

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

Add your answer

Q59. Polymorphism and its types

Ans.

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

Add your answer

Q60. OOPS concepts explain in practical manner

Ans.

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

Add your answer

Q61. Explain OOPS pillars

Ans.

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

Add your answer

Q62. What is the process of bank reconciliation?

Ans.

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

Add your answer

Q63. Find duplicate numbers and its count from given list explain logic

Ans.

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

Add your answer

Q64. Find element find elements return types of it if no elements found

Ans.

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

Add your answer

Q65. What is a middleware

Ans.

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

Add your answer

Q66. explain exception handling

Ans.

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

Add your answer

Q67. Copyone array to other without loop use

Ans.

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

Add your answer

Q68. Site an example for Singleton pattern implementation in java

Ans.

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

Add your answer

Q69. What is BIOVIA hub,taskp plan and CISPro?

Add your answer

Q70. What do you know about dassaults Systemes?

Add your answer

Q71. Abstract and Interface difference

Ans.

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

Add your answer

Q72. What are the golden rules of accounting?

Ans.

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.

Add your answer

Q73. What is the order to cash process?

Ans.

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

Add your answer

Q74. What is the difference between Abstract class and Interface

Ans.

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

Add your answer

Q75. Implement Linked List using stack

Ans.

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

Add your answer

Q76. Explain Oops concept

Ans.

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

Add your answer

Q77. Order of Constructor and Destructors called

Ans.

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.

Add your answer

Q78. Diff btw 32 bit and 64 bit OS

Ans.

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

Add your answer

Q79. write a program to check the highest value in an array.

Ans.

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.

Add your answer

Q80. What is GMP , CAPA and deviation?

Add your answer

Q81. Diff between findelement vs findelements

Ans.

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"))

Add your answer

Q82. oops concepts used in framework

Ans.

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

Add your answer

Q83. What does a real account mean?

Ans.

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

Add your answer

Q84. Verification vs Validation?

Ans.

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

Add your answer

Q85. Display The array in reverse

Ans.

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

Add your answer

Q86. Linked List Implementation

Ans.

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

Add your answer

Q87. Projectionofvector on another

Ans.

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

Add your answer

Q88. why Dassault system

Ans.

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

Add your answer

Q89. Sort array without using method

Ans.

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

Add your answer

Q90. Explain OOPs concepts, discussed ach concept in detail.

Ans.

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.

Add your answer

Q91. Sort map entries based on value

Ans.

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

Add your answer

Q92. How to center a div ?

Ans.

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

Add your answer

Q93. Location preferred

Ans.

Remote work preferred, open to occasional travel

  • Remote work preferred

  • Open to occasional travel

  • Flexible with location

Add your answer

Q94. Ant and its travel along a cube.

Ans.

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.

Add your answer

Q95. Tell me something about Oops concepts

Ans.

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.

Add your answer

Q96. Write the implementation class for ArrayList

Ans.

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; ... }

Add your answer

Q97. What are type of network cable

Ans.

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.

View 1 answer

Q98. Reverse a String

Ans.

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

Add your answer

Q99. write a program to increase the version of a file

Ans.

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

Add your answer

Q100. Puzzle of 3 jar

Ans.

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).

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

Interview Process at Ishan Technologies

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

Top Interview Questions from Similar Companies

3.6
 • 1.8k Interview Questions
4.0
 • 245 Interview Questions
3.8
 • 170 Interview Questions
4.2
 • 160 Interview Questions
3.9
 • 135 Interview Questions
View all
Top Dassault Systemes 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