Chandu yadav has Published 1163 Articles

Fiber Optics vs Satellites

Chandu yadav

Chandu yadav

Updated on 03-Aug-2019 19:43:53

3K+ Views

Fiber optic communications and satellite communications are complementary to each other. Their properties are very different from one another and consequently their usage varies.Comparison between satellite communication and optical fiber communication can be done based upon the following areas −TerrainSatellite communication is best suited for rough terrains, poorly connected areas ... Read More

What is the equivalent of EXCEPT in MySQL?

Chandu yadav

Chandu yadav

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

4K+ Views

You cannot use EXCEPT in MySQL, instead use the NOT IN operator. Let us first create a table −mysql> create table DemoTable    (    Number1 int    ); Query OK, 0 rows affected (0.71 sec)Insert some records in the table using insert command −mysql> insert into DemoTable values(100); Query ... Read More

HTML hreflang Attribute

Chandu yadav

Chandu yadav

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

137 Views

The hreflang attribute of the element is used to set the language of the url in the area. Following is the syntax −Above, code is the ISO language code set for the language, for example, en for English, fr for French, js for Japanese, etc. Let us now see an ... Read More

Multiple Access with Collision Avoidance (MACA)

Chandu yadav

Chandu yadav

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

4K+ Views

Multiple Access with Collision Avoidance (MACA) is a medium access control (MAC) layer protocol used in wireless networks, with a view to solve the hidden terminal problem. It also provides solution to the exposed terminal problem. The MAC layer protocol IEEE 802.11 RTS/CTS has been adopted from MACA.Working PrincipleThe MACA ... Read More

Android Notification Example with Vibration, Sound, Action and Big View Styles

Chandu yadav

Chandu yadav

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

362 Views

This example demonstrate about Android Notification Example with Vibration, Sound, Action and Big View StylesStep 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.   ... Read More

C++ Program to Perform Sorting Using B-Tree

Chandu yadav

Chandu yadav

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

351 Views

Here we will see how to get the sorted sequence using B-Tree. The B-tree is n-ary tree. To get the sorted sequences, we can create a B-tree, then add the numbers into it. Here the B-tree can hold maximum 5 nodes. If number of nodes increases, split the node and ... Read More

Template Specialization in C++

Chandu yadav

Chandu yadav

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

691 Views

In C++, the templates are used to create generalized functions and classes. So we can use any type of data like int, char, float, or some user defined data also using templates.In this section, we will see how to use the template specialization. So now we can define some generalized ... Read More

Changing data type from date to date/time in MySQL?

Chandu yadav

Chandu yadav

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

499 Views

To change data type from date to date/time, use alter command.alter table yourTableName change yourColumnName yourColumnName datetime;Let us first create a table −mysql> create table DemoTable    (    Id int NOT NULL AUTO_INCREMENT PRIMARY KEY,    LoginDate date    ); Query OK, 0 rows affected (1.26 sec)Insert some records ... Read More

C++ tricks for competitive programming

Chandu yadav

Chandu yadav

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

320 Views

Here we will see some good tricks of C++ programming language that can help us in different area. Like if we want to participate in some competitive programming events, then these tricks will help us to reduce the time for writing codes. Let us see some of these examples one ... Read More

How to add a new row to JTable with insertRow() in Java Swing

Chandu yadav

Chandu yadav

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

5K+ Views

Let us first create a table with DefaulTabelMode −DefaultTableModel tableModel = new DefaultTableModel(); JTable table = new JTable(tableModel);Now, add a column to the table −tableModel.addColumn("Languages");The insertRow() method will now add a row −tableModel.insertRow(0, new Object[] { "CSS" }); tableModel.insertRow(0, new Object[] { "HTML5" }); tableModel.insertRow(0, new Object[] { "JavaScript" }); ... Read More

Advertisements