Implement an object counter using Python classes and static method.
Senior Software Quality Engineer Interview Questions
555 senior software quality engineer interview questions shared by candidates
How you can test a refrigerator?
a) Algorithm questions Armstrong Number and Anagram b) Questions on Testing framework and how to manage the script if it is taking a lot of time. c) Other basic Selenium related questions.
a) Algorithm questions --> Find first non-repeating character in a string using normal iterative method and then using a HashSet. I used LinkedHashSet --> this was the tricky part. Just go through the use of LinkedHashSet. b) Questions on testing on mobile and Desktop. c) TestNG and Selenium based questions.
Join a few tables in SQL, reverse a string, describe postman error codes, etc.
1. how will you manage when there is high stress at work 2. How will you fix conflicts with developers 3.sql queries -distinct on multiple columns, duplicates on 3 fields -how will you display distinct on all 3 fields, replace null with '4' without using update -using select query 4. Failed in production, passed in test -how will you handle this as a QA member 5. 1 million records ,but 100K mising in destination table, how will you find where its missing . 6. Agile/JIRA 7. unique creative way of doing wokr-in past with eg
Programming related medium difficulty + unix commands.
What is Abstraction and Interfaces? Differences ? Why one is better preferred and why?
Write test cases for this below code? class Product { private String name; private double price; public Product(String name, double price) { this.name = name; this.price = price; } public String getName() { return name; } public double getPrice() { return price; } } class ShoppingCart { private List items; public ShoppingCart() { items = new ArrayList<>(); } public void addItem(Product product) { items.add(product); } public List getItems() { return items; } public double calculateTotal() { double total = 0; for (Product item : items) { total += item.getPrice(); } return total; } } class DiscountManager { public double applyDiscount(ShoppingCart cart, double discountRate) { double total = cart.calculateTotal(); return total * (1 - discountRate); } } public class Main { public static void main(String[] args) { Product product1 = new Product("Laptop", 1000); Product product2 = new Product("Mouse", 20); ShoppingCart cart = new ShoppingCart(); cart.addItem(product1); cart.addItem(product2); DiscountManager discountManager = new DiscountManager(); double discountedPrice = discountManager.applyDiscount(cart, 0.1); System.out.println("Discounted price: " + discountedPrice); } }
What is Transient keyword in Java?
Viewing 181 - 190 interview questions