Commodity Trade Market in India

Ridhi Arora
Updated on 30-Jul-2019 22:30:24

197 Views

Commodity trading is trading in derivatives and commodity spot. There are two different categories of commodities we have to trade: Agricultural commodities and non-agricultural commoditiesAgricultural Commodities: These include grains and oilseeds (soybean, chana, corn, groundnut etc.), livestock, dairy products, bio-fuels etc.Non-Agricultural Commodities: These include Metals like gold, silver, copper etc.Also, there are 24 commodity exchanges in India and three national level commodity exchanges to trade in all permitted commodities.They are Multi Commodity Exchange of India Ltd, Mumbai (MCX), National Multi Commodity Exchange of India Ltd, Ahmedabad (NMCE) and National Commodity and Derivative Exchange, Mumbai (NCDEX)How Does It Work?When you buy ... Read More

Bus Arbitration in Computer Organization

yashwanth sitamraju
Updated on 30-Jul-2019 22:30:24

26K+ Views

What is Bus Arbitration?A device that initiates data transfers on the bus at any given time is called a bus master.In a computer system, there may be more than one bus master such as a DMA controller or a processor etc.These devices share the system bus and when a current master bus relinquishes another bus can acquire the control of the processor.Bus arbitration is a process by which next device becomes the bus controller by transferring bus mastership to another bus.Types of Bus ArbitrationThere are two types of bus arbitration namelyCentralised Arbitration.Distributed Arbitration.Only single bus arbiter performs the required arbitration ... Read More

Free Lightweight MySQL GUI for Linux

Arjun Thakur
Updated on 30-Jul-2019 22:30:24

174 Views

You can use phpMyAdmin, since it is one of the best free tools. This can be used for every system with PHP and MySQL. It is a free and open source administration tool for MySQL and MariaDB. PHPMYADMINHere is the URL to download −https://www.phpmyadmin.net/downloads/The following are the features of phpMyAdmin −Open source toolMySQL and MariaDB database management.One of the most popular MySQL administration toolsEasily Import data from CSV and SQLExport data to various formats. These include : CSV, SQL, XML, PDF, Word, Excel, LaTeX, etc.Administering multiple serversYou can also use EMMA. This is also a light-weight application.Read More

Retrieve First 40 Characters of a Text Field in MySQL

Vrundesha Joshi
Updated on 30-Jul-2019 22:30:24

180 Views

To get the first 40 characters from a text field, use LEFT() function from MySQL. The syntax is as follows −SELECT LEFT(yourColumnName, 40) as anyVariableName from yourTableName;To understand the above concept, let us create a table. The query to create a table is as follows −mysql> create table retrieveFirst40Characters −> ( −> AllWords text −> ); Query OK, 0 rows affected (0.59 sec)Now you can insert some record in the table with the help of insert command. The query is as follows −mysql> insert into retrieveFirst40Characters values('This is a query demo ... Read More

8085 Program to Find the Sum of a Series

Jennifer Nicholas
Updated on 30-Jul-2019 22:30:24

4K+ Views

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 More

Add Submit Button After TableView in Swift

karthikeya Boyini
Updated on 30-Jul-2019 22:30:24

2K+ Views

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 More

Python Pickling

Samual Sam
Updated on 30-Jul-2019 22:30:24

16K+ Views

Python pickle module is used for serializing and de-serializing python object structures. The process to converts any kind of python objects (list, dict, etc.) into byte streams (0s and 1s) is called pickling or serialization or flattening or marshalling. We can converts the byte stream (generated through pickling) back into python objects by a process called as unpickling.Why Pickle?: In real world sceanario, the use pickling and unpickling are widespread as they allow us to easily transfer data from one server/system to another and then store it in a file or database.Precaution: It is advisable not to unpickle data received ... Read More

Hash Format Flag in Java

karthikeya Boyini
Updated on 30-Jul-2019 22:30:24

359 Views

Apply the # flag to the %o, %x, %e, and %f format specifiers. If you want to display the hexadecimal number with a 0x prefix, then precede the %x specifier with #.Preceding the %x specifier with a #, the hexadecimal number will be printed with a 0x prefix.Let us see an example wherein $e is used. It includes a decimal point, even if the decimal digits are not present −Example Live Demoimport java.util.Formatter; public class Demo { public static void main(String args[]) { Formatter f = new Formatter(); System.out.println(f.format("%#e", 5F)); } }Output5.000000e+00

Cut First Character in MySQL String

George John
Updated on 30-Jul-2019 22:30:24

4K+ Views

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 More

What is Meant by a Rocket Propellant

Shanmukh Pasumarthy
Updated on 30-Jul-2019 22:30:24

522 Views

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 More

Advertisements