Ankith Reddy has Published 996 Articles

How to find strings with a given prefix in MySQL?

Ankith Reddy

Ankith Reddy

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

4K+ Views

You can use LIKE operator to find strings with a given prefix.The syntax is as followsselect *from yourTableName where yourColumnName LIKE 'yourPrefixValue%';To understand the above syntax, let us create a table. The query to create a table is as followsmysql> create table findStringWithGivenPrefixDemo    -> (    -> UserId int ... Read More

Use of 74138 in ALS-SDA-85M kit

Ankith Reddy

Ankith Reddy

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

184 Views

In the ALS-SDA-85M kit, we have 74138 EPROM of minimum size 16K x 8 and size of RAM IS 2K x 8, there are empty sockets for the EPROM to get expanded. The selection of these four chips is done by the integrated circuit 74138. Every time the selection of ... Read More

How to check android mobile supports TEMPERATURE sensor?

Ankith Reddy

Ankith Reddy

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

584 Views

This example demonstrate about How to check android mobile supports TEMPERATURE sensorStep 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.     In the ... Read More

How to make an Android device vibrate?

Ankith Reddy

Ankith Reddy

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

1K+ Views

In android, using vibrate service, we can vibrate android mobile. This example demonstrate about how to make an Android device vibrateStep 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the ... Read More

Program for adding 4 hex digits of a 16-bit number in 8085 Microprocessor

Ankith Reddy

Ankith Reddy

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

626 Views

We write an 8085 assembly language program for the addition of 4 hex digits of a 16-bit number whose input is given from the keyboard and the result is displayed in the data field.FILE NAME ADDHEX.ASM ORG C000H CURDT: EQU FFF9H UPDDT: EQU 06D3H GTHEX: EQU 052FH HXDSP: EQU 05A1H ... Read More

How to check current wifi always discoverable in android?

Ankith Reddy

Ankith Reddy

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

128 Views

This example demonstrate about How to check current wifi always discoverable in android.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.     In ... Read More

How to select from MySQL table A that does not exist in table B?

Ankith Reddy

Ankith Reddy

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

2K+ Views

You can use IN operator to select from one table that does not exist in another. To understand the above syntax, let us create a table.The first table name is A and second table name is B. The query to create a table is as followsmysql> create table A   ... Read More

Create KeyValue Tuple from an array in Java

Ankith Reddy

Ankith Reddy

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

123 Views

To create KeyValue tuple from an array in Java, you need to use the fromArray() method. Let us first see what we need to work with JavaTuples. To work with KeyValue class in JavaTuples, you need to import the following packageimport org.javatuples.KeyValue;Note Download JavaTuples Jar library to run JavaTuples program. ... Read More

Implementation of moving display using 8085 Microprocessor

Ankith Reddy

Ankith Reddy

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

761 Views

Intel 8279 is a specially designed Input Output port chip which performs two major functions. It scans a matrix keyboard, as well as it displays a multiplexed display such that the processor gets relieved from the extreme tasks and let it performs systematically. We had given a brief description about ... Read More

Memory Read (MR) machine cycle in 8085 Microprocessor

Ankith Reddy

Ankith Reddy

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

8K+ Views

The last three clock cycles in ‘MOV C, M’ instruction are the example for Memory Read machine cycle. Waveforms for Machine Read machine cycle is shown below: InstructionOperationAddress reg.LDA 1234HLoading W with 12H (or Z with 34H)PCPOP BPopping information from stack topSPMOV C, MLoading A from memory pointed by HLHLLDAX BLoading ... Read More

Advertisements