Add office photos
Employer?
Claim Account for FREE

Mphasis

3.4
based on 7.8k Reviews
Filter interviews by

Samsung E&A Interview Questions and Answers

Updated 9 Sep 2024
Popular Designations

Q1. What are the locators in selenium, Write xpath for given element Diff between find element and findelements What is smoke sanity and regression testing Black box and white box testing difference Defect life cyc...

read more
Ans.

Answers to common interview questions for Software Test Engineer position

  • Locators in Selenium are used to locate elements on a web page, such as ID, name, class name, tag name, link text, and XPath

  • Example of XPath for an element: //input[@id='username']

  • findElement() is used to find a single element on a web page, while findElements() is used to find multiple elements

  • Smoke testing is a preliminary testing to check if the software build is stable enough for further testing, San...read more

Add your answer

Q2. Write a code to reverse a string

Ans.

Code to reverse a string using array of characters

  • Create an array of characters from the input string

  • Use two pointers to swap characters at opposite ends of the array until they meet

  • Convert the array back to a string and return

Add your answer

Q3. when we use final keyword

Ans.

The final keyword is used in Java to declare constants, prevent method overriding, and prevent class inheritance.

  • Used to declare constants - value cannot be changed

  • Prevents method overriding in subclasses

  • Prevents class inheritance - class cannot be extended

Add your answer

Q4. What is software testing

Ans.

Software testing is the process of evaluating a software application or system to find defects and ensure it meets the specified requirements.

  • Software testing involves executing software applications or systems to identify defects and ensure they meet the specified requirements.

  • It is done to ensure that the software is reliable, efficient, and meets the user's needs.

  • Testing can be done manually or using automated tools.

  • Types of testing include functional, performance, securit...read more

Add your answer
Discover Samsung E&A interview dos and don'ts from real experiences

Q5. How you test in detail

Ans.

I follow a structured approach to testing, including planning, designing test cases, executing them, and reporting defects.

  • I start by analyzing requirements and identifying test scenarios

  • I design test cases and prioritize them based on risk and impact

  • I execute test cases and report defects using a bug tracking tool

  • I perform regression testing to ensure fixes do not introduce new issues

  • I use automation tools to increase efficiency and coverage

  • I collaborate with developers and ...read more

Add your answer

Q6. Write the code for abstraction

Ans.

Abstraction in programming is the concept of hiding the implementation details and showing only the necessary features of an object.

  • Abstraction can be achieved in programming languages like Java using abstract classes and interfaces.

  • Abstract classes are classes that cannot be instantiated and may contain abstract methods that must be implemented by subclasses.

  • Interfaces define a contract for classes to implement, without providing any implementation details.

  • Example: abstract ...read more

Add your answer

Q7. what is constructor

Ans.

A constructor is a special type of method that is automatically called when an object is created in a class.

  • Constructors have the same name as the class they are in.

  • They can be used to initialize object properties.

  • Constructors do not have a return type.

  • Example: public class Car { public Car() { // constructor code here } }

Add your answer

Q8. Explain OOPS concept in detail

Ans.

OOPS is a programming paradigm based on the concept of objects, which can contain data in the form of fields and code in the form of procedures.

  • OOPS stands for Object-Oriented Programming System

  • It focuses on creating objects that interact with each other to solve a problem

  • Key principles include encapsulation, inheritance, polymorphism, and abstraction

  • Encapsulation: Bundling data and methods that operate on the data into a single unit

  • Inheritance: Allows a class to inherit prop...read more

Add your answer

Q9. Type of joins in SQL

Ans.

Types of joins in SQL include inner join, outer join, left join, and right join.

  • Inner join: Returns rows when there is a match in both tables

  • Outer join: Returns all rows when there is a match in one of the tables

  • Left join: Returns all rows from the left table and the matched rows from the right table

  • Right join: Returns all rows from the right table and the matched rows from the left table

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Softwaretest Engineer Interview Questions from Similar Companies

4.5
 • 23 Interview Questions
3.5
 • 16 Interview Questions
3.6
 • 14 Interview Questions
4.0
 • 13 Interview Questions
3.7
 • 13 Interview Questions
3.8
 • 11 Interview Questions
View all
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