profile pic # Quality Assurance @ undefined
Upvote 0 Downvote
Checking for Duplicates in a List with HashSet Quality Assurance @ IBM Difficulty Medium

You are given a list of customer IDs in a Python list, which might contain duplicates. Write a Python function that uses a HashSet to determine if there are any duplicates in the list.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Types of Authentication in REST API Quality Assurance @ IBM Difficulty Medium

Describe at least three different types of authentication methods commonly used in RESTful APIs. Provide brief explanations and examples of each.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Write a Code to Print All Links from a Web Page Quality Assurance @ IBM Difficulty Easy

Write a Python script using Selenium WebDriver to print all the links (<a> tags) from a web page. The script should open the specified web page, find all the links, and then print out the text and the URL for each link.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
What is Bug Life Cycle? Quality Assurance @ IBM Difficulty Easy

Define the Bug Life Cycle and explain its importance in the software development and testing process. Provide the typical stages involved and briefly describe each stage.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
What Tests Would You Run on an Electric Kettle? Quality Assurance @ IBM Difficulty Medium

Describe the different tests that should be conducted on an electric kettle to ensure its safety, functionality, and user experience. Include functionality, performance, safety, and usability tests.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Palindrome Program in Java Language Quality Assurance @ IBM Difficulty Easy

Write a Java program to check if a given string is a palindrome. A palindrome is a word, number, phrase, or other sequence of characters that reads the same forward and backward (ignoring spaces, punctuation, and capitalization).

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Finding Missing Values in a Dataset Quality Assurance @ IBM Difficulty Medium

Suppose you are working with a SQL database, and you have a table sales_data with columns product_id, region, and sales_amount. You have noticed that there are some missing values in the sales_amount column for certain regions.

Write a SQL query to identify all regions where any sales_amount value is missing.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Reversing a Linked List Quality Assurance @ IBM Difficulty Medium

You are given a singly linked list and you need to write a function in Python to reverse the linked list. Assume the linked list node is defined as follows:

class ListNode:
    def __init__(self, value=0, next=None):
        self.value = value
        self.next = next

Write a function reverse_linked_list that takes the head of the linked list as an argument and returns the new head of the reversed list.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Differences Between List, Set, and Map in Java Collections Quality Assurance @ IBM Difficulty Medium

Describe the differences between List, Set, and Map in Java Collections. Provide examples of common implementations for each type and explain when you would use them.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
What are the Test Cases for a Login Form? Quality Assurance @ IBM Difficulty Medium

List and describe possible test cases for a typical login form. Include both functional and non-functional test cases, covering various scenarios and edge cases.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
How Would You Design a Database? Quality Assurance @ IBM Difficulty Medium

Explain the key steps and considerations in designing a database. Include how you would handle requirements gathering, schema design, normalization, indexing, and ensuring data integrity.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Replacement of String using Regex in Python Quality Assurance @ IBM Difficulty Medium

Explain how to replace parts of a string using regular expressions (regex) in Python. Provide example code demonstrating the use of the re.sub function for this purpose.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Testing a New Plan Package for Telecom Customers Quality Assurance @ IBM Difficulty Medium

Describe your approach to testing a scenario where a telecom provider is launching a new plan package for new customers. Include steps to ensure that old customers are not affected.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Analyzing Data Using SQL Quality Assurance @ IBM Difficulty Medium

Question: You are given a table named Sales with the following structure:

  • Sales:
    • sale_id (INTEGER)
    • product_id (INTEGER)
    • sale_amount (FLOAT)
    • sale_date (DATE)
    • customer_id (INTEGER)

Write an SQL query to find the total sales amount for each product for the month of January 2022. The result should include product_id along with the total sales amount and should be sorted by product_id.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Analysis of Sales Data Using SQL and Power BI Quality Assurance @ IBM Difficulty Medium

You are tasked with analyzing sales data for a retail company using SQL and Power BI. The dataset includes tables for sales transactions, products, and customer information. The goal is to create a comprehensive report that provides insights into sales trends, customer segmentation, and product performance.

  1. Data Extraction and Preparation: Outline the SQL queries you would use to extract relevant data from the sales database. Include how you would join tables to gather information on sales transactions, product details, and customer demographics.

  2. Data Analysis in Power BI: Describe the steps you would take in Power BI to visualize and analyze the extracted data. Include the types of visualizations you would create to showcase sales trends over time, customer purchasing behavior, and regional sales performance.

  3. Insights and Recommendations: Based on your analysis, identify key insights such as top-selling products, customer segments with high purchase frequency, and regions with potential growth opportunities. Provide recommendations on strategies to improve sales and customer engagement based on your findings.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Calling Superclass Methods in Python Quality Assurance @ IBM Difficulty Medium

You are developing a class hierarchy in Python for a financial application. You have a superclass called Transaction with a method process(). You have a subclass called InternationalTransaction that extends Transaction. Override the process() method in InternationalTransaction to perform additional processing but ensure that it still calls the process() method from Transaction.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Selecting Elements with jQuery Based on Attribute Value Quality Assurance @ IBM Difficulty Easy

You are building a web application and need to select all HTML elements that have a specific data attribute using jQuery. Specifically, select all elements with the data attribute data-status equal to active and apply a CSS class highlight to them.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Automating Web Form Submission Using Selenium Quality Assurance @ IBM Difficulty Medium

You are required to automate the submission of a web form using Selenium WebDriver in Python. The form has the following fields:

  • Text input field with id="username"
  • Password input field with id="password"
  • Submit button with id="submit"

Write a Python script using Selenium to fill out the form and submit it, handling potential delays in the page load using WebDriverWait.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Difference Between JDK and JRE Quality Assurance @ IBM Difficulty Easy

Describe the difference between JDK (Java Development Kit) and JRE (Java Runtime Environment). Provide a brief explanation of each and explain when you would use one over the other.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Handling Pop-ups in Selenium Quality Assurance @ IBM Difficulty Medium

Write a code snippet in Python to handle pop-up windows using Selenium WebDriver. The code should demonstrate how to switch to the pop-up, perform an action such as accepting or dismissing it, and then switch back to the main window.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
What is Regression Testing? Quality Assurance @ IBM Difficulty Easy

Define Regression Testing and explain its importance in the software testing lifecycle. Provide examples of when and why it should be conducted.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
How Can We Check if There is a Loop in a Linked List? Quality Assurance @ IBM Difficulty Medium

Describe the method to check if there is a loop in a linked list. Provide the algorithm and example code in Python.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Identifying Unused Python Modules in a Project Quality Assurance @ IBM Difficulty Medium

You are working on a Python project with several modules and packages. Over time, some modules may become obsolete and unused. How would you identify all the unused modules in the project?

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Creating and Starting Threads in Java Quality Assurance @ IBM Difficulty Medium

Explain two ways to create and start threads in Java. Provide a brief explanation and example code for each method.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Handling Exceptions in Java Quality Assurance @ IBM Difficulty Medium

Explain how exceptions are handled in Java. Provide a brief explanation of the different types of exceptions and include example code demonstrating the use of try, catch, and finally blocks.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Write a Program to Reverse a String Quality Assurance @ IBM Difficulty Easy

Write a program in Python to reverse a given string. The program should take a string as input and return the reversed string as output.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
What is Exploratory Testing? Quality Assurance @ IBM Difficulty Easy

Define Exploratory Testing and explain its importance in the software testing lifecycle. Provide examples of when and how it can be effectively used.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
What is Integration Testing? Quality Assurance @ IBM Difficulty Medium

Define Integration Testing and explain its importance in the software development lifecycle. Describe the different approaches to integration testing and provide examples of when and why it should be conducted.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
What are the OOP Methods? Quality Assurance @ IBM Difficulty Medium

Explain the core Object-Oriented Programming (OOP) methods. Provide definitions and examples for each of the primary methods: encapsulation, inheritance, polymorphism, and abstraction.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Performance Testing, Testing Tools, and Experience in Automation Quality Assurance @ IBM Difficulty Medium

Discuss the importance of performance testing, tools commonly used for performance testing, and your experience in automation testing.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Explain How Burn-In Works Quality Assurance @ IBM Difficulty Medium

Describe what the burn-in process is, its importance, and how it is typically conducted. Include examples of where burn-in testing is used and the benefits it provides.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
What is Security Testing? Quality Assurance @ IBM Difficulty Medium

Define Security Testing and explain its importance in the software development lifecycle. Describe the common types of security testing and provide examples of techniques and tools used in security testing.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Difference Between Severity and Priority? Quality Assurance @ IBM Difficulty Easy

Explain the difference between severity and priority in the context of software testing. Provide examples of test cases where you might have high priority and low severity, and low priority and high severity.

Solution:

Please sign-in to view the solution