Ankith Reddy has Published 1070 Articles

filter_var() function in PHP

Ankith Reddy

Ankith Reddy

Updated on 27-Dec-2019 10:13:34

374 Views

The filter_var() function is used to filter a variable with a specified filter.Syntaxfilter_var(variable, filter, options)Parametersvariable − The name of variable.filter − The name of filter to get ID.options − Specifies options to use.ReturnThe filter_var() function returns filtered data on success, or false on failure.Example Live DemoRead More

Inference Theory of the Predicate Calculus

Ankith Reddy

Ankith Reddy

Updated on 09-Aug-2019 07:01:33

3K+ Views

To reach on a conclusion on quantified statements, there are four rules of inference which are collectively called as Inference Theory of the Predicate Calculus.Table of Rules of InferenceRule of InferenceName$$\begin{matrix} \forall x P(x) \ \hline \therefore P(y) \end{matrix}$$Rule US: Universal Specification$$\begin{matrix} P(c) \text { for any c} \ \hline ... Read More

HTML cite Attribute

Ankith Reddy

Ankith Reddy

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

136 Views

The cite attribute of the element is used to set a URL that specified the reason to insert the text. Following is the syntax −Above, we have set url, which is the address to the document explaining the reason to insert the text. Let us now see an example ... Read More

Clear To Send (RTS)

Ankith Reddy

Ankith Reddy

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

3K+ Views

Clear to Send (CTS) is a control frame employed in the medium access control (MAC) layer protocol IEEE 802.11 RTS/CTS. The protocol uses the concept of Multiple Access with Collision Avoidance (MACA) in wireless networks. The RTS/CTS (Request to Send / Clear to Send) mechanism aims to reduce frame collisions ... Read More

HTML Computer Code Elements

Ankith Reddy

Ankith Reddy

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

305 Views

To display computer codes on the web page, some elements are provided in HTML. Let us see those elements one by one − element in HTMLThe tag is used to define the keyboard input. Use this when you want the user to type on their keyboard, for example, shortcut ... Read More

HTML
Tag

Ankith Reddy

Ankith Reddy

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

749 Views

The tag defines the heading of an HTML document. It is used to group the - headings.Note − The tag introduced and deprecated in HTML5. It is dropped from W3C HTML5 specification.Following is the syntax − Let us now see an example to ... Read More

C++ Program to Check Whether an Undirected Graph Contains a Eulerian Path

Ankith Reddy

Ankith Reddy

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

914 Views

The Euler path is a path; by which we can visit every node exactly once. We can use the same edges for multiple times. The Euler Circuit is a special type of Euler path. When the starting vertex of the Euler path is also connected with the ending vertex of ... Read More

C++ Program to Find the Number of Permutations of a Given String

Ankith Reddy

Ankith Reddy

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

1K+ Views

We can arrange the characters of a string in different order. Here we will see how we can count the number of permutations can be formed from a given string.We know that if one string is ‘abc’. It has three characters; we can arrange them into 3! = 6 different ... Read More

HTML autocomplete Attribute

Ankith Reddy

Ankith Reddy

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

183 Views

The autocomplete attribute of the element allows you to set whether the autocomplete for the input should be on or off. The web browser automatically fills the values if autocomplete is on. This only happens if the user already entered values before.Following is the syntax −Above,  on | off values ... Read More

C++ Program to Find the Number of Ways to Write a Number as the Sum of Numbers Smaller than Itself

Ankith Reddy

Ankith Reddy

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

193 Views

In this program we will count the number of ways one number can be represented by sum of numbers smaller than itself. This program will count the partition of given numbers. We take a number n as input, then starting from a number break it by removing 1 at a ... Read More

Advertisements