Articles Archive for July 2009
Car And Bike Corner, Under-The-Hood »
Electronic Brakeforce Distribution or EBD is an automobile brake technology that automatically varies the amount of brake-force applied to each of a vehicle’s wheels, depending on the road conditions, speed, loading, etc. The EBD is always coupled with ABS, and the system can ensure lesser braking distances, and more vehicular control under braking.
The front end of an automobile typically carries more weight compared to the rear, and the EBD ensures that lesser braking pressure is applied to the rear brakes, so that the rear wheels do not lock-up. When this …
C and C++, Tech Corner »
A programming language construct which stores and organizes a set of data items is called a data structure.
There are different types of data structures – arrays, stacks, queues, linked lists, structures, trees, files, etc.
An array can be defined as an ordered list of homogeneous data elements.
These elements may be of type int, float, char or double.
All these elemets are stored in consecutive memory locations.
An array is described by a single name or an identifier.
And each element in an array is referenced by a subscript(or an index) enclosed in a pair …
C and C++, Tech Corner »
Looping is a powerful programing technique through which a group of statements is executed repeatedly, until certain specified condition is satisfied.
Looping is also called a repetitive or an iterative control mechanism.
A loop in a program essentially consists of two parts, one is called the body of the loop and other is known as the control statement.
The control statement performs a logical test whose result is either true or false. If the result of this logical test is true, then the statements contained in the body of the loop are executed. …
Bike, Car And Bike Corner »
Seems that Yamaha is trying their best to take on the Pulsars and possibly take over the 150 cc segment of motor bikes in India.The Bajaj Pulsars have ruled the segment ever since the first Pulsars
were launched.The launch of the Yamaha FZ and the R15 has just made the competition a lot tougher for the Pulsars.The FZ has really got a good reception from the Indian markets and the encouraging signs have prompted Yamaha to launch the Yamaha Fazer 150.
The Fazer series which has been in international markets for a …
C and C++, Tech Corner »
Normally, the statements in a program are executed in the order in which they appear in the program. This type of execution is called sequential execution.
Control structures – define the order of execution of statements.
Conditional control statements – involves both decision making and branching.
if-statement.
if-else statement.
Nested-if-statement.
switch statement.
if-statement – used to execute a statement or a set of statements conditionally.
Also called a one-way branching.
Syntax -
if (condition)
{
statement;
}
if-else statement – The if statement is used to execute only one action. If there are two statements to be executed alternatively, then if-else statement is used.
Two-way …