Chandu yadav has Published 1163 Articles

How to check android mobile supports GAME Rotation Vector sensor?

Chandu yadav

Chandu yadav

Updated on 29-Jun-2020 09:34:36

237 Views

This example demonstrate about How to check android mobile supports GAME Rotation Vector 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 ... Read More

Set the result of a query to a variable in MySQL?

Chandu yadav

Chandu yadav

Updated on 29-Jun-2020 09:10:38

326 Views

You can set the result of a query using select into command. The syntax is as follows.select yourColumnName1 into @anyVariableName from yourTableName where yourColumnName2='anyValue';Check the result is present in the variable or not using the select command. The syntax is as follows -select @anyVariableName;To understand the above syntax, let us ... Read More

HTML Tag

Chandu yadav

Chandu yadav

Updated on 29-Jun-2020 09:06:21

60 Views

The element in HTML is used to form the text bigger than the default.Note: The element is not supported in HTML Let us now see an example to implement the element in HTML−Example Live Demo    Demo Heading    This is demo text!    This demo ... Read More

HTML Tag

Chandu yadav

Chandu yadav

Updated on 29-Jun-2020 08:53:06

57 Views

The area tag in HTML is used to set an area in image map.Following are the attributes −AttributeValueDescriptionalttextSpecifies an alternate text for the area.coordsif shape = "rect" then coords = "left, top, right, bottom"if shape = "circ" then coords = "centerx, centery, radius"if shape = "poly" then coords = "x1, ... Read More

HTML autofocus Attribute

Chandu yadav

Chandu yadav

Updated on 29-Jun-2020 08:44:41

68 Views

The autofocus attribute of the element is used to specify which of the would get focus when the web page loads. This attribute introduced in HTML5.Following is the syntax −Let us now see an example to implement the autofocus attribute of the element −Example Live Demo ... Read More

HTML Tag

Chandu yadav

Chandu yadav

Updated on 29-Jun-2020 08:33:33

49 Views

The q tag in HTML is used to specify a short quotation. The quotation marks get inserted around the text set inside the q tag i.e. the quotation.Following is the attribute −cite: It sets the source url of the quote.Let us now see an example to implement the tag ... Read More

How can I simulate a print statement in MySQL?

Chandu yadav

Chandu yadav

Updated on 29-Jun-2020 08:11:52

8K+ Views

To simulate a print statement in MySQL, you can use select statement. The syntax is as follows −SELECT ‘anyStringValue’ as ’ ‘;You can check the above syntax at the MySQL command line client.Case 1To print a string.mysql> select 'HELLO MYSQL' as ' ';Output+-------------+ |             ... Read More

Rotate In Down Right Animation Effect with CSS

Chandu yadav

Chandu yadav

Updated on 29-Jun-2020 07:14:08

72 Views

To create a rotate in down animation effect with CSS, you can try to run the following code −ExampleLive Demo                    .animated {             background-image: url(/css/images/logo.png);             background-repeat: no-repeat;     ... Read More

Registers used in 8259

Chandu yadav

Chandu yadav

Updated on 29-Jun-2020 06:07:59

2K+ Views

The 8259 is a specialized I/O port chip. It is never used in the interfacing of I/O devices but is only used for controlling the interrupts in a microcomputer.8259 consists of A0 as the only address input pin. Hence for a microprocessor, only two addresses are possible for the 8259 ports. ... Read More

Instructions to perform AND operation in 8085 Microprocessor

Chandu yadav

Chandu yadav

Updated on 27-Jun-2020 15:00:56

3K+ Views

In 8085 Instruction set, and specially in its logical group of instructions, we have AND, OR, XOR, NOT type of instructions. 8085 does not have instructions to perform NAND, NOR, XNOR operations directly. Now let us discuss the instructions to perform AND operations only.To perform ANDing of two numbers, 8085 ... Read More

Advertisements