Chandu yadav has Published 1163 Articles

One’s Complement

Chandu yadav

Chandu yadav

Updated on 31-Oct-2023 13:30:04

80K+ Views

Binary Number System is one the type of most popular Number Representation techniques that used in digital systems. In the Binary System, there are only two symbols or possible digit values, i.e., 0 (off) and 1 (on). Represented by any device that only 2 operating states or possible conditions.Generally, there ... Read More

8051 Program to Add two 8 Bit numbers

Chandu yadav

Chandu yadav

Updated on 31-Oct-2023 02:58:32

26K+ Views

Intel 8051 is an 8-bit microcontroller. It has many powerful instructions and IO accessing techniques. In this section, we will see one of the simplest program using 8051.Here we will add two8-bit numbers using this microcontroller. The register A(Accumulator) is used as one operand in the operations. There are seven ... Read More

Arithmetic Logic Unit (ALU)

Chandu yadav

Chandu yadav

Updated on 25-Oct-2023 14:19:35

24K+ Views

Inside a computer, there is an Arithmetic Logic Unit (ALU), which is capable of performing logical operations (e.g. AND, OR, Ex-OR, Invert etc.) in addition to the arithmetic operations (e.g. Addition, Subtraction etc.). The control unit supplies the data required by the ALU from memory, or from input devices, and ... Read More

How to Convert Octal to Binary?

Chandu yadav

Chandu yadav

Updated on 22-Oct-2023 13:02:17

27K+ Views

Octal number is one of the number systems which has value of base is 8, that means there only 8 symbols − 0, 1, 2, 3, 4, 5, 6, and 7. Whereas Binary number is most familiar number system to the digital systems, networking, and computer professionals. It is base ... Read More

What does it mean by select 1 from MySQL table?

Chandu yadav

Chandu yadav

Updated on 22-Oct-2023 02:07:45

26K+ Views

The statement select 1 from any table name means that it returns only 1. For example, If any table has 4 records then it will return 1 four times. Let us see an example. Firstly, we will create a table using the CREATE command. mysql> create table StudentTable ... Read More

Internal Data Memory Organization of Intel 8051

Chandu yadav

Chandu yadav

Updated on 14-Sep-2023 15:41:37

30K+ Views

The internal data memory of 8051 is divided into two groups. These are a set of eight registers and a scratch pad memory. These eight registers are R0 toR7. The address range 00H to 07H is used to access the registers, and the rest are scratch pad memory. 8051 Provides four ... Read More

MySQL error 1452 - Cannot add or update a child row: a foreign key constraint fails?

Chandu yadav

Chandu yadav

Updated on 14-Sep-2023 13:45:42

30K+ Views

This error comes whenever we add a foreign key constraint between tables and insert records into the child table. Let us see an example. Creating the child table. mysql> create table ChildDemo -> ( -> id int, -> FKPK int ... Read More

How to Convert Binary to Decimal?

Chandu yadav

Chandu yadav

Updated on 14-Sep-2023 13:12:25

24K+ Views

Binary is the simplest kind of number system that uses only two digits of 0 and 1 (i.e. value of base 2). Since digital electronics have only these two states (either 0 or 1), so binary number is most preferred in modern computer engineer, networking and communication specialists, and other ... Read More

How do I convert a double into a string in C++?

Chandu yadav

Chandu yadav

Updated on 14-Sep-2023 02:20:31

28K+ Views

A double can be converted into a string in C++ using std::to_string. The parameter required is a double value and a string object is returned that contains the double value as a sequence of characters.A program that demonstrates this in C++ is given as follows.Example Live Demo#include #include using ... Read More

Elementary Data Link Protocols

Chandu yadav

Chandu yadav

Updated on 13-Sep-2023 15:56:09

42K+ Views

Protocols in the data link layer are designed so that this layer can perform its basic functions: framing, error control and flow control. Framing is the process of dividing bit - streams from physical layer into data frames whose size ranges from a few hundred to a few thousand bytes. ... Read More

Advertisements