coding puzzles
Sr Qa Engineer Interview Questions
5,814 sr qa engineer interview questions shared by candidates
Introduce yourself.. What do you understand by the job profile ? What are financial statement ? What is earing per share ?
Any Instance when you did something without asking for it.
QA related questions and some technical questions.
What is TCP/IP? What is http?
Questions about ports and firewalls.
Programming related medium difficulty + unix commands.
Why are looking for change Basic Questions on Testing and SQL
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); } }
Viewing 1821 - 1830 interview questions