
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Found 975 Articles for Software & Coding

19K+ Views
You can pass the parameters in the PowerShell function and to catch those parameters, you need to use the arguments. Generally, when you use variables outside the function, you really don’t need to pass the argument because the variable is itself a Public and can be accessible inside the function. But in some cases we need to pass the parameters to the function and below is the example explains how you can write the code for it.The single parameter passed in function, function writeName($str){ Write-Output "Hi! there .. $str" } $name = Read-Host "Enter Name" writeName($name)Here, we are passing ... Read More

288 Views
Generally, when the variable is declared as a Public variable or outside the function in the script (not in any other variable or condition), you don’t need to pass that value to function because the function retains the value of the variable when the variable is initialized before the function is called.Examplefunction PrintOut{ Write-Output "your Name is : $name" } $name = Read-Host "Enter your Name" PrintOutIn the above example, $name variable is declared outside the function called PrintOut. So as the variable can be read inside the function, you can directly use the variable by its name.OutputEnter your ... Read More

948 Views
Function in a PowerShell is to reduce the redundancy of the repeated codes this means codes which are repeating, bind them into a function and call the function whenever necessary, so you don’t need to write codes multiple times.ExampleLet assume, you want to perform arithmetic operations (multiply, sum, divide and subtraction) of two values 5 and 4 in one go, so you will write different operations for two values or you will assign values to the variable called $val1 and $val2 and perform various operations on them as shown below in the example.$val1 = 5 $val2 = 4 $val1 ... Read More

12K+ Views
Product and Process are the two crucial terms in software development. The elementary difference between the two is that a "process" is a sequence of steps to be followed to create an appropriate product, while a "product" is the final outcome of the software development cycle. Read this tutorial to learn more about Product and Process in the context of software development and how they are different from each other. What is a Product? The product is the final outcome of the software development process. It is the software application or system that is being built or maintained. A product ... Read More

4K+ Views
Both AI (Artificial Intelligence) and Soft Computing use data driven, flexible and nonsystematic tools to solve the problems. The most basic difference between AI and soft computer is that the AI is used to develop intelligent systems, whereas soft computing is used to solve real problems. In this article, we will discuss the important differences between AI and Soft Computing. But before that, let's start with some basics so that it becomes easier to understand the differences between them. What is AI? AI or Artificial Intelligence is a science which deals with making machine intelligence. According to John ... Read More

20K+ Views
Relational AlgebraRelational algebra is a procedural query language, which takes instances of relations as input and yields instances of relations as output. It uses operators to perform queries. An operator can be either unary or binary. They accept relations as their input and yield relations as their output. Relational algebra is performed recursively on a relation and intermediate results are also considered relations.The fundamental operations of relational algebra are as follows -SelectProjectUnionSet differentCartesian productRenameRelational CalculusIn contrast to Relational Algebra, Relational Calculus is a non-procedural query language, that is, it tells what to do but never explains how to do it.Relational ... Read More

5K+ Views
The most basic difference between the waterfall model and the RAD model is that the waterfall model is a linearly-sequential life cycle model of software development in which software testing is done after the completion of all coding phases. On the other hand, RAD (Rapid Application Development) is an incremental model of software development. Read through this article to find out more about the waterfall model and the RAD model and how they are different from each other. What is Waterfall Model? Waterfall Model is the classical model of software development where each phase of software development is completed in ... Read More

11K+ Views
Both multiprocessing and multithreading are used in computer operating systems to increase its computing power. The fundamental difference between multiprocessing and multithreading is that multiprocessing makes the use of two or more CPUs to increase the computing power of the system, while multithreading creates multiple threads of a process to be executed in a parallel fashion to increase the throughput of the system. In this article, we will discuss all the important differences between multiprocessing and multithreading. Let's start with some basics of multiprocessing and multithreading so that it becomes easier to understand how they are different from each ... Read More

2K+ Views
Measure-Object in PowerShell is used to measure the property of the command. There are various measurement parameters are available. For example, Average, Count, sum, maximum, minimum and more.ExampleGet-Process | Measure-ObjectOutputPS C:\WINDOWS\system32> Get-Process | Measure-Object Count : 278 Average : Sum : Maximum : Minimum : Property :Here, in the above output, there are total 278 processes are running. If you want to check the maximum memory usage then you can use WorkingSet property with − Maximum Parameter.Get-Process | Measure-Object -Property WorkingSet -MaximumOutputPS C:\WINDOWS\system32> Get-Process | Measure-Object ... Read More

11K+ Views
To sort the output in the PowerShell you need to use Sort-Object Pipeline cmdlet. In the below example, we will retrieve the output from the Get-Process command and we will sort the, according to memory and CPU usage.ExampleGet-Process | Sort-Object WorkingSet | Select -First 10OutputHandles NPM(K) PM(K) WS(K) CPU(s) Id SI ProcessName ------- ------ ----- ----- ------ -- -- ----------- 0 0 60 8 0 ... Read More