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
Realization of a logic function in SOP form using NAND gate
SOP Form SOP form stands for Sum of Products form. SOP form is one in which a Boolean expression is expressed as a sum of product terms. For example, $$\mathrm{\mathit{f}\lgroup A, B, C\rgroup=AB+ABC+B\overline{C}}$$ This is a Boolean function expressed in SOP (Sum of Products) form. NAND Gate The NAND Gate is a type of universal logic gate. It is a logic gate one that can be used to realize any kind of logical function or any other type of logic gate. A NAND gate is basically a combination of two basic logic gates namely AND gate and NOT gate, i.e. ...
Read MoreRadix Conversion in Digital Electronics
In positional number systems, the radix is the total number of unique digits that are used to represent numbers in that number system. Radix is also called Base. For example, in decimal number system, we use total ten digits from 0 to 9 (i.e. 0, 1, 2, 3, 4, 5, 6, 7, 8, 9) to represent any decimal number. Therefore, for the decimal number system, the radix or base is ten (10). Although we can easily convert a given number from one radix (i.e. number system) to any other radix (number system) by using radix conversion protocols. In this article, ...
Read MoreElectronic Logic Conventions
Electronic logic conventions are the sets of rules followed while designing a digital logic system or device. These conventions are adopted due to their different characteristics observed by several experiments. The use of electronic logic conventions, makes the implementation process of a digit system easy and smooth. Also, a standardization is achieved in the design. This tutorial is entirely meant for explaining different electronic logic conventions used in digital system implementations. As we know, the digital systems are implemented in binary number system due to some technical and economic reasons. The binary number system follows Boolean’s rules to perform arithmetic ...
Read MoreConverting SSOP to SPOS Form
A Boolean function can be expressed into two forms namely, Sum of Products (SOP) Form Product of Sums (SOP) Form The SOP (Sum of Products) form is one in which the Boolean function is expressed as the sum of product terms, while in the POS (Product of Sums) form, the Boolean function is expressed as the product of sum terms of the function. But, in the SOP and POS form, each term of the function may not contain all the variables. For example, consider a Boolean function in three variables, $$\mathrm{\mathit{f}\lgroup A, B, C\rgroup=A\overline{B}+\overline{B}C}$$ This is the ...
Read MoreConversion between Canonical Forms
When a logical expression or Boolean function is expressed as a sum of minterms or as a product of maxterms, then it is called the canonical form of the expression or function. A canonical form of the Boolean expression is also known as standards form, i.e. Standard Sum of Products (SSOP) Form and Standard Product of Sums (SPOS) Form. The canonical form of a Boolean function involves minterms and maxterms. A minterm is a product term which contains all the variables of the Boolean function either in complemented or un-complemented form. A maxterm is a sum term which ...
Read MoreLongest subsequence with different adjacent characters
Introduction In this tutorial, we implement an approach to find the longest subsequence with different adjacent characters. Here, the longest subsequence is a subsequence that contains the maximum number of string characters with different adjacent characters. To implement the approach to finding the longest subsequence, consider a string s, and iterate We use two approaches to resolve the problem statement of finding the longest subsequence having different adjacent characters. Greedy ApproachIt is one of the most used algorithms to solve the data structure problem. This approach tries all possible cases and chooses the most suitable. Dynamic programmingIt ...
Read MoreHow to validate image file extension using Regular Expression?
Introduction In this article, we check validate image file extension using regular expressions. Image file extension in this article, is the valid extension for an image file which consists of file name and file extension . The valid image file extension follows some rules which we define in this article. Regular expression or regex is used for pattern matching in strings or string searching algorithms. Its functionalities are defined in the header file. It is used with a regex keyword followed by a variable. In this C++ tutorial, we check whether the input string is a valid image file ...
Read MoreHow to check Aadhaar number is valid or not using Regular Expression?
Introduction In this C++ tutorial, we check whether the input Aadhar number is valid using Regular Expression. Regular expression or regex is used for pattern matching in strings or string searching algorithms. Its functionalities are defined in the header file. It is used with a regex keyword followed by a variable. Indian citizens are issued an Aadhaar number, which is a unique identification number. It is a 12-digit unique number and no two people have a similar AADHAAR number. Syntax regex regular_expression_patternname return regex_match(value, regular_expression_patternname); In this tutorial to check the validity of an Aadhar number we ...
Read MoreDefanged Version of Internet Protocol Address
Introduction This tutorial deals with the problem of finding the defanged version of the Internet Protocol Address. The Internet Protocol Address or IP Address is an individual numerical address of a device connected to or using the Internet. It is unique for every internet-connected device. It consists of numbers separated by the period (dot). An example would be 191.0.1.2. Defanged Version of Internet Protocol means replacing the periods (dot.) with other characters so that it is not treated as a valid IP address. For defanging the Internet Protocol Address we use [.] instead of periods ( dot .) The Internet ...
Read MoreHow to Decode the string encoded with the given algorithm?
Introduction Encoding means converting the text into some form of representation, and decoding is the process of converting the encoded text into its original form. Encoding and decoding are two interrelated techniques for transferring information from one form to another. In this tutorial, we implement an approach to decode the string which is encoded with the given algorithm that finds the decoded string using an encoded string encoded with some algorithm. The string is encoded using the following concept − For example string = India Encoded string = dniIa In the string "India", the middle character is 'd', ...
Read More