Cybage
100+ QaaS Labs Interview Questions and Answers
You have been given a number of stairs. Initially, you are at the 0th stair, and you need to reach the Nth stair. Each time you can either climb one step or two steps. You are...read more
Take two numbers as input and swap them and print the swapped values.
Input Format:
The first line of input contains a single integer 't', representing the total number of test cases. The second...read more
How many types of memory areas are allocated by JVM?
What is the purpose of using @ComponentScan in the class files?
What is the starter dependency of the Spring boot module?
What are the various access specifiers in Java?
You are given an array consisting of 'N' positive integers where each integer is either 0 or 1 or 2. Your task is to sort the given array in non-decreasing order.
Note :
1. The array consists of only ...read more
Write a query that joins two tables A and B having common attribute ID and selects records(ID_NAME) that have
matching ID values in both tables .
What is the difference between JDK, JRE, and JVM?
What do you mean by data encapsulation?
What are the concurrency strategies available in hibernate?
Q12. What is Web API (applicaation programming interfeace) ?
Web API is a set of protocols and tools for building software applications that communicate with each other through the internet.
Web API allows different software applications to communicate with each other over the internet.
It uses a set of protocols and tools to enable this communication.
Web API is commonly used in web development to allow web applications to interact with each other.
Examples of Web APIs include Google Maps API, Twitter API, and Facebook API.
Q13. How to skip first 10 and last 10 rows in excel source and send to destination
Skip first and last 10 rows in Excel source and send to destination
Use a library like Apache POI or OpenXML to read and write Excel files
Identify the range of rows to be skipped using row numbers or cell values
Copy the remaining rows to a new Excel file or sheet and save it as destination
Can we override or replace the Embedded tomcat server in Spring Boot?
What command can be run to import a pre-exported Docker image into another Docker host?
What is hibernate caching?
Given an Employee Table, find the Nth highest salary from it.
Q18. What is the Hashmap in Java? Hashmap vs Lists
Hashmap is a data structure in Java that stores key-value pairs. It provides fast retrieval and insertion of elements.
Hashmap uses hashing to store and retrieve elements based on keys
It allows null values and only one null key
Lists are ordered collections while Hashmap is not
Lists allow duplicate elements while Hashmap does not
Q19. What is Diamond structure problem and how can it be resolved
Diamond structure problem occurs when a class inherits from two classes that have a common base class.
Diamond structure problem is a common issue in multiple inheritance where a class inherits from two classes that have a common base class.
This can lead to ambiguity in the inheritance hierarchy and can cause issues with method overriding and variable access.
One way to resolve the diamond structure problem is by using virtual inheritance, where the common base class is inherit...read more
Can the static methods be overridden?
Differentiate between HashSet and TreeSet. When would you prefer TreeSet to HashSet?
Q22. Write program to count frequencyOfChars(String inputStr) ex. abbcddda a:2 b:2 c:1 d:3 Write program to isPowerOf3(int n) ex. 3->true 27->true 30->false Write SQL query of Emp (emp_id, name) Country Sal (emp_id,...
read morePrograms to count frequency of characters in a string, check if a number is power of 3, and SQL query to get highest salary employees by country.
For frequencyOfChars, use a HashMap to store character counts and iterate through the string.
For isPowerOf3, keep dividing the number by 3 until it becomes 1 or not divisible by 3.
For SQL query, use a subquery to get max salary for each country and join with Emp table.
Example SQL query: SELECT e1.* FROM Emp e1 JOIN (SELECT Country, M...read more
Q23. Which code segement starts jquery execution?
The code segment that starts jquery execution is $(document).ready(function(){...});
$() is a shorthand for jQuery() function
document refers to the HTML document object
ready() method waits for the document to be fully loaded
function(){} is the code block that executes when the document is ready
Q24. Interface vs abstract class whats the difference
Interface defines only method signatures while abstract class can have both method signatures and implementations.
An interface can be implemented by multiple classes while an abstract class can only be extended by one class.
An abstract class can have constructors while an interface cannot.
An abstract class can have non-abstract methods while an interface can only have abstract methods.
An abstract class can have instance variables while an interface cannot.
Example of interface...read more
Q25. What is the need for SpringBoot?
SpringBoot is a framework that simplifies the development of Java applications by providing a lightweight, opinionated approach.
SpringBoot eliminates the need for boilerplate code and configuration, allowing developers to focus on writing business logic.
It provides a wide range of built-in features and libraries, such as embedded servers, dependency management, and auto-configuration.
SpringBoot promotes modular and scalable application development through its support for micr...read more
What do you know about JIT Compiler?
What Are the Basic Annotations that Spring Boot Offers?
Q28. How do you handle error in MVC?
Errors in MVC can be handled using try-catch blocks, custom error pages, and logging.
Use try-catch blocks to catch exceptions and handle them appropriately
Create custom error pages to display user-friendly error messages
Implement logging to track errors and debug issues
Use ModelState.IsValid to validate user input and prevent errors
Use global error handling filters to handle errors across the application
Q29. What are security settings in IIS?
Security settings in IIS are configurations that help protect web applications from unauthorized access and attacks.
IIS Manager allows for configuring security settings for websites and applications
Authentication settings can be configured to control access to resources
IP and domain restrictions can be set to allow or deny access to specific clients
SSL/TLS settings can be configured to encrypt traffic between clients and servers
Request filtering can be used to block requests ...read more
What are the advantages of Packages in Java?
How would you differentiate between a String, StringBuffer, and a StringBuilder?
Q32. What is application pool in IIS?
Application pool is a container for applications hosted on IIS.
It provides a separate process and memory space for each application.
It helps in isolating applications from each other.
It allows for better resource management and application availability.
It can be configured with different settings like .NET framework version, identity, etc.
Why are Java Strings immutable in nature?
Q34. What is difference between abstract class and interface.
Abstract class can have implementation while interface only has method signatures.
Abstract class can have constructors while interface cannot.
A class can implement multiple interfaces but can only inherit from one abstract class.
Abstract class can have non-public members while interface only has public members.
Abstract class is used for creating a base class while interface is used for implementing a contract.
Example of abstract class: Animal (with abstract method 'makeSound'...read more
Why Java is platform independent and JVM platform dependent?
What is Garbage collector in JAVA?
What does the @SpringBootApplication annotation do internally?
What is dependency Injection?
Describe the lifecycle of Docker Container?
Q40. What is server side validation?
Server side validation is the process of validating user input on the server before processing it.
It ensures that the data received from the client is valid and secure.
It prevents malicious attacks and data breaches.
It reduces the load on the client-side and improves performance.
Examples include checking for required fields, data type, length, and format.
It is an essential part of web application security.
List the most commonly used instructions in Dockerfile.
Q42. Why use Advanced Java?
Advanced Java is used to develop complex and high-performance applications that require advanced features and functionalities.
Advanced Java provides advanced features like multithreading, networking, and database connectivity.
It allows for the development of robust and scalable enterprise applications.
Advanced Java frameworks like Spring and Hibernate simplify application development.
It enables the creation of secure and efficient web applications.
Advanced Java is widely used...read more
Q43. Different keys sql , use of surrogate key
SQL keys and use of surrogate key
SQL keys are used to uniquely identify records in a table
Primary key is a unique identifier for a record
Foreign key is a reference to a primary key in another table
Surrogate key is a system-generated unique identifier for a record
Surrogate keys are useful when there is no natural primary key
Q44. What make you interested in coding?
I am fascinated by the problem-solving aspect of coding and the ability to create something from scratch.
Enjoy the challenge of solving complex problems
Love the creativity involved in building something new
Appreciate the logical thinking required in coding
Passionate about technology and innovation
Q45. Which Angular version have you used
I have used Angular version 8 and 9 in my previous projects.
Used Angular 8 for a project that required advanced routing and lazy loading features
Upgraded to Angular 9 to take advantage of improved performance and Ivy rendering engine
Q46. 2. Tell what you know about Cyabge.
Cybage is a global technology consulting organization specializing in outsourced product engineering services.
Founded in 1995 and headquartered in Pune, India
Provides software development, testing, and maintenance services
Has a presence in North America, Europe, and Asia-Pacific regions
Serves industries such as healthcare, retail, banking, and finance
Has partnerships with companies like Microsoft, IBM, and Amazon Web Services
Q47. What are action filters?
Action filters are attributes that can be applied to controller actions to modify the way they behave.
Action filters are used to perform tasks before or after an action method executes.
They can be used to modify the result of an action method.
Examples include authentication filters, caching filters, and exception filters.
Q48. What is media type formatters?
Media type formatters are used to serialize and deserialize data in Web API.
Media type formatters are responsible for converting data between CLR objects and their serialized representation.
They are used in Web API to format the response data based on the client's request.
Examples of media type formatters include JSON, XML, and BSON.
Developers can create custom media type formatters to support other data formats.
Q49. What is react? What is css? What is redux?
React is a JavaScript library for building user interfaces. CSS is a styling language used to design web pages. Redux is a predictable state container for JavaScript apps.
React is used for building reusable UI components
CSS is used to style and layout web pages
Redux is used for managing the state of an application
React and Redux are often used together to build complex web applications
Differentiate between ArrayList and Vector in Java.
Explain SOLID principles in Object Oriented Design .
Q52. What is attribute handling?
Attribute handling refers to the management and manipulation of attributes in software development.
Attributes are characteristics or properties of an object or entity.
Attribute handling involves defining, accessing, modifying, and deleting attributes.
Attributes can be used to store data, control behavior, or provide metadata.
Examples of attribute handling include setting the color of a button, retrieving the size of a file, or changing the font of a text.
Attribute handling is...read more
Q53. What is serialization?
Serialization is the process of converting an object into a format that can be stored or transmitted.
Serialization is used to save the state of an object and recreate it later.
It is commonly used in network communication to transmit data between different systems.
Examples of serialization formats include JSON, XML, and binary formats like Protocol Buffers.
Serialization can also be used for caching and data persistence.
Q54. What is selector method?
Selector method is used to select and manipulate elements in a web page using CSS selectors.
Selector method is a part of CSS (Cascading Style Sheets).
It is used to select and manipulate HTML elements based on their attributes, classes, and IDs.
Examples of selector methods include getElementById(), getElementsByClassName(), and querySelectorAll().
Q55. Ssis checkpoint and breakpoint use
SSIS checkpoint and breakpoint are used for debugging and error handling in SSIS packages.
Checkpoint saves the package progress and restarts from the last successful checkpoint in case of failure.
Breakpoint pauses the package execution at a specific point to allow debugging and troubleshooting.
Both can be set at the package level or individual task level.
Checkpoint uses a checkpoint file to store the progress information.
Breakpoint can be set by right-clicking on a task and s...read more
Q56. What do you know about Cybage?
Cybage is a global technology consulting organization specializing in outsourced product engineering services.
Cybage is a global technology consulting organization
Specializes in outsourced product engineering services
Offers services in software development, testing, and maintenance
Has expertise in various domains including healthcare, finance, and retail
Has a strong focus on quality and customer satisfaction
What are the differences between a class component and functional component?
How can we structure the top level directories in Redux?
Q59. What is Delegate and what are the types?
Delegate is a type that represents references to methods with a specific parameter list and return type.
Delegates are similar to function pointers in C++.
They are used to achieve loose coupling and separation of concerns.
There are two types of delegates: singlecast and multicast.
Singlecast delegates can hold references to a single method.
Multicast delegates can hold references to multiple methods.
Delegates are commonly used in event handling and callback scenarios.
Q60. What is CORS in microservices
CORS (Cross-Origin Resource Sharing) is a security feature that allows or restricts access to resources from different domains.
CORS is used to prevent unauthorized access to resources from different domains
It is implemented by adding specific headers to HTTP responses
CORS can be configured to allow or restrict access based on the origin domain
Examples of CORS headers include Access-Control-Allow-Origin and Access-Control-Allow-Methods
Q61. Explain what is LINQ?
LINQ (Language Integrated Query) is a feature in C# that allows for querying data from different data sources using a uniform syntax.
LINQ allows for querying data from collections, databases, XML, and more.
It provides a set of standard query operators like Where, Select, OrderBy, etc.
LINQ queries are written in a declarative syntax similar to SQL.
Example: var result = from num in numbers where num % 2 == 0 select num;
Q62. Different types of joins in SQL
Different types of joins in SQL include inner join, left join, right join, and full outer join.
Inner join: Returns rows when there is a match in both 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
Full outer join: Returns rows when there is a match in either table
Q63. What is REST? Explain Post
REST stands for Representational State Transfer, a software architectural style for designing networked applications.
REST is based on the idea of treating server objects as resources that can be created, updated, and deleted using standard HTTP methods.
It uses a stateless communication protocol, meaning each request from a client to a server must contain all the information necessary to understand the request.
RESTful APIs typically use endpoints to represent resources, with e...read more
Q64. What is custom middleware in .net core
Custom middleware in .NET Core is a piece of code that sits between the request and response pipeline to perform custom operations.
Custom middleware can be used to add custom headers, logging, authentication, and authorization to the request pipeline.
Middleware can be added to the pipeline using the Use() method in the Startup.cs file.
Middleware can be created using classes that implement the IMiddleware interface or by using lambda expressions.
Middleware can be ordered in th...read more
Q65. What are OOPS Concepts ?
OOPS Concepts are fundamental principles of Object-Oriented Programming, including 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 details and showing only the necessary features.
Q66. Different between spring and springboot.
Spring is a framework for building Java applications, while Spring Boot is a tool for quickly creating Spring-based applications.
Spring provides a comprehensive framework for building Java applications, while Spring Boot is a tool that simplifies the process of creating Spring-based applications.
Spring requires more configuration and setup, while Spring Boot provides a more streamlined approach.
Spring Boot includes an embedded server, making it easier to deploy and run applic...read more
What are stateless and stateful components?
Q68. Difference Between temp table and table variable
Temp table is stored in tempdb and table variable is stored in memory.
Temp table is created using CREATE TABLE statement and can be accessed by multiple sessions.
Table variable is created using DECLARE statement and can only be accessed within the scope of the batch or procedure.
Temp table can have indexes and statistics while table variable cannot.
Temp table is useful for large data sets while table variable is useful for small data sets.
Temp table can be used in transaction...read more
Q69. Talk for 5 mins on any given topic.
Discussing the impact of artificial intelligence on society
Introduction to artificial intelligence and its applications
Positive impacts of AI on society such as improved healthcare and efficiency
Negative impacts of AI like job displacement and privacy concerns
Ethical considerations in AI development and usage
Future implications of AI on society
Explain promises and it's 3 states .
Q71. What is dataflow of react
React dataflow is unidirectional, from parent to child components via props and from child to parent via callbacks.
React follows a unidirectional data flow architecture.
Parent components pass data down to child components via props.
Child components can update the parent's state via callbacks.
This helps to maintain a clear and predictable flow of data throughout the application.
Redux can be used to manage more complex data flows.
Q72. How to recover data from hdd if hdd is affected from virus ?
To recover data from a virus-infected HDD, isolate the HDD, scan it with antivirus software, and use data recovery tools if necessary.
Disconnect the infected HDD from the computer to prevent further spread of the virus
Connect the HDD to a clean and secure computer as a secondary drive
Run a thorough antivirus scan on the infected HDD to remove the virus
If the antivirus scan doesn't recover the data, use data recovery software like Recuva, TestDisk, or EaseUS Data Recovery Wiza...read more
What is a higher order function
Q74. explain oops concept also mvc architech
OOPs concept focuses on objects and classes, while MVC architecture separates the application into Model, View, and Controller components.
OOPs concept involves encapsulation, inheritance, polymorphism, and abstraction.
MVC architecture separates the application logic into Model (data), View (presentation), and Controller (interaction) components.
Example of OOPs concept: Creating a class 'Car' with properties like 'color' and methods like 'drive'.
Example of MVC architecture: A ...read more
Q76. Introduce yourself How to handle username and password popup in selenium? Explain the framework used in your project? How to handle the frames? How to switch to another tab? Relative and absolute xpath TestNG q...
read moreAnswering questions related to QA Automation Engineer interview
To handle username and password popup, use sendKeys() method to enter the credentials
To handle frames, use switchTo().frame() method
To switch to another tab, use switchTo().window() method
Relative xpath starts with '//' and searches for elements based on their relationship with other elements
Absolute xpath starts with '/' and searches for elements based on their exact location in the HTML tree
TestNG is a testing f...read more
How Relay is different from Redux?
Q78. Types of join in sql
Types of join in SQL
Inner join: returns only the matching rows from both tables
Left join: returns all rows from the left table and matching rows from the right table
Right join: returns all rows from the right table and matching rows from the left table
Full outer join: returns all rows from both tables
Cross join: returns the Cartesian product of both tables
Q79. what is interface
An interface is a contract that defines a set of methods that a class must implement.
An interface provides a way to achieve multiple inheritance in Java.
Interfaces are used to achieve abstraction and loose coupling.
Classes can implement multiple interfaces.
Interfaces can have default methods and static methods.
Example: The Comparable interface in Java is used to compare objects.
Q80. 4) What are the ways we through can submit the data in powerapps
Data can be submitted in PowerApps through various ways.
Using SubmitForm function
Using Patch function
Using Update function
Using Collect function
Using a custom connector
Using a data gateway
Using a flow
Using a REST API
Q81. Explain oops concepts
OOPs concepts are fundamental principles in object-oriented programming that help in organizing and designing code.
Encapsulation: Bundling data and methods that operate on the data into a single unit (class).
Inheritance: Allowing a class to inherit properties and behavior from another class.
Polymorphism: The ability of objects to take on multiple forms or have multiple behaviors.
Abstraction: Hiding complex implementation details and showing only the necessary features of an o...read more
Q82. Reverse an array code
Reverse an array of strings in place
Iterate through half of the array and swap elements at opposite ends
Use a temporary variable to store the value being swapped
Q83. What is need of spring boot What is actuator, query param, http methods
Spring Boot is a framework that simplifies the development of Java applications by providing a set of tools and conventions.
Spring Boot eliminates the need for complex configuration by providing defaults for most settings.
Actuator is a set of tools provided by Spring Boot for monitoring and managing the application.
Query param is used to pass parameters in the URL of an HTTP request.
HTTP methods like GET, POST, PUT, DELETE are used to perform different operations on resources...read more
Q85. What is polymorphism
Polymorphism is the ability of a function or method to behave differently based on the object it is acting upon.
Polymorphism allows objects of different classes to be treated as objects of a common superclass.
It enables a single interface to be used for different data types.
Examples include method overloading and method overriding in object-oriented programming.
Q86. Wrapper classes in java
Wrapper classes are used to convert primitive data types into objects.
Wrapper classes provide methods to convert primitive data types into objects and vice versa
Wrapper classes are immutable
Wrapper classes are used in collections and generics
Examples of wrapper classes include Integer, Double, Boolean, etc.
Q87. Abstract vs interface
Abstract classes are partially implemented classes while interfaces are fully abstract classes.
Abstract classes can have both implemented and abstract methods while interfaces can only have abstract methods.
A class can implement multiple interfaces but can only inherit from one abstract class.
Abstract classes can have constructors while interfaces cannot.
Interfaces are used for achieving multiple inheritance in Java.
Abstract classes are used for creating a base class for othe...read more
Q88. Explain collection framework.
Collection framework in Java provides a set of interfaces and classes to store and manipulate groups of objects.
Provides interfaces like List, Set, and Map for different types of collections
Classes like ArrayList, HashSet, and HashMap implement these interfaces
Allows easy manipulation and iteration over collections
Provides algorithms like sorting and searching for collections
Introduced in Java 1.2
Q89. What is your thought on cybage?
Cybage is a global technology consulting organization specializing in outsourced product engineering services.
Cybage has a strong focus on software engineering and product development.
They have a global presence with offices in North America, Europe, and Asia.
Cybage has expertise in various industries including healthcare, retail, and finance.
They have won several awards for their work in software engineering and innovation.
Q90. Why do you think React is better than Angular
React is better than Angular due to its flexibility, performance, and community support.
React allows for more flexibility in terms of architecture and state management compared to Angular.
React's virtual DOM leads to better performance by only updating the necessary components, while Angular's two-way data binding can cause performance issues.
React has a larger and more active community, providing better support and a wider range of resources compared to Angular.
Q91. 2) What is content query web part in sharepoint online
Content Query Web Part is a Sharepoint Online tool that displays content from multiple sites in a single location.
Displays content from multiple sites in a single location
Can be customized to show specific content based on filters
Can be used to create dynamic navigation menus
Can be used to display news or announcements from across the organization
Q92. Containers in SSIS
Containers in SSIS are used to group related tasks and provide a logical flow for the package.
Containers can be used to group tasks into a single unit of work
There are several types of containers in SSIS, including Sequence, For Loop, and Foreach Loop
Containers can be nested to create complex workflows
Containers can have precedence constraints to control the order in which tasks are executed
Q97. 5) What is delegation & gallary controls in sharepoint
Delegation allows users to assign tasks to others. Gallery controls are used to display images and videos.
Delegation is a feature that allows users to assign tasks to others, giving them the ability to complete the task on behalf of the original user.
Gallery controls are used to display images and videos in a visually appealing way, allowing users to easily browse and view content.
Examples of gallery controls include the Picture Library Slideshow Web Part and the Media Web Pa...read more
Q98. Strings in Java
Strings in Java are sequences of characters used to store and manipulate text data.
Strings in Java are immutable, meaning their values cannot be changed once they are created.
String objects can be created using the 'new' keyword or by directly assigning a string literal.
Common string operations in Java include concatenation, substring extraction, and comparison.
Q99. Pipes in Angular
Pipes in Angular are used for transforming data in templates.
Pipes are used to format data before displaying it in the view.
Angular provides built-in pipes like date, currency, uppercase, lowercase, etc.
Custom pipes can also be created for specific formatting needs.
Pipes can be chained together for multiple transformations.
Example: {{ birthday | date:'MM/dd/yyyy' }} will format the birthday date.
Q100. Queries using joins in SQL
Joins in SQL are used to combine data from two or more tables based on a related column.
Joins are used to retrieve data from multiple tables in a single query.
Common types of joins include inner join, left join, right join, and full outer join.
Join conditions are specified using the ON keyword and can include multiple conditions.
Aliases can be used to simplify the syntax of join queries.
Joins can be nested to combine data from more than two tables.
Interview Process at QaaS Labs
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month