Samual Sam has Published 2491 Articles

Python Program to Cyclic Redundancy Check

Samual Sam

Samual Sam

Updated on 30-Jul-2019 22:30:23

6K+ Views

For detecting errors in digital data CRC is used, this is a good technique in detecting the transmission errors. In this technique mainly binary division is applied. In these technique, cyclic redundancy check bits are present which is a sequence of redundant bits, these bits are appended to the end ... Read More

Instruction type ACI d8 in 8085 Microprocessor

Samual Sam

Samual Sam

Updated on 30-Jul-2019 22:30:23

1K+ Views

In 8085 Instruction set, ACI is a mnemonic which stands for 'Add with Carry Immediate to Accumulator' and here “d8” stands for any 8-bit or 1-Bytedata. This instruction is actually meant for adding one 8-bit immediate data or operand to the Accumulator along with the carry value. The result of ... Read More

Python program for Modular Exponentiation

Samual Sam

Samual Sam

Updated on 30-Jul-2019 22:30:23

593 Views

Given three numbers x, y and z, our task is to calculate (x^y) % z Example Input: x = 2, y = 3, p = 3 Output: 2 Explanation : 2^3 % 3= 8 % 3 = 2. Algorithm Step 1: Input three numbers. Step 2: ... Read More

Python program multiplication of two matrix.

Samual Sam

Samual Sam

Updated on 30-Jul-2019 22:30:23

18K+ Views

Given two user input matrix. Our task is to display the addition of two matrix. In these problem we use nested List comprehensive. Algorithm Step1: input two matrix. Step 2: nested for loops to iterate through each row and each column. Step 3: take one resultant matrix which is ... Read More

Instruction type SUI d8 in 8085 Microprocessor

Samual Sam

Samual Sam

Updated on 30-Jul-2019 22:30:23

2K+ Views

In 8085 Instruction set, SUI is a mnemonic that stands for ‘SUbtract Immediate from Accumulator and here d8 stands for any 8-bit or 1-Byte data. This instruction is used to subtract 8-bit immediate data from the Accumulator. The result of the subtraction will be stored in the Accumulator over witting ... Read More

Python program addition of two matrix

Samual Sam

Samual Sam

Updated on 30-Jul-2019 22:30:23

11K+ Views

Given two user input matrix. Our task is to display the addition of two matrix. In these problem we use nested List comprehensive. Algorithm Step1: input two matrix. Step 2: nested for loops only to iterate through each row and columns. Step 3: At each iterationshall add the corresponding ... Read More

Instruction type SBB R in 8085 Microprocessor

Samual Sam

Samual Sam

Updated on 30-Jul-2019 22:30:23

3K+ Views

In 8085 Instruction set, SBB R is mnemonic used for multi-Byte subtraction. Let us consider the following example on such subtraction In this above example, the subtraction of 62H and F1H will result in 71H with a borrow of 1. Next, we have to subtract 44H and 13H along ... Read More

Explain C# Grouping Constructs in regular expression

Samual Sam

Samual Sam

Updated on 30-Jul-2019 22:30:23

201 Views

There are various categories of characters, operators, and constructs that lets you to define regular expressions. One of them is Grouping Constructs. Grouping constructs describe sub-expressions of a regular expression and capture substrings of an input string. The following table lists the grouping constructs. Grouping construct Description Pattern ... Read More

Instruction type INX rp in 8085 Microprocessor

Samual Sam

Samual Sam

Updated on 30-Jul-2019 22:30:23

8K+ Views

In 8085 Instruction set, INX is a mnemonic that stands for “INcrementeXtended register” and rp stands for register pair. And it can be any one of the following register pairs. rp = BC, DE, or HL This instruction will be used to add 1 to the present content ... Read More

Inplace operator in Python

Samual Sam

Samual Sam

Updated on 30-Jul-2019 22:30:23

5K+ Views

Definition - In-place operation is an operation that changes directly the content of a given linear algebra, vector, matrices(Tensor) without making a copy. The operators which helps to do the operation is called in-place operator. Eg: a+= b is equivalent to a= operator.iadd(a, b) There are some ... Read More

Advertisements