Ankith Reddy has Published 996 Articles

How can we get sorted output based on multiple columns?

Ankith Reddy

Ankith Reddy

Updated on 20-Jun-2020 06:25:11

214 Views

We can specify multiple columns in ORDER BY clause to get the sorted output based on those multiple columns. Following as an example to make this concept clearer −mysql> Select * from Student ORDER BY Name, Address; +------+---------+---------+-----------+ | Id   | Name    | Address | Subject   ... Read More

CSS speech-rate property

Ankith Reddy

Ankith Reddy

Updated on 19-Jun-2020 16:38:17

108 Views

The speech-rate property specifies the speaking rate. Note that both absolute and relative keyword values are allowed.The possible values are -number − Specifies the speaking rate in words per minute.x-slow − Same as 80 words per minute.slow − Same as 120 words per minute.medium − Same as 180 - 200 words ... Read More

Java program to calculate mean of given numbers

Ankith Reddy

Ankith Reddy

Updated on 19-Jun-2020 14:54:39

6K+ Views

Mean is an average value of given set of numbers. It is calculated similarly to that of the average value. Adding all given number together and then dividing them by the total number of values produces mean.For Example Mean of 3, 5, 2, 7, 3 is (3 + 5 + 2 ... Read More

What is the use of DEFAULT constraint? How can it be applied to a column while creating a table?

Ankith Reddy

Ankith Reddy

Updated on 19-Jun-2020 13:38:37

120 Views

DEFAULT constraint is used set a default value for a column in MySQL table. If it is applied on a column then it will take the default value of not giving any value for that column. Its syntax would be as follows −SyntaxDEFAULT default_valueHere, default_value is the default value set ... Read More

Network Standardization

Ankith Reddy

Ankith Reddy

Updated on 18-Jun-2020 07:08:49

22K+ Views

Network StandardsNetworking standards define the rules for data communications that are needed for interoperability of networking technologies and processes. Standards help in creating and maintaining open markets and allow different vendors to compete on the basis of the quality of their products while being compatible with existing market products.During data ... Read More

Who’s Who in the International Standards World

Ankith Reddy

Ankith Reddy

Updated on 18-Jun-2020 07:05:52

473 Views

International Standards are needed so that products and systems developed in different parts of the world are interoperable and compatible with each other. The standards aim to ease out the technical differences and also to ensure product safety.The most prominent organization that lays down international standards is the ISO (International ... Read More

X.25 and Frame Relay

Ankith Reddy

Ankith Reddy

Updated on 17-Jun-2020 15:04:06

17K+ Views

X.25X.25 is a protocol suite defined by ITU-T for packet switched communications over WAN (Wide Area Network). It was originally designed for use in the 1970s and became very popular in 1980s. Presently, it is used for networks for ATMs and credit card verification. It allows multiple logical channels to ... Read More

Basic Ethernet

Ankith Reddy

Ankith Reddy

Updated on 17-Jun-2020 14:59:31

7K+ Views

Ethernet is a set of technologies and protocols that are used primarily in LANs. However, Ethernet can also be used in MANs and even WANs. It was first standardized in the 1980s as IEEE 802.3 standard. Since then, it has gone through four generations, as shown in the following chartStandard ... Read More

How can we do the basic print formatting for Python numbers?

Ankith Reddy

Ankith Reddy

Updated on 17-Jun-2020 12:39:20

211 Views

You can format a floating number to the fixed width in Python using the format function on the string. For example, nums = [0.555555555555, 1, 12.0542184, 5589.6654753] for x in nums:    print("{:10.4f}".format(x))This will give the output0.5556 1.0000 12.0542 5589.6655Using the same function, you can also format integersnums = [5, ... Read More

How to search Python dictionary for matching key?

Ankith Reddy

Ankith Reddy

Updated on 17-Jun-2020 11:17:59

4K+ Views

If you have the exact key you want to find, then you can simply use the [] operator or get the function to get the value associated with this key. For example, Examplea = {    'foo': 45,    'bar': 22 } print(a['foo']) print(a.get('foo'))OutputThis will give the output:45 45ExampleIf you ... Read More

Advertisements