2011 in review

The WordPress.com stats helper monkeys prepared a 2011 annual report for this blog.

Here’s an excerpt:

A San Francisco cable car holds 60 people. This blog was viewed about 2,200 times in 2011. If it were a cable car, it would take about 37 trips to carry that many people.

Click here to see the complete report.

A Dive Into Object Oriented Programming

A few days back, one of my friends mentioned how 90 % percent of students still program in the old procedural way. And really I was shocked to notice that these stats were remarkably true.

It is unfortunate to see that majority of students jump into learning the Languages and their Syntax instead of paying attention to the basic programming concepts, therefore, leading to poor programming style and bad program designs.

Read more of this post

Switch Statement in C++

Here is the code tutorial for the Switch Statement in C++ Read more of this post

Console Input in C++

The statement used for taking user input from the console is ‘cout’ statement. Read more of this post

Console Output in C++

The command used for outputting text to console is the ‘cout’ statement. It resides in the iostream.h header file within the std namespace. For now ignore the terms and just get familiar with the program below. Read more of this post

if/else if And if/else if/else Selection Structure

Continuing the previous post of Selection Structure, here I am going to advance the Selection structure by including if/else if and then if / else if /else constructs as well.

In simple if statement, a block of code may or may not get executed depending upon the condition set. In the if/else structure, choice is available between two code blocks, your program must execute one of the two code blocks, either within if or within the else construct.

You can also extend the if/else structure by using the if / else if construct. This allows you to specify multiple code blocks each with a condition that must evaluate to true or false. As soon as one of the conditions is satisfied, the code block is executed and rest of the blocks are all skipped. Read more of this post

Selection Structure – The if and if/else Statement

Any simple program usually consists of lines of code that are executed one after the other unconditionally. Take the example of following simple c++ program… Read more of this post

Programming Control Structures

You have even written some programs to perform basic calculations. These programs have illustrated a very simple flow of control in a program. The program flow of control is the order in which the computer executes the statements in a program. Read more of this post

The Assignment Operator Plus Initilization

The assignment operator allows us to change the value of a modifiable data object (for beginning programmers this typically means a variable). It is associated with the concept of moving a value into the storage location (again usually a variable). Read more of this post

Expressions | Statements | Blocks

From a stylistic perspective, an expression is like a phrase; a statement is like a complete sentence; and a statement block is like a paragraph. For example, Read more of this post

Identifiers, Variables and Memory Locations

The first important concept in programming languages is the idea of identifiers. Identifiers are descriptive names that are mapped to locations in the computer’s memory. Once a memory location is given a specific name, Read more of this post

First C++ Program

Let’s dive into programming world using a simple C++ program. Read more of this post

How Programming Works – Behind the Scenes

A computer program is a sequence of commands executed by the Central Processing Unit(CPU) one after another. Those commands are generally very simple (likesums, multiplications, reading data from the Random Access Memory(RAM)), but are combined to do more complicated tasks. Typically a program consists of thousands to millions of such simple commands. Read more of this post

What is Actually Involved in Programming???

In this post I’m going to introduce some technical terms. It’s unavoidable. The jargon will always get you in the end (if you choose to become a programmer, soon you’ll actually be talking in jargon).

However, I’ll explain each term as we come to it, and there’s a list of jargon in the following section (with explanations, of course). Read more of this post

Can You Be A Programmer???

You may be feeling slightly uneasy if you read my previous article, What Programming Really Is??? . I’ve admitted that programming is, in a way, unnatural. I’ve warned you about the spectacular stupidity of computers, so you’re probably getting a small idea of the amount of task-description you’d need to do in order to make your computer do anything even vaguely impressive. Read more of this post

What Programming Really is?

Given the general nature of that question, and the fact that programming is seen as a hideously complex subject, you’re probably expecting a highly convoluted and technical answer. But you’re not going to get one (sorry about that). Read more of this post

Presentations – Here Come the Shivers

It can be the most daunting task if you haven’t given any presentations before.

Cold chills used to move down my spine with the name of presentation. All I could imagine was a herd of violent ruffians sitting in front ready to tear me apart.

But things changed drastically as I gave my first presentation. I took this tremendous ordeal without anybody’s help and yet came out with flying colors.

And so can you. Read more of this post

Rising Above Exam Results

Let’s get it straight, ‘Not everyone ends up with best results. No! Not even the best can always do it’.’

There is always something that goes wrong. A small + – mistake or just a lapse of concentration, and that ruins the results. Read more of this post

Design a site like this with WordPress.com
Get started