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

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

Follow

Get every new post delivered to your Inbox.