Cloud Analogy
30+ QualityKiosk Technologies Interview Questions and Answers
Q1. Count Good Subsets Problem Statement
Given an array ARR
of size N
consisting of distinct elements, your task is to determine the total number of good subsets. A subset is considered a good subset if the element...read more
Count the total number of good subsets in an array where elements can be rearranged to divide the next element.
Iterate through all possible subsets of the array.
Check if each subset is a good subset by rearranging elements to divide the next element.
Count the number of good subsets and return the total count.
Q2. Ways To Make Coin Change
Given an infinite supply of coins of varying denominations, determine the total number of ways to make change for a specified value using these coins. If it's not possible to make the c...read more
The task is to find the total number of ways to make change for a specified value using given denominations.
Use dynamic programming to solve this problem efficiently.
Create a 2D array to store the number of ways to make change for each value up to the specified value.
Iterate through each denomination and update the array accordingly.
The final answer will be stored in the last cell of the array.
Example: For N=3, D=[1, 2, 3], V=4, the output is 4 as there are 4 ways to make cha...read more
Q3. Reverse Linked List Problem Statement
Given a singly linked list of integers, return the head of the reversed linked list.
Example:
Initial linked list: 1 -> 2 -> 3 -> 4 -> NULL
Reversed linked list: 4 -> 3 -> 2...read more
Reverse a singly linked list of integers and return the head of the reversed linked list.
Iterate through the linked list and reverse the pointers to point to the previous node.
Keep track of the current, previous, and next nodes while reversing the linked list.
Update the head of the reversed linked list as the last node encountered during reversal.
Q4. Count Subsequences Problem Statement
Given an integer array ARR
of size N
, your task is to find the total number of subsequences in which all elements are equal.
Explanation:
A subsequence of an array is derive...read more
The task is to find the total number of subsequences in which all elements are equal in an integer array.
Iterate through the array and count the frequency of each element.
For each element, calculate the number of subsequences with all elements equal using the formula (frequency * (frequency - 1) / 2).
Sum up the counts for all elements and return the result modulo 10^9 + 7.
Q5. Star Pattern Generation
Develop a function to print star patterns based on the given number of rows 'N'. Each row in the pattern should follow the format demonstrated in the example.
The picture illustrates an ...read more
Function to print star patterns based on the given number of rows 'N'.
Iterate through each row from 1 to N
For each row, print spaces (N-row) followed by stars (2*row-1)
Repeat until all rows are printed
Q6. Sum of Minimum and Maximum Elements of All Subarrays of Size K
You are provided with an array containing N integers along with an integer K. Your task is to compute the total sum of the minimum and maximum elem...read more
Calculate the sum of minimum and maximum elements of all subarrays of size K in an array.
Iterate through the array and maintain a deque to store the indices of elements in the current window of size K.
Keep track of the minimum and maximum elements in the current window and update the sum accordingly.
Return the total sum of minimum and maximum elements for all subarrays of size K.
Q7. How to remove leading whitespaces from a string in the Python
Python provides a built-in method to remove leading whitespaces from a string.
Use the lstrip() method to remove leading whitespaces from a string.
lstrip() method removes all whitespaces from the beginning of the string.
Example: string = ' Hello World' string.lstrip() Output: 'Hello World'
Q8. Write code to create pattern { star (*) pattern was given }
Code to create a star pattern
Use nested loops to print the pattern
The outer loop controls the number of rows
The inner loop controls the number of stars to print in each row
Use a combination of spaces and stars to create the pattern
Q9. How to overload constructor in Python?
Overloading constructor in Python allows creating multiple constructors with different parameters.
Define multiple constructors with different parameters
Use default values for optional parameters
Call the appropriate constructor based on the number and type of arguments passed
Q10. Write the code to reverse the string
Code to reverse a string
Use a loop to iterate through the string
Create a new string and add each character from the original string in reverse order
Return the new string
Q11. Q1. Palindrome numbers in a given range.
A program to find palindrome numbers in a given range.
Iterate through the given range of numbers
Convert each number to a string and check if it is equal to its reverse
If yes, add it to the list of palindrome numbers
Q12. why we use apex programming language
Apex is used for building custom business logic and integrations on the Salesforce platform.
Apex is a strongly-typed, object-oriented programming language.
It allows developers to create custom code to extend Salesforce functionality.
Apex can be used to build triggers, controllers, and classes for custom business logic.
It can also be used to integrate Salesforce with external systems.
Apex code runs natively on the Salesforce platform, providing secure and scalable performance.
Q13. Q2. Carry generated in a sum of two numbers.
Carry is generated when the sum of two digits is greater than 9.
Carry is a digit that is carried over to the next place value in the sum.
For example, in the sum 56 + 78, the carry generated is 1 (5+7=12, carry 1, 6+8+1=15).
Carry is important in addition of large numbers and in binary addition.
Q14. what is salesforce developer
Salesforce developer is a professional who develops and customizes applications on the Salesforce platform.
Salesforce developers use Apex and Visualforce to create custom applications and functionality
They work closely with stakeholders to understand business requirements and design solutions
They also integrate Salesforce with other systems and manage data within the platform
Examples of Salesforce developer roles include Application Developer, Integration Developer, and Light...read more
Q15. When we will face Attempt to de-refresh null object
Attempt to de-reference null object occurs when trying to access or manipulate a null object in Salesforce development.
Always check if an object is null before trying to access its properties or methods
Use safe navigation operator '?' to avoid null pointer exceptions
Example: Account acc = null; System.debug(acc.Name); // This will throw Attempt to de-reference null object error
Example: Account acc = null; System.debug(acc?.Name); // This will not throw an error
Q16. You are given a series of strings: ['asa', 'adsf', 'das2g', 'dasd4', 'ds230']. Your task is to print the strings that contain at least one digit. After your initial approach, you were asked to optimize it furth...
read morePrint strings with at least one digit from given array.
Iterate through each string in the array and check if it contains a digit using regular expressions.
Use the regex pattern '\d' to match any digit in a string.
Print the strings that match the pattern.
Q17. Write a code to reverse the string of your name.
Code to reverse a string of your name
Create a function that takes a string as input
Use built-in functions like reverse() or loop through the string to reverse it
Return the reversed string
Q18. You are given two numbers, 'n' and 'm' calculate and print the sum of the series n/1, n/2, n/3, ..., n/m?
The sum of the series n/1, n/2, n/3, ..., n/m is calculated and printed.
Iterate from 1 to m and calculate n divided by the current number in the iteration.
Add all the calculated values to get the sum of the series.
Print the final sum of the series.
Q19. Write a code to print pyramid pattern
Code to print pyramid pattern in Python
Use nested loops to print spaces and stars in each row
Increment the number of stars in each row to form the pyramid shape
Example: for a pyramid with 5 rows, the code would look like this:
for i in range(5):
print(' '*(5-i-1) + '*'*(2*i+1))
Q20. What is black box testing
Black box testing is a software testing technique where the internal workings of the system are not known to the tester.
Tests the functionality of the system without knowing the internal code
Focuses on input and output of the system
Tests for user interface, performance, and security
Examples include acceptance testing and regression testing
Q21. Explain Campaigns, Promotions, and Coupons.
Campaigns, Promotions, and Coupons are marketing strategies used to attract customers and increase sales.
Campaigns are strategic marketing efforts to promote a product or service over a specific period of time.
Promotions are temporary incentives offered to customers to encourage purchases, such as discounts or free gifts.
Coupons are vouchers that entitle the holder to a discount on a particular product or service.
Examples: Black Friday campaign, Buy One Get One Free promotion...read more
Q22. Print 1,1.5,2,2.5,3 in an array
Create an array of strings containing 1, 1.5, 2, 2.5, 3
Initialize an array of strings
Add the numbers 1, 1.5, 2, 2.5, 3 as strings to the array
Q23. opps concept what is inheritnace?
Inheritance is a concept in object-oriented programming where a class can inherit attributes and methods from another class.
Allows a class to inherit attributes and methods from another class
Promotes code reusability and reduces redundancy
Creates a parent-child relationship between classes
Types of inheritance include single, multiple, multilevel, and hierarchical
Example: Class 'Animal' can be a parent class with attributes like 'name' and methods like 'eat', while class 'Dog'...read more
Q24. what is objects in opps ?
Objects in OOPs refer to instances of classes that encapsulate data and behavior.
Objects are created based on a class blueprint
Objects have attributes (data) and methods (behavior)
Objects allow for data encapsulation and abstraction
Example: Class 'Car' can have objects like 'Toyota', 'Honda', etc.
Q25. What is Global JS.
Global JS refers to JavaScript variables or functions that are accessible from anywhere in the code.
Global JS variables are declared outside of any function and can be accessed from any part of the code.
Global JS functions are defined without being enclosed within another function and can be called from anywhere in the code.
Using global variables or functions can lead to potential conflicts and security risks.
Q26. What is quality analyst
A quality analyst is responsible for ensuring that products or services meet the required standards and specifications.
Conducting quality assurance tests and inspections
Analyzing data to identify areas for improvement
Developing and implementing quality control procedures
Collaborating with other departments to ensure quality standards are met
Providing feedback to management on quality issues
Examples: testing software for bugs, inspecting manufactured products for defects
Q27. what is your backgroud ?
I have a degree in Electronics and Communication Engineering.
I completed my Bachelor's degree in Electronics and Communication Engineering from XYZ University.
During my studies, I gained knowledge in various subjects such as Analog and Digital Communication, Microprocessors, and Microcontrollers.
I also completed a project on the design and implementation of a wireless communication system using Zigbee technology.
I have also completed internships at ABC Company and DEF Company...read more
Q28. what is jop experience ?
Job experience refers to the work history of an individual in a particular field or industry.
It includes the skills and knowledge gained through previous employment.
It can be used to demonstrate expertise and suitability for a particular role.
Employers often look for candidates with relevant job experience.
Examples of job experience include internships, part-time jobs, and full-time employment.
It is important to highlight job experience on a resume or during an interview.
Q29. find that aray is palindrome or not ?
Check if array of strings is a palindrome or not.
Iterate through the array and compare each string with its reverse to check for palindrome.
Ignore spaces and punctuation while checking for palindrome.
Example: ['madam', 'racecar', 'hello', 'level'] should return true.
Q30. Explain clouds and their types
Clouds are visible masses of water droplets or ice crystals suspended in the atmosphere.
Clouds are classified based on their altitude, shape, and appearance.
Types of clouds include cirrus, cumulus, stratus, and nimbus.
High-level clouds are found at altitudes above 20,000 feet, while low-level clouds are below 6,500 feet.
Clouds can also be classified as convective, stratiform, or cumulonimbus.
Q31. Explain Sequrity model
Security model refers to the framework that defines how security is implemented in a system or application.
Security model determines who can access what resources and under what conditions
It includes authentication, authorization, encryption, and auditing
Examples of security models include discretionary access control (DAC), mandatory access control (MAC), and role-based access control (RBAC)
Q32. Explain Data modelling
Data modelling is the process of creating a visual representation of data and its relationships within a system.
Identifying entities and their attributes
Defining relationships between entities
Creating a schema to represent the data
Normalization to reduce redundancy
Example: Entity-Relationship Diagram (ERD)
Q33. What is white box testing
White box testing is a testing technique that involves testing the internal structure of the software.
It is also known as clear box testing or structural testing.
It requires knowledge of the code and the internal workings of the software.
It is used to test the logic and flow of the code.
Examples include unit testing and integration testing.
It is usually performed by developers or testers with programming knowledge.
Q34. Write @Wire syntax
Annotation used in Java to inject dependencies
@Wire annotation is used in Java to inject dependencies
It is typically used in frameworks like Dagger or ButterKnife
Example: @Wire TextView textView;
Q35. short an array by bubble sort
Bubble sort is a simple sorting algorithm that repeatedly steps through the list, compares adjacent elements, and swaps them if they are in the wrong order.
Start by comparing the first two elements of the array and swap them if necessary.
Continue comparing adjacent elements and swapping them until the array is sorted.
Repeat this process for each element in the array until no more swaps are needed.
Q36. Introduction OF Machine Learning
Machine learning is a subset of artificial intelligence that focuses on developing algorithms and models that can learn from and make predictions or decisions based on data.
Machine learning involves training algorithms to learn patterns and make predictions from data.
It can be supervised, unsupervised, or semi-supervised learning.
Examples include image recognition, natural language processing, and recommendation systems.
Interview Process at QualityKiosk Technologies
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month