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
8085 program to find the sum of a series
In this program we will see how to add a blocks of data using 8085 microprocessor.Problem StatementWrite 8085 Assembly language program to add N 1-byte numbers. The value of N is provided.DiscussionIn this problem we are using location 8000H to hold the length of the block. The main block is stored from address 8010H. We are storing the result at location 9000H and 9001H. The 9000H holding the lower byte, and 9001H is holding the upper byte.Repeatedly we are taking the number from the memory, then adding it with accumulator and increase the register E content when carry flag is ...
Read MoreHow to add a Submit button after the end of the tableview using Swift?
To add a submit button at the end of a table view, we can make use of table view footers. Let’s see this with help of an example where we’ll add a footer view to our table, and inside the table, we will add code for adding button at the bottom of the table view.Create a new project first, then inside the view controller add the following code which will initialize the table, add a section and a few rows to the table.func initTableView() { let tableView = UITableView() tableView.frame = self.view.frame tableView.dataSource = self tableView.delegate ...
Read MoreHow to cut only the first character in MySQL string?
To cut only the first character, use the substr() function with UPDATE command. The syntax is as follows.UPDATE yourTableName set yourColumnName=substr(yourColumnName, 2);To understand the above syntax, let us first create a table. The query to create a table is as follows.mysql> create table CutStringDemo -> ( -> Value varchar(100) -> ); Query OK, 0 rows affected (0.66 sec)Now you can insert some records in the table using insert command. The query is as follows.mysql> insert into CutStringDemo values(', 12, 3456'); Query OK, 1 row affected (0.14 sec) mysql> insert into CutStringDemo values(', 23, 9867'); Query OK, 1 row affected ...
Read MoreWhat is meant by a rocket propellant?
A rocket can be an aircraft, spacecraft or a missile which is propelled by a rocket engine. A rocket engine works on the principle of Newton's Third law, that is, for every action, there is an equivalent and opposite reaction. Rocket propellant is the fuel which burns and produces thrust to propel the rocket.The propellants are usually fueled together with the oxidants. Oxidants are required to burn the fuel efficiently. Thus the chemical reaction in the combustion chamber produces the required energy for thrust.The propellant is burnt in a controlled manner in the combustion chamber of the rocket engine and ...
Read MoreWhich is the biggest market for precious metals in India?
Zaveri Bazaar is the oldest gold market in India and objects made of silver like napkin rings, picture frames in old silver can be bought from this market. Zaveri Bazaar, as the name suggests, is a jewellery market, to the north of Crawford Market.LocationIt is located close to Chhatrapati Shivaji Terminus and there are a number of trains that stop at this station. One can easily reach Zaveri Bazaar by boarding a local bus from the railway station or by an auto-rickshaw.Big brands such as 'Tanishq' and 'Tribhovandas Bhimji Zaveri' can be found here but here there are no shopping ...
Read MoreWhich is the best Programming language for career growth and development?
Well, if you are looking to learn a programming language for your career growth and advancement there are many programming languages out there. There are hundreds of programming languages on the web which can be learned online itself. There is no particular programming language which will help you in your career growth.Programming languages are dynamic in nature and one has to adopt any new technology by learning new programming languages. Of course, there are some popular programming languages which will help you in terms of career growth.SQLSQL(Structured Programming Language) is a popular programming language in the present scenario.It has been ...
Read MoreMySQL increment a database field by 1?
You can increment a database using update command. The syntax is as follows −UPDATE yourTableName set yourColumnName=yourColumnName+1 where condition;To understand the above syntax, let us first create a table. The query to create a table is as follows −mysql> create table IncrementBy1 -> ( -> Id int, -> Name varchar(100), -> CounterLogin int -> ); Query OK, 0 rows affected (0.63 sec)Insert some records using insert command. The query to insert records in the table is as follows −mysql> insert into IncrementBy1 values(100, 'John', 30); Query OK, 1 row affected (0.17 sec) mysql> insert ...
Read MoreHow to detect swipe vertically on a ScrollView using Swift?
To detect swipe in scrollView we will need to make use of some tricks as scroll view does not natively give the directions of scroll made on it. We’ll see this with help of an example.Create an empty project, add scroll view to the view as per your requirement.Give them constraint as required in the application.From the object library, drag and drop a swipe gesture recognizer right above the Scroll View.Select the gesture recognizer, go to its attribute inspector and from there, select the swipe option and set the value as “up”.When you do this, now your gesture recognizer can ...
Read MorePopulating a table from query results in MySQL?
To populate a table from query results, use the following syntax:INSERT yourTableName(yourColumnName1, yourColumnName2, yourColumnName3, ..........N) SELECT yourColumnName1, yourColumnName2, yourColumnName3, ..........N FROM yourAnotherTableName;To understand the above syntax, let us create a table. The first table is as follows with some records. The query to create a table is as follows:mysql> create table PopulateTableDemo -> ( -> Id int NOT NULL AUTO_INCREMENT, -> Name varchar(20), -> Amount int, -> ArrivalDateTime datetime, -> PRIMARY KEY(Id) -> ); Query OK, 0 rows affected (0.68 sec)Now you can insert some records in the table using insert command. The ...
Read MoreHow to add and remove encryption for MS Powerpoint Presentation?
Microsoft Office provides you with a feature of encrypting or protecting your powerpoint presentations from opening and modifying by other people. Even if you allow others to change your document, still you can restrict the changes others can do to your document.The only hitch is Microsoft cannot retrieve your forgotten passwords. So be careful with your passwords.The encryption offered by Microsoft is very strong. In a word document, you need not to change the encryption length unless you have a specific reason to alter the settings. Microsoft uses AES with a 128bit key, plus SHA1 salt and cipher block chaining ...
Read More