i
Wissen Technology
Filter interviews by
I applied via LinkedIn and was interviewed in Apr 2024. There was 1 interview round.
Java program to count vowels in a string
Create a method that takes a string as input
Use a loop to iterate through each character in the string
Check if the character is a vowel (a, e, i, o, u) and increment a counter
Return the counter as the result
Xpath for Google search button
Use the following Xpath: //input[@name='btnK']
The 'btnK' is the name attribute of the Google search button
Make sure to test the Xpath in a browser console to ensure accuracy
OOPS concept 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: 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 detail
Implicit and Explicit waits are used in Selenium to handle synchronization issues in web automation testing.
Implicit wait is used to tell the WebDriver to wait for a certain amount of time before throwing a NoSuchElementException.
Explicit wait is used to tell the WebDriver to wait for a certain condition to occur before proceeding further.
Implicit wait is set globally for the entire WebDriver instance, while explicit w...
In software testing, 'throw' is used to raise an exception, while 'throws' is used to declare exceptions that a method may throw.
throw is used to raise an exception in a program
throws is used in method signature to declare exceptions that the method may throw
throw is a keyword in Java, while throws is a keyword used in method declaration
Solving a pseudo code problem in an interview for Junior Engineer - Quality Assurance
Understand the logic of the pseudo code provided
Identify the variables and operations being performed
Write the code in a programming language of your choice to solve the problem
Test the code with different inputs to ensure it works correctly
I applied via Monster and was interviewed in May 2024. There was 1 interview round.
To select the 3rd highest salary from the employee table, you can use a SQL query with the 'LIMIT' and 'OFFSET' keywords.
Use a SQL query like 'SELECT salary FROM employee ORDER BY salary DESC LIMIT 1 OFFSET 2' to get the 3rd highest salary.
The 'ORDER BY' clause sorts the salaries in descending order, 'LIMIT 1' limits the result to 1 row, and 'OFFSET 2' skips the first two rows.
Make sure to adjust the 'OFFSET' value if
Put is used to create or replace a resource, while patch is used to update a resource partially.
Put is idempotent, meaning multiple identical requests will have the same effect as a single request
Patch is not idempotent, as multiple identical requests may have different effects
Put requires the client to send the entire updated resource, while patch only requires the specific changes to be sent
The == operator checks for reference equality, while the equals method checks for value equality in strings.
Use == to check if two string variables refer to the same object in memory.
Use equals() method to check if two string variables have the same sequence of characters.
Example: String str1 = "hello"; String str2 = "hello"; str1 == str2 will return false, but str1.equals(str2) will return true.
String can be declared using double quotes, single quotes, or the String constructor.
Declare using double quotes: String str1 = "Hello";
Declare using single quotes: String str2 = 'World';
Declare using String constructor: String str3 = new String("Java");
String builder is not synchronized, while String buffer is synchronized.
String builder is faster than String buffer because it is not synchronized.
String buffer is thread-safe, while String builder is not.
String builder is preferred for single-threaded applications, while String buffer is preferred for multi-threaded applications.
Convert array to ArrayList of strings
Create a new ArrayList
Use Arrays.asList() method to convert array to ArrayList
Example: String[] array = {"apple", "banana", "orange"}; ArrayList
posted on 6 Nov 2018
The question asks to count the number of occurrences of each character in a given string, ignoring case and wild card characters.
Convert the string to lowercase to ignore case.
Remove any wild card characters from the string.
Create an array of size 26 to store the count of each character.
Iterate through each character in the string and increment the count in the array accordingly.
Return the array of counts as the result
HashMap is used for efficient key-value pair storage and retrieval.
HashMap provides constant time complexity for basic operations like get and put.
It allows storing unique keys and their corresponding values.
HashMap is suitable for scenarios where fast lookup is required.
Other collections like ArrayList or LinkedList have different use cases and performance characteristics.
based on 1 interview
Interview experience
Senior Software Engineer
554
salaries
| ₹10.6 L/yr - ₹35 L/yr |
Software Engineer
537
salaries
| ₹5.5 L/yr - ₹23 L/yr |
Principal Engineer
256
salaries
| ₹16 L/yr - ₹42 L/yr |
Associate Software Engineer
152
salaries
| ₹5.5 L/yr - ₹16 L/yr |
Senior Principal Engineer
131
salaries
| ₹22 L/yr - ₹48 L/yr |
Wissen Infotech
TCS
Infosys
Wipro