Chandu yadav has Published 1163 Articles

Machine language program

Chandu yadav

Chandu yadav

Updated on 27-Jun-2020 11:03:58

3K+ Views

Computer can understand only the language of Digital Electronics. Digital Electronics deals with presence and absence of voltages. Within the computer there are two logics can play their role. These logics are −Positive Logic − Here presence of voltage will be denoted by 1 and absence of voltage will be ... Read More

How to check android device finger print has enrolled?

Chandu yadav

Chandu yadav

Updated on 27-Jun-2020 10:37:04

277 Views

This example demonstrate about How to check android device finger print has enrolledStep 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

Microprocessor Basics

Chandu yadav

Chandu yadav

Updated on 27-Jun-2020 09:24:10

3K+ Views

The processor on a single chip is called a Microprocessor which can process micro-instructions. Instructions in the form of 0s and 1s are called micro-instructions. The microprocessor is the CPU part of a microcomputer, and it is also available as a single integrated circuit. Thus as main components, the microprocessor ... Read More

FILTER_SANITIZE_STRIPPED constant in PHP

Chandu yadav

Chandu yadav

Updated on 27-Jun-2020 08:53:04

120 Views

The FILTER_SANITIZE_STRIPPED constant encodes or strips unwanted characters.Options and FlagsFILTER_FLAG_NO_ENCODE_QUOTES − This flag does not encode quotesFILTER_FLAG_STRIP_LOW − Strips characters with ASCII value below 32FILTER_FLAG_STRIP_HIGH − Strips characters with ASCII value above 32FILTER_FLAG_ENCODE_LOW − Encodes characters with ASCII value below 32FILTER_FLAG_ENCODE_HIGH − Encodes characters with ASCII value above 32FILTER_FLAG_ENCODE_AMP − ... Read More

define() function in PHP

Chandu yadav

Chandu yadav

Updated on 27-Jun-2020 08:49:54

672 Views

The define() function defines a constant.Syntaxdefine(const_name, value, case_insensitive)Parametersconst_name − The name of the constant.value − The value of the constant.case_insensitive − The constant name should be case-insensitive.ReturnThe define() function returns true on success or false on failure.ExampleThe following is an example that defines a constant. Live DemoOuptutThe following is the output.This ... Read More

16-bit microprocessors

Chandu yadav

Chandu yadav

Updated on 27-Jun-2020 08:48:15

4K+ Views

In computer architecture, 16-bit integers, memory addresses, or other data units are those that are 16 bits (2 octets or 2 Bytes) wide. Also, 16-bit CPU and ALU architectures are those that are based on registers, address buses, or data buses of that size. 16-bit microcomputers are computers in which ... Read More

FILTER_SANITIZE_ENCODED constant in PHP

Chandu yadav

Chandu yadav

Updated on 27-Jun-2020 08:38:21

195 Views

The FILTER_SANITIZE_ENCODED constant encodes special characters.Flags and OptionsFILTER_FLAG_STRIP_LOW − Remove characters with ASCII value less than 32FILTER_FLAG_STRIP_HIGH − Remove characters with ASCII value greater than 127FILTER_FLAG_ENCODE_LOW − Encode characters with ASCII value less than 32FILTER_FLAG_ENCODE_HIGH − Encode characters with ASCII value greater than 127ReturnThe FILTER_SANITIZE_ENCODED constant does not return anything.ExampleThe ... Read More

How to convert JS date time to MySQL datetime?

Chandu yadav

Chandu yadav

Updated on 27-Jun-2020 07:14:32

1K+ Views

We can convert JS date time to MySQL datetime with the help of toISOString() function.Let us see an example of JavaScript.Example Live Demo           Web Page Design                document.writeln(new Date().toISOString().slice(0, 19).replace('T', ' '));           ... Read More

How to draw triangle shape in android?

Chandu yadav

Chandu yadav

Updated on 27-Jun-2020 06:56:50

2K+ Views

This example demonstrate about How to draw triangle shape 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 the above ... Read More

How to draw love shape in android?

Chandu yadav

Chandu yadav

Updated on 27-Jun-2020 06:53:10

481 Views

This example demonstrate about How to draw love shape 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 the above ... Read More

Advertisements