Articles on Trending Technologies

Technical articles with clear explanations and examples

What is Input Buffering in Compiler Design?

Ginni
Ginni
Updated on 01-Nov-2023 58K+ Views

Lexical Analysis has to access secondary memory each time to identify tokens. It is time-consuming and costly. So, the input strings are stored into a buffer and then scanned by Lexical Analysis.Lexical Analysis scans input string from left to right one character at a time to identify tokens. It uses two pointers to scan tokens −Begin Pointer (bptr) − It points to the beginning of the string to be read.Look Ahead Pointer (lptr) − It moves ahead to search for the end of the token.Example − For statement int a, b;Both pointers start at the beginning of the string, which ...

Read More

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 Hardwired Control Unit?

Ginni
Ginni
Updated on 01-Nov-2023 52K+ Views

A hardwired control is a mechanism of producing control signals using Finite State Machines (FSM) appropriately. It is designed as a sequential logic circuit. The final circuit is constructed by physically connecting the components such as gates, flip flops, and drums. Hence, it is named a hardwired controller.The figure shows a 2-bit sequence counter, which is used to develop control signals. The output obtained from these signals is decoded to generate the required signals in sequential order.The hardwired control consists of a combinational circuit that outputs desired controls for decoding and encoding functions. The instruction that is loaded in the ...

Read More

Transistor as a Switch

Manish Kumar Saini
Manish Kumar Saini
Updated on 01-Nov-2023 55K+ Views

A transistor can be used as a solid state switch. If the transistor is operated in the saturation region then it acts as closed switch and when it is operated in the cut off region then it behaves as an open switch.The transistor operates as a Single Pole Single Throw (SPST) solid state switch. When a zero input signal applied to the base of the transistor, it acts as an open switch. If a positive signal applied at the input terminal then it acts like a closed switch.When the transistor operating as switch, in the cut off region the current ...

Read More

What is Vector Processing in Computer Architecture?

Ginni
Ginni
Updated on 01-Nov-2023 63K+ Views

Vector processing is a central processing unit that can perform the complete vector input in individual instruction. It is a complete unit of hardware resources that implements a sequential set of similar data elements in the memory using individual instruction.The scientific and research computations involve many computations which require extensive and high-power computers. These computations when run in a conventional computer may take days or weeks to complete. The science and engineering problems can be specified in methods of vectors and matrices using vector processing.Features of Vector ProcessingThere are various features of Vector Processing which are as follows −A vector ...

Read More

How to mount usb drive in a linux system

Samual Sam
Samual Sam
Updated on 01-Nov-2023 77K+ Views

Do you know “how to use USB memory sticks with Linux”, If you are not sure then this article describes “how to mount USB drive on a Linux system with command line interface”Universal serial bus, or USB (also known as Flash drive), is an electronic communications protocol that is commonly used in computer accessories and other small devices. If you have an up-to-date Linux system and a modern Desktop environment, your device should show up on your desktop, with no need to open a console. There are few important factors which are involved in learning how to mount USB drive ...

Read More

How to upload a project to GitHub from VS Code?

Muthu Annamalai Venkatachalam
Muthu Annamalai Venkatachalam
Updated on 01-Nov-2023 56K+ Views

Introduction When editing code, reviewing changes, and submitting to GitHub, developers often switch between multiple windows. In order for different modules and versions to be operated by different teams, version control is indispensable for every software project. This blog will explain how to publish your Visual Studio Code code to Github. Let's take a look at GitHub and Visual Studio in brief before you start working with them. What is GitHub? A big part of the popularity of GitHub is because of the large developer community that it has. It is a platform that fosters collaboration between developers and facilitates ...

Read More

Inverting and Non-Inverting Operational Amplifiers

Manish Kumar Saini
Manish Kumar Saini
Updated on 01-Nov-2023 94K+ Views

An operational amplifier is a three-terminal device consisting of two high impedance input terminals, one is called the inverting input denoted by a negative sign and the other is the non-inverting input denoted with a positive sign. The third terminal is the output of the Op-Amp.Inverting Operational AmplifierIn the inverting operational amplifier circuit, the signal is applied at the inverting input and the non-inverting input is connected to the ground. In this type of amplifier, the output is 180⁰ out of phase to the input, i.e. when positive signal is applied to circuit, the output of the circuit will be ...

Read More

Difference between Private Key and Public Key

Kiran Kumar Panigrahi
Kiran Kumar Panigrahi
Updated on 01-Nov-2023 47K+ Views

Private Keys and Public Keys terms are used in cryptography. These keys are used to encrypt/decrypt sensitive data. Read through this article to find out more about private and public keys and how they are different from each other.What is Private Key?The private key is used in both encryption as well as decryption. This key is shared between the sender and receiver of the encrypted sensitive information. The private key is also called "symmetric" because it is shared by both parties. Private key cryptography is faster than public-key cryptography mechanism.A private key is generally a lengthy, non-guessable sequence of bits ...

Read More

Difference Between Recursion and Iteration

Kiran Kumar Panigrahi
Kiran Kumar Panigrahi
Updated on 01-Nov-2023 48K+ Views

Recursion and Iteration both repeatedly execute the set of instructions. Recursion occurs when a statement in a function calls itself repeatedly. The iteration occurs when a loop repeatedly executes until the controlling condition becomes false. The basic difference between recursion and iteration is that recursion is a process always applied to a function and iteration is applied to the set of instructions which we want to be executed repeatedly. Read through this article to find out more about Recursion and Iteration and how they are different from each other. What is Recursion? Recursion is defined as a process in which a function calls itself repeatedly. Recursion uses selection structure. If the recursion step does ...

Read More
Showing 33171–33180 of 61,297 articles
Advertisements