Sunday, February 17, 2008

C++

C++ is a mid-level computer language. It is a multi paradigm, free form, compiled, statically typed computer language. It supports data abstraction, generic programming, object oriented programming, and procedural programming.

Did you understand the meaning of the underlined worlds? Honestly speaking, I did not! I further read and and came out with the following interpretation of the underlined worlds.

  • Multi paradigm- C++ language supports both object oriented paradigm and procedural paradigm, hence it is multi paradigm.
  • Free form- Initially the computer languages that were formulated , had the code to be written in specific columns. In C++, the code can be written in white space, hence it is free form.
  • Compiled- C++ uses a compiler. A compiler, scans the entire code, line by line, and reports errors and warnings if any. A compiler is different from an interpreter. When an Interpreter is used , the errors(most of them) are reported immediately while the code is being written.
  • Statically typed- The C++ compiler accepts letters, numbers, characters in a particular type. In statical typing, the typing is done during design time. In dynamic tying the typing is done during run time.
  • Data abstraction- In C++ the object ca have many features.Only particular features of the object is written in the code. The particular features are written in the class of the object, and the class is known as data abstraction type.
  • Generic Programming- C++ has generic programming features.
  • Object Oriented Programming(OOP)- C++ uses objects, to develop applications. These objects interact with one another via various techniques namely Inheritance, Encapsulation, Polymorphism, Modularity.
  • Procedural Programming- A procedure can be function, method, routine, sub-routine. In procedural programming, a procedure can be called from any other procedure, without writing the whole code again.
C++ Language is an advancement of C Language and it was designed by Bjarne Stroustrup.

Tuesday, January 22, 2008

Anti matter

Anti-matter is a particular type of matter which is composed of particles which are antiparticles to particles of matter.

Example:- Positron is an electron which has positive charges, an anti proton is a particle which has negative charge.

Significance of anti-matter is that when matter and anti-matter particles collide a lot of energy is released, in accordance to Einstein's equation, E=mc2

where E is Energy, m is rest mass, c is the speed of light.

In matter antimatter reaction, the entire rest mass is converted into energy, hence the reactions are highly efficient. These reactions are more efficient than nuclear fusion reactions, and much more efficient than reactions used in space fuel. The energy is released at the speed of light from the point of annihilation.

If we could master the technology of conducting matter antimatter reactions, all our energy problems would be solved. About 11-12 picograms of antimatter is produced annually most of which is produced in C.E.R.N( European Organization for Nuclear Research). Antimatter particles are the most expensive components priced at an astounding $300 billion per gram.

Sunday, December 30, 2007

Working of a Photocopier



  • The drum is shown, it comprises of a coating of selenium. Selenium is a photo conductive material; the property of a photo conductive material is that when light falls upon it, it gets charged. The drum gets charged by high voltage wire. The document to be photocopied is illuminated by light, the white part of the document reflects maximum amount of light, when this light falls on the drum, the negative charged gets diminished by earthing; the written material on the document reflects least amount of light, and corresponding areas of the drum have negative charge. Thus a virtual electrical image is formed on the drum.
  • The toner are small particles of ink which are positively charged, they get attached to the negatively charged particles on the selenium.
  • The paper which is inserted is attributed a negative charge, which is higher in magnitude as compared to the negative charge on the drum. The toner particles get attached to the paper. The toner is melted and fused in the paper, by a combine action of heat and rolling effect.
  • The drum continuously roates during the process of photocopy. Before the next cycle of photocopying begins, the drum is discharged.

Tuesday, December 25, 2007

The Big Toe- world's largest bike


The Big Toe is the world's largest bike. This monster is 2.3m(7.5 feet) high and 5m wide, weighing an astonishing 1645kg.

I
t has custom designed hydraulic suspension and small supporting wheels to keep it upright. The control panel has the start button and a 5000W speaker with CD player is built within the bike.

It has a top speed of 100km/hr(62mph). It is more of a show bike rather than a street bike. It is not designed to travel at high speeds. It is powered by
1975 Vintage Type E Jaguar SOHC 2 valve 60 degree 300HP 5.3L 12cylinder engine. Intake comes from 45mm twin choke Weber carburetors and a custom stainless muffler system handles the exhaust.

The man responsible for this bike is Tom Wiberg of Sweden. This bike is listed in the
Guinness Book of World records as the tallest driveable motorcycle in the world.






Sunday, December 16, 2007

did you know?

In this thread I will post some interesting science facts :-

  • did you know, a fly when alighted on top of a steel bar causes the bar to bend under its weight. the magnitude of bend is extremely small(1/1000 of a centimeter).
  • did you know, if a set of fine scales is arranged, so that one scale is kept dark and light is allowed to fall on another scale, the lighted scale will sink slowly. Light has "weight"; the pressure of light on earth's surface is calculated as 2 pounds per square mile.
  • did you know, there are very few animals on this planet which are not eaten by something else. One of them is the firefly. The adult firefly with its glowing body has no know predator.
  • did you know, every word we speak requires the use of 72 muscles in our body.
  • did you know, that a flea accelerates from a standstill to 3 feet per second in less than two thousand of a second subjecting it to a force of 150G. This is roughly equivalent to the force that a driver will experience driving a truck in a brick wall at the speed of 200 miles/hour.

Sunday, October 7, 2007

useful tips

How to resize recyclebin
By default, certain amount of your hard disk space is utilized by the recycle bin. In general, it is10%( example- if your hard disk space is 200gb, then the space reserved for recycle bin is 20gb). Now, thats a considerable amount, fortunately the settings of the recycle bin can be changed by clicking on "properties", and the recycle bin can be deemed to hold less space.

Take iPod instead of your laptop when traveling
An iPod (and other portable USB storage devices) can hold computer files, Outlook data, Internet Explorer favorites, desktop wallpaper, and in some cases applications. Connect the iPod to a borrowed PC and it is like having access to your own computer. Later, sync the iPod with your PC back home.

Promote your blog for free
Promote your website of blog for free by making a lens on the Squidoo website. Check out http://www.squidoo.com/ for more information. A Squidoo web presence gives you high rankings on the search engines, particularly Goggle.