Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
Articles on Trending Technologies
Technical articles with clear explanations and examples
How faster is the time when we think of something and Google will show results?
When I googled the question "time taken for Google to show the results", I got 19,40,00,000 results in 0.47 seconds.This again varies with the speed of your system's processor and the speed of your internet connection.This wonderful, super fast search engine is 50,000 times faster than the time our brain takes to interpret an image and about 6 million times faster than the time it takes for an average human brain to react to an external stimulus.
Read MoreWhich out of Ph.D. or qualifying NET exam is better for students pursuing Master's degree in Literature?
First of all, it must be borne in mind that whatever step one takes in life-related to a course or degree, should be taken keeping in mind what does one need to achieve next or pursue next having this degree in hand. The same goes for all streams of education in India currently. Having said that, if I were to answer which out of Ph. D or NET exam in better to go with for Students pursuing masters in English Literature, again it varies from person to person.When to Choose Ph.D. over NETIf you are a sort of person who ...
Read MoreHow to remove onClickListener for a view in android?
In some situations, We should not allow onClickListener for a view. This example demonstrates how to remove onClickListener for a view 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/acitivity_main.xml. In the above code, we have taken a text view, In this example, we should remove onClickListner for this text view.Step 3 − Add the following code to src/MainActivity.javapackage com.example.andy.myapplication; import android.content.res.Configuration; import android.os.Build; import android.os.Bundle; import android.support.annotation.RequiresApi; import android.support.v7.app.AppCompatActivity; import ...
Read MoreWhat is Vernier Calipers and How it is used for Measurement?
Measuring things and distances is one of the important concepts to learn when we are studying maths. For maximum uses, measuring scales do the work quite well and everyone is aware of it how to use one. But the measuring scale only provides a specific level of correctness and once you need exact measurements which lie between two spots on the scale it becomes difficult to get a correct reading without a bit of counterpart.Also measuring scales are very vulnerable to parallax mistakes which can cause a huge portion of the difference in readings from person to person which is ...
Read MoreDecrease a row value by 1 in MySQL?
You can increase and decrease row value by 1 in MySQL using UPDATE command. The syntax is as follows −UPDATE yourTableName set yourColumnName = yourColumnName-1 where condition;Let us create a table to decrease row value by 1. The following is the query −mysql> create table IncrementAndDecrementValue −> ( −> UserId int, −> UserScores int −> ); Query OK, 0 rows affected (0.60 sec)Insert some records in the table using insert command. The query is as follows −mysql> insert into IncrementAndDecrementValue values(101, 20000); Query OK, 1 row affected (0.13 sec) mysql> insert into IncrementAndDecrementValue values(102, 30000); ...
Read MoreHow to set delay in android?
In some cases, after some time we need to update on UI to solve this problem, In this example demonstrate how to set a delay 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 code, we have taken text view, primary it shows "initial text" after some delay it will update with new text.Step 3 − Add the following code to src/MainActivity.javapackage com.example.andy.myapplication; import android.os.Build; import android.os.Bundle; import android.os.Handler; ...
Read MoreHow do search engines like Google work?
Can you imagine your life without Google?? In the present world of digitization, people are completely dependent on search engines for every small information. It is very interesting to know how can Google give so much information on so many websites in a blink of an eye? How does it work?Google has its most powerful tool: its search engine. Google uses a special algorithm to generate search results. It uses automated programs called Spiders or Crawlers. With the help of indexed keywords, and its unique algorithm google displays the search results.Google has the trademarked algorithm called Page Rank, which assigns ...
Read MoreSpecial features of Z-80
In this section we will see some advanced features of Zilog Z-80 Microprocessor. These features are basically compared to the Intel 8085 Microprocessor.The features are listed below −Sr.No.Features & Description1Opcode CountIn this Microprocessor there are 698 Opcodes of different lengths.2Instruction LengthThe instructions can be divided into four categories according to their lengths.There are 202 of 1-byte instructions, 344 of 2-byte instruction74 of 3-byte instruction78 of 4-byte instruction3Opcode LengthThe instructions can also be divided into two parts according to the opcode length. In the instruction set, there are instructions with 1-byte opcode and 2-byte opcode.The number of 1-byte opcode instruction is ...
Read MoreIncrease and decrease row value by 1 in MySQL with Stored Procedure?
Let us first create a table to increase and adecrease row value by 1. The following is the query −mysql> create table IncrementAndDecrementValue −> ( −> UserId int, −> UserScores int −> ); Query OK, 0 rows affected (0.60 sec)Insert some records in the table using insert command. The query is as follows −mysql> insert into IncrementAndDecrementValue values(101, 20000); Query OK, 1 row affected (0.13 sec) mysql> insert into IncrementAndDecrementValue values(102, 30000); Query OK, 1 row affected (0.20 sec) mysql> insert into IncrementAndDecrementValue values(103, 40000); Query OK, 1 row affected (0.11 sec)Display all records ...
Read MoreHow can I know when an EditText loses focus in Android?
This example demonstrates how can I know when an EditText loses focus.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 code, we have taken one edit text and two buttons. remove focus button going to remove the focus of edit text and other button going to gain focus of edit text.Step 3 − Add the following code to src/MainActivity.javapackage com.example.andy.myapplication; import android.os.Build; import android.os.Bundle; ...
Read More