In this post, we will understand the difference between CRM and ERP −CRM (Customer Relationship Management)It is a computer software that helps companies record every transaction and interaction with the present and prospective customers.It is a subset.It was developed in 1990.It is generally utilized in front office activities.It helps focus on improving the sales.It is customer oriented.This is what CRM includes −ERP (Enterprise Resource Planning)It is an integrated pre-packaged computer software that helps organizations in managing and controlling the business processes.It is a superset.It was developed in the 1960s – 1970s.It is generally utilized by back office activities.It helps focus ... Read More
In this post, we will understand the difference between waterfall model and spiral model −Waterfall ModelIt works in sequential method.The errors and risks are identified and rectified after the stages are completed.It is generally used by customers.It can be used with small projects.The requirements and early stage planning is important and required.It is not flexible.It is difficult to make changes in a waterfall model.It involves a high amount of risk.It is comparatively less expensive.Following is the representation of Waterfall Model −Spiral ModelIt works in evolutionary method.The errors and risks are identified and rectified before the stages are complete.It is generally ... Read More
In this post, we will understand the difference between manual and automated testing −Automation TestingIt uses automation tools to execute the test cases.It is fast in comparison to a manual approach.It doesn’t allow random testing to be performed.The initial investment is high.The return on investment is better in the long run.It is reliable.It is performed by tools and scripts.There is no testing fatigue in it.Even for a trivial change, automated test scripts have to be modified.It is expensive.All the stakeholders can login to the automation system and check the results of execution.It doesn’t involve human; hence it can’t assure being ... Read More
In this post, we will understand the difference between test plan and test strategy −Test PlanIt is a document prepared for a software project that defines the approach, scope, and intensity required for software testing.It can be changed.It happens independently.It describes the details.It is only done by the test administrator or test manager.It is generally utilized at the project level.Its objective deals with how and when to test the product or system, and who would confirm it.Test StrategyIt is a set of instructions that explain the test design.They also help determine how the test has to be performed.It can’t be ... Read More
ProblemWe are required to write a JavaScript function that takes in a string str as the first and the only argument.The string str can contain three types of characters −English alphabets: (A-Z), (a-z)Numerals: 0-9Special Characters − All other remaining charactersOur function should iterate through this string and construct an array that consists of exactly three elements, the first contains all alphabets present in the string, second contains the numerals and third the special characters maintain the relative order of characters. We should finally return this array.For example, if the input to the function isInputconst str = 'thi!1s is S@me23';Outputconst output ... Read More
ProblemWe are required to write a JavaScript function that takes in an array of integers, arr, as the first argument and a number, num, as the second argument.Our function should find the contiguous subarray of given length num that has the maximum average value. And we need to output the maximum average value.For example, if the input to the function isInputconst arr = [1, 12, -5, -6, 50, 3]; const num = 4;Outputconst output = 12.75;Output ExplanationBecause the desired subarray is [12, -5, -6, 50]ExampleFollowing is the code − Live Democonst arr = [1, 12, -5, -6, 50, 3]; const num ... Read More
ProblemWe are required to write a JavaScript function that takes in an array of pairs of numbers, arr, as the first and the only argument. In every pair, the first number is always smaller than the second number.Now, we define a pair (c, d) that can follow another pair (a, b) if and only if b < c. Chain of pairs can be formed in this fashion. Our function is supposed to find the length longest chain which can be formed.For example, if the input to the function isInputconst arr = [ [1, 2], [2, 3], [3, 4] ];Outputconst ... Read More
ProblemWe are required to write a JavaScript function that takes in an array of sorted integers, arr, as the first argument and a target number, as the second argument.Our function should return an array of exactly two numbers that exists in the array arr and are closest to target. The output array should also be sorted in increasing order.For example, if the input to the function isInputconst arr = [1, 2, 3, 4, 5]; const target = 3;Outputconst output = [2, 3];ExampleFollowing is the code − Live Democonst arr = [1, 2, 3, 4, 5]; const target = 3; const findClosest ... Read More
ProblemWe are required to write a JavaScript function that takes in an array of sorted integers, arr, as the first and the only argument.Our function should return true if and only if we can split the array into 1 or more subsequences such that each subsequence consists of consecutive integers and has length at least 3, false otherwise.For example, if the input to the function isInputconst arr = [1, 2, 3, 3, 4, 5];Outputconst output = true;Output ExplanationWe can split them into two consecutive subsequences −1, 2, 3 3, 4, 5ExampleFollowing is the code − Live Democonst arr = [1, 2, ... Read More
Increasing SequenceWe define an array as increasing if arr[i]
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP