Articles on Trending Technologies

Technical articles with clear explanations and examples

Array Doubling in Data Structure

Arnab Chakraborty
Arnab Chakraborty
Updated on 10-Aug-2020 2K+ Views

Sometimes we create array using dynamic memory allocation. If the array is allocated using dynamic memory allocation technique, we can double the size of array by performing some operations.Suppose initial array size was 5.Array01234Element 1Element 2Element 3Element 4Element 5After array doubling, the size is −0123456789Element 1Element 2Element 3Element 4Element 5Element 6Element 7Element 8Element 9Element 10To double the size of array arr of size n, arr[0…n-1]. At first we have to create one new array of size say m. Then copy n elements from arr to the new array. Finally change the value of arr to point to the new array.To ...

Read More

Substitution Method in Data Structure

Arnab Chakraborty
Arnab Chakraborty
Updated on 10-Aug-2020 7K+ Views

Here we will see how to use substitution method to solve recurrence relations. We will take two examples to understand it in better way.Suppose we are using the binary search technique. In this technique, we check whether the element is present at the end or not. If that is present at middle, then the algorithm terminates, otherwise we take either the left and right subarray from the actual array again and again. So in each step the size of the array decreases by n / 2. Suppose the binary search algorithm takes T(n) amount of time to execute. The base ...

Read More

Counting Cache Misses in Data Structure

Arnab Chakraborty
Arnab Chakraborty
Updated on 10-Aug-2020 481 Views

In algorithm analysis we count the operations and steps. This is basically justified when computer takes more time to perform an operation than they took to fetch the data needed for that operation. Nowadays the cost of performing an operation is significantly lower than the cost of fetching data from memory.The run time of many algorithms is dominated by the number of memory references (number of cache misses) rather than by the number of operations. So, when we will try to desing some algorithms, we have to focus on reducing not only the number of operations but also the number ...

Read More

Operation Counts Method in Algorithm

Arnab Chakraborty
Arnab Chakraborty
Updated on 10-Aug-2020 4K+ Views

There are different methods to estimate the cost of some algorithm. One of them by using the operation count. We can estimate the time complexity of an algorithm by choosing one of different operations. These are like add, subtract etc. We have to check how many of these operations are done. The success of this method depends on our ability to identify the operations that contribute most of the time complexity.Suppose we have an array, of size n [0 to n - 1]. Our algorithm will find the index of largest element. We can estimate the cost by counting number ...

Read More

How to uninstall software using Package management in PowerShell?

Chirag Nagrekar
Chirag Nagrekar
Updated on 08-Aug-2020 3K+ Views

There are mainly 3 methods by which you can uninstall software using PowerShell.WMI Method.Using Package providerUninstallation String.Here, we will discuss the method to uninstall software using Package management.You can uninstall the software or packages which are installed with the package providers. You can get the list of the package providers using Get-PackageProvider command.PS C:\Users\Administrator> Get-PackageProvider | Select Name, Version Name          Version ----          ------- msi           3.0.0.0 msu           3.0.0.0 PowerShellGet 1.0.0.1 Programs      3.0.0.0So the packages which are installed with msi, msu, Programs ...

Read More

How to uninstall software using WMI in PowerShell?

Chirag Nagrekar
Chirag Nagrekar
Updated on 08-Aug-2020 2K+ Views

There are mainly 3 methods by which you can uninstall software using PowerShell.WMI Method.Using Package providerUninstallation String.We will discuss here the WMI method to uninstall software.WMI methodWith WMI class Win32_Product you can retrieve the list of software uninstalled in your local or the remote systems. If you need specific software, you can filter by its name. For example, Get-WmiObject Win32_Product -Filter "Name='Vmware tools'"Or You can retrieve the name of the installed software using the Where-Object pipeline command.Get-WmiObject Win32_Product | Where{$_.Name -eq "Vmware tools"}OutputPS C:\Users\Administrator> Get-WmiObject Win32_Product | Where{$_.Name -eq "Vmware tools"} IdentifyingNumber : {D533345C-7F8D-4807-AE80-E06CE2045B0E} Name           ...

Read More

Explain PowerShell Profile.

Chirag Nagrekar
Chirag Nagrekar
Updated on 08-Aug-2020 738 Views

When you open PowerShell, it loads the profile just like the Windows operating system. When you log in to windows OS you are logged into your profile and every user has their individual profile. It is called the current profile for the current host.To check your profile, type $Profile command in the PowerShell console.PS C:\Users\Administrator> $profile C:\Users\Administrator\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.p s1This was for Powershell console but let's check if Powershell uses the same profile for ISE.PS C:\> $profile C:\Users\Administrator\Documents\WindowsPowerShell\Microsoft.PowerShellISE_profil e.ps1So the ISE has its own profile too and both are stored in the $Home directory. What if we use the $profile for VSCode.PS ...

Read More

Explain various techniques used in financial statement analysis.

Mandalika
Mandalika
Updated on 06-Aug-2020 883 Views

Financial statement analysis is interpreted mainly to determine the financial operational performances of the business concern. Following are the common techniques that are widely used −Comparative statement analysis − These statements help to understand the comparative position of financial and operational period at different period of time. It is again classified into 2 types −Comparative balance sheet analysis − As the name suggests, it only concentrates on balance sheet at different period of time. This type of analysis helps to understand the real financial position over the years and how well the organisation utilises its assets, liabilities and capitals during ...

Read More

Define financial statement analysis in financial management.

Mandalika
Mandalika
Updated on 06-Aug-2020 643 Views

Financial statements provide summary of the accounting of an organisation. The balance sheet reflects the assets and liabilities and capital as on certain data and the income statements tells about the results of operation in a certain period.Financial statements consist of the following −Income statements or Profit and loss accountIt provides entire operational of the concern like total revenue generated and expenses incurred for earning that revenue. Income statement helps to understand the gross profit and net profit of the concern.Balance sheet or the position statementIt helps to ascertain and understand the total assets, liabilities and capital of the firm. ...

Read More

What are key decisions of financial management?

Mandalika
Mandalika
Updated on 06-Aug-2020 4K+ Views

Decision making helps to utilise the available resources for achieving the objectives of the organisation, unless minimum financial performance levels are achieved. Financial management provides both conceptual and analytical framework for financial decision making. The key aspects of financial decision making relate to financing, investment, dividends and working capital management.The top three financial decisions along with the factors affecting the respective decisions are mentioned below −Investment decisionsInvestment decisions tells about total amount of assets to be held in the firm. Since, funds involve cost are available in limited quantity proper utilisation is required for achieving the goal of wealth maximisation.Investment ...

Read More
Showing 51761–51770 of 61,299 articles
Advertisements