Chandu yadav has Published 1163 Articles

Converting date from 'dd/mm/yyyy' to 'yyyymmdd' in MySQL

Chandu yadav

Chandu yadav

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

1K+ Views

To convert date from 'dd/mm/yyyy' to 'yyyymmdd', you can use the date_format() method. Let us first create a table −mysql> create table DemoTable (    Id int NOT NULL AUTO_INCREMENT PRIMARY KEY,    Admissiondate varchar(200) ); Query OK, 0 rows affected (0.54 sec)Insert some records in the table using insert ... Read More

8085 Program to multiply two 8-bit numbers (shift and add method)

Chandu yadav

Chandu yadav

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

3K+ Views

Now let us see a program of Intel 8085 Microprocessor. In this program we will see how to multiply two numbers using shift and add methods.Problem Statement:Write 8085 Assembly language program to multiply two 8-bit numbers using shift and add method.Discussion:The shift and add method is an efficient process. In ... Read More

Data transfer schemes in 8085

Chandu yadav

Chandu yadav

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

10K+ Views

At the time of executing one 8085 program, interruption can be done in the mid-way by the virtue of the program by an Input Output device. Interruption can be done by the method according to which the processor works, since it wants urgent communication with the processor. The data transfer ... Read More

Data type of character constants in C and C++

Chandu yadav

Chandu yadav

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

702 Views

In C++ the size of the character constants is char. In C the type of character constant is integer (int). So in C the sizeof(‘a’) is 4 for 32bit architecture, and CHAR_BIT is 8. But the sizeof(char) is one byte for both C and C++.Example Live Demo#include main() {    printf("%d", ... Read More

What is the difference between #include and #include “filename”?

Chandu yadav

Chandu yadav

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

260 Views

The difference between the two forms is in the location where the preprocessor searches for the file to be included.#include The preprocessor searches in an implementation-dependent manner, it searches directories pre-designated by the compiler. This method is usually used to include standard library header files.#include "filename"The preprocessor searches in the ... Read More

How to add separator to numbers using MySQL views?

Chandu yadav

Chandu yadav

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

138 Views

Let us first create a table −mysql> create table DemoTable (    StudentId int ); Query OK, 0 rows affected (0.62 sec)Insert some records in the table using insert command −mysql> insert into DemoTable values(343898456); Query OK, 1 row affected (0.20 sec) mysql> insert into DemoTable values(222333444); Query OK, 1 ... Read More

Prompt mode in 8085 Microprocessor

Chandu yadav

Chandu yadav

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

324 Views

We have seen previously that the linker is invoked in three modes i.e. they are command line mode, prompt mode and data file mode. In the Prompt mode the linker is run by simply typing the ‘LINK85’. Responding to the prompt the linker requests the user for the file name. ... Read More

MySQL replace values in a table?

Chandu yadav

Chandu yadav

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

186 Views

To replace values in a table, use the CASE statement. To understand the concept, let us create a table. The query to create a table is as followsmysql> create table replaceValueDemo    -> (    -> Id int NOT NULL AUTO_INCREMENT PRIMARY KEY,    -> Name varchar(10),    -> isGreaterThan18 ... Read More

General discussion about 8085 interrupts

Chandu yadav

Chandu yadav

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

94 Views

The pins of Interrupt of 8085 are used by Input Output devices just for the initiation of the data transfer to or from 8085, without the wasting of the time of the CPU. As we have seen previously it is a very useful process when there is no well known ... Read More

How to Scroll top in RecyclerView with LinearLayoutManager

Chandu yadav

Chandu yadav

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

107 Views

Before getting into example, we should know what is Recycler view in android. Recycler view is more advanced version of list view and it works based on View holder design pattern. Using recycler view we can show grids and list of items.This example demonstrate about how to Scroll top in ... Read More

Advertisements