Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
Articles on Trending Technologies
Technical articles with clear explanations and examples
What is the use of the \'&\' symbol in C++?
The & symbol is used as an operator in C++. It is used in 2 different places, one as a bitwise and operator and one as a pointer address of operator.Bitwise ANDThe bitwise AND operator (&) compares each bit of the first operand to that bit of the second operand. If both bits are 1, the bit is set to 1. Otherwise, the bit is set to 0. Both operands to the bitwise AND operator must be of integral types. Example #include using namespace std; int main() { unsigned short a = 0x5555; // pattern 0101 ... unsigned short b = 0xAAAA; // pattern 1010 ... cout
Read MorePrint Binary Equivalent of an Integer using Recursion in Java
Recursion, a potent programming technique, entails the resolution of a problem by decomposing it into smaller, more manageable sub problems and applying the same algorithm to solve them. In the realm of Java programming, recursion proves to be an invaluable tool when it comes to printing the binary representation of an integer. The binary equivalent, expressed in a base-2 numeral system that employs only two digits, 0 and 1, poses a common challenge in the field. In this article, we shall embark to unravel the intricacies of printing the binary equivalent of an integer using recursion in Java. Our ...
Read MoreWhat are Computer Registers in Computer Architecture?
Computer registers are high-speed memory storing units. It is an element of the computer processor. It can carry any type of information including a bit sequence or single data.A register should be 32 bits in length for a 32-bit instruction computer. Registers can be numbered relies upon the processor design and language rules.The instructions in a computer are saved in memory locations and implemented one after another at a time. The function of the control unit is to fetch the instruction from the memory and implement it. The control does the similar for all the instructions in the memory in ...
Read MoreDifference between Leading and Lagging Power Factor
In electrical engineering, the power factor of an AC system is the expression of energy efficiency. The power factor (PF) is defined as the ratio of active power (measured in Watts) to the apparent power (measured in VA). The power factor expresses the ratio of true power which is used in an AC circuit to the total power delivered to the circuit. Mathematically, the power factor can be expressed using the following formula − $$\mathrm{Power \: factor \, \mathrm{=}\, \frac{Active \: power}{Apparent \: power}}$$ There are two major terms are associated with the power factor of an AC circuit viz. ...
Read MoreSilicon Controlled Rectifier – Working Principle and Applications
An SCR is a three-terminal, three-junction, and four-layer semiconductor device that is used to perform switching functions in power circuits.Sometimes the SCR is also called as Thyristor.Constructional Details of SCRThe SCR has three pn – junctions, and four layer of p and n type semiconductor joined alternatively to get pnpn device. The three terminals are taken – one from outer p – type layer called anode (A), second from the outer n – type layer called cathode (K) and the third from the internal p –type layer called gate (G).Working of SCRIn a SCR, the load is connected in series ...
Read MoreExplain about two phase locking (2PL) protocol(DBMS)
Locking and unlocking of the database should be done in such a way that there is no inconsistency, deadlock, and no starvation.2PL locking protocolEvery transaction will lock and unlock the data item in two different phases.Growing Phase − All the locks are issued in this phase. No locks are released, after all changes to data-items are committed and then the second phase (shrinking phase) starts.Shrinking phase − No locks are issued in this phase, all the changes to data-items are noted (stored) and then locks are released.The 2PL locking protocol is represented diagrammatically as follows −In the growing phase transaction ...
Read MoreWhat is the difference Rename and Alias In DBMS
In this article, we are going to study Rename and Alias. Both these have their specific role when we talk in terms of DBMS. Renaming and aliases to the elements of the database provide a layer of abstraction and make the attributes of the relation presentable for the viewer. Mostly, Database store crucial information the concepts of renaming and aliasing plays an important role in representing data with efficiency. Let's gain an understanding of these concepts, their syntax, and the difference between them. What is Alias? Alias is an alternative name given to a column in the database Management System. This practice ...
Read MoreList Key Differences between Keyword Queries and Database Queries
When faced with knowledge gaps, our innate reaction is to utilize search engines as a source of information. This is because we're well aware that the answers to our queries can be found there; the key lies in using accurate keywords for our searches. Both Database Queries and Keyword Queries are revolved around the retrieval of information. This article endeavors to assist you in comprehending the distinction between these two notions. Let's explore and gain an understanding of these concepts one by one. What is Keyword Queries? They are used to get information from the web. In this concept, the ...
Read MoreNoSQL Systems VS Traditional Database Systems
As individuals, we often save our data on devices like laptops and phones, but rarely do we consider the databases that underlie these storage systems. Databases are the place where organizations can easily store their data. DBMS is used to manage the database. In this article, we will study the two specific databases NoSQL and Traditional Database. However, their designs diverge, resulting in distinct approaches to data storage and retrieval. Let's explore the below article which gives you depth of understanding about the key differences in each of them. What is a NoSQL Database? When we say NoSQL it sounds ...
Read MoreSalesforce for Energy: Managing Customer Data
Introduction In the energy industry, effectively managing customer data is vital for delivering personalized services and enhancing customer satisfaction. Salesforce, a leading customer relationship management (CRM) platform, provides powerful solutions for energy companies to streamline their customer data management processes. This article delves into the various aspects of using Salesforce to efficiently manage customer data in the energy sector, resulting in improved operational efficiency and an enhanced customer experience. The Importance of Customer Data Management in the Energy Industry Understanding Customer Needs and Preferences In the energy industry, gaining a deep understanding of customer needs and preferences is essential for delivering tailored energy solutions. ...
Read More