Software & Coding Articles

Page 2 of 83

How to export output to excel in PowerShell?

Chirag Nagrekar
Chirag Nagrekar
Updated on 01-Nov-2023 61K+ Views

As of now, there is no built-in command like CSV (Export-CSV) to export output to the excel file but we can use the Out-File command to export data to excel or any other file format.Let’s use Out-File to export the output of the Get-Processes command to an excel file.Get-Process | Out-File C:\Temp\processes.xlsThe above command will get all the running processes on the local system to the excel file. Let’s check the output of the excel file. You can see that the output is not in the proper excel format.One other way is to install the ImportExcel module for excel. It ...

Read More

What is computer architecture?

Bhanu Priya
Bhanu Priya
Updated on 31-Oct-2023 68K+ Views

Computer architecture can be defined as a set of rules and methods that describe the functionality, management and implementation of computers. To be precise, it is nothing but rules by which a system performs and operates.Sub-divisionsComputer Architecture can be divided into mainly three categories, which are as follows −Instruction set Architecture or ISA − Whenever an instruction is given to processor, its role is to read and act accordingly. It allocates memory to instructions and also acts upon memory address mode (Direct Addressing mode or Indirect Addressing mode).Micro Architecture − It describes how a particular processor will handle and implement ...

Read More

How to get environment variable value using PowerShell?

Chirag Nagrekar
Chirag Nagrekar
Updated on 31-Oct-2023 88K+ Views

Environment variables are an essential part of the Operating System. They store various information like the path of the system files and folders, the number of processors system running, current user details, and more. Processes and programs utilize these environment variables to retrieve the data for their execution.Environment variables in PowerShell are stored as PS drive (Env: ). To retrieve all the environment variables stored in the OS you can use the below command.Get-ChildItem -Path Env:Name                        Value ----                       ...

Read More

What is memory hierarchy?

Bhanu Priya
Bhanu Priya
Updated on 31-Oct-2023 114K+ Views

The Computer memory hierarchy looks like a pyramid structure which is used to describe the differences among memory types. It separates the computer storage based on hierarchy.Level 0: CPU registersLevel 1: Cache memoryLevel 2: Main memory or primary memoryLevel 3: Magnetic disks or secondary memoryLevel 4: Optical disks or magnetic types or tertiary MemoryIn Memory Hierarchy the cost of memory, capacity is inversely proportional to speed. Here the devices are arranged in a manner Fast to slow, that is form register to Tertiary memory.Let us discuss each level in detail:Level-0 − RegistersThe registers are present inside the CPU. As they ...

Read More

Difference Between Algorithm and Pseudocode

Kiran Kumar Panigrahi
Kiran Kumar Panigrahi
Updated on 22-Oct-2023 42K+ Views

Algorithm and Pseudocode are the two related terms in computer programming. The basic difference between algorithm and pseudocode is that an algorithm is a step-by-step procedure developed to solve a problem, while a pseudocode is a technique of developing an algorithm. In this article, we will discuss the other important differences between an algorithm and a pseudocode. Let's start with some basic concepts of algorithm and pseudocode. What is an Algorithm? A sequence of steps to solve a given problem is called as algorithm. Thus, an algorithm is a step-by-step procedure developed for solving a given problem. An ...

Read More

What is operating system design and implementation?

Bhanu Priya
Bhanu Priya
Updated on 22-Oct-2023 8K+ Views

The operating system is needed to design and implement because without proper design and implementation any system cannot work properly, for every aspect or for any development a proper design and implementation should be necessary so that it can work in good manner and we can easily debug if any failures occur.So, design and implementation is a necessary part of an operating system and this technique can be used by every user who uses a computer.There are different types of techniques to design and implement the operating system.Design goalsMechanismImplementationLet us discuss each technique in detail.Design goalsLet us understand the features ...

Read More

What is a distributed Operating System?

Bhanu Priya
Bhanu Priya
Updated on 22-Oct-2023 26K+ Views

Distributed Operating System is a type of model where applications are running on multiple computers linked by communications. It is an extension of the network operating system which supports higher levels of communication and integration of the machines on the network. Distributed OS runs on multiple CPUs but for an end-user, it is just an ordinary centralized operating system. It can share all resources like CPU, disk, network interface, nodes, computers, etc. from one site to another site, and it increases the data available on the entire ...

Read More

Differentiate between the long-term, short-term, and medium-term schedulers.

Bhanu Priya
Bhanu Priya
Updated on 14-Sep-2023 30K+ Views

Before working on the difference between all three schedulers, let us recall the concept of process scheduler.Process scheduler is a part of the Operating system which schedules the process. If the process is in ready, waiting and running state it schedules it correctly and is also responsible for the allocation of the CPU processor to a specific task within a time interval.Also, when the task or process is completed it doesn't allow the CPU to sit idle. It will allocate the other task depending on its current state. If the process was in ready state it will allocate it to ...

Read More

What is an instruction set in a computer?

Bhanu Priya
Bhanu Priya
Updated on 14-Sep-2023 44K+ Views

An instruction is a set of codes that the computer processor can understand. The code is usually in 1s and 0s, or machine language. It contains instructions or tasks that control the movement of bits and bytes within the processor.Example of some instruction sets −ADD − Add two numbers together.JUMP − Jump to designated RAM address.LOAD − Load information from RAM to the CPU.Types of Instruction SetGenerally, there are two types of instruction set used in computers.Reduced Instruction set Computer (RISC)A number of computer designers recommended that computers use fewer instructions with simple constructs so that they can be executed ...

Read More

What are Virtual Machines in Operating System?

Bhanu Priya
Bhanu Priya
Updated on 12-Sep-2023 37K+ Views

A virtual machine (VM) is a virtual environment which functions as a virtual computer system with its own CPU, memory, network interface, and storage, created on a physical hardware system.VMs are isolated from the rest of the system, and multiple VMs can exist on a single piece of hardware, like a server. That means, it as a simulated image of application software and operating system which is executed on a host computer or a server.It has its own operating system and software that will facilitate the resources to virtual computers.Characteristics of virtual machinesThe characteristics of the virtual machines are as ...

Read More
Showing 11–20 of 825 articles
« Prev 1 2 3 4 5 83 Next »
Advertisements