Define OLEBD.What do you mean by term operator precedence??

OLE DB (pronounced as separate letters) is a set of COM-based interfaces that expose data from a variety of sources, such as spreadsheets, project plans, SQL, legacy databases and more. OLE DB interfaces provide applications with uniform access to data stored in diverse information sources, or data stores. These interfaces support the amount of database management system (DBMS) functionality appropriate to the data store, enabling it to share its data.

In it’s very simplest terms, it means what (mathematical or logical) operator is more important than others. This is a very important concept, without rules as to which instruction to do first, computers would be pretty stupid. Take the example of 2 + 3 * 4. As humans, we naturally know (because we were taught at school) to do the multiplication first, then the addition. But without these rules, it would be impossible to know whether the answer is 14 or 20 (because (2 + 3) * 4 is 20, and 2 + (3 * 4) is 14). But luckily, the clever people who invent computer languages define these rules and tell us what the rules are. These are usually quite long and boring documents, although thankfully for us, there are non-nerds out there who make these a little easier to read. Take a look at the Mozilla Javascript operator precedence document, for example. These rules help the compiler (or interpreter) to create a parse tree which tells it what to do, and in which order.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s