Posts

Basic of computer programming

Introduction to Computer Program Before getting into computer programming, let us first understand computer programs and what they do. A computer program is a sequence of instructions written using a Computer Programming Language to perform a specified task by the computer. The two important terms that we have used in the above definition are − Sequence of instructions Computer Programming Language To understand these terms, consider a situation when someone asks you about how to go to a nearby KFC. What exactly do you do to tell him the way to go to KFC? You will use Human Language to tell the way to go to KFC, something as follows − First go straight, after half kilometer, take left from the red light and then drive around one kilometer and you will find KFC at the right. Here, you have used English Language to give several steps to be taken to reach KFC. If they are followed in the following sequence, then you will reach KFC − 1. Go straight 2. Drive half kilo

fundamental of programming

                                                 Fundamentals of Programming       The goal of this article is to provide a simplified mental framework for dealing with all programming languages. In my years of studying different languages alongside with mathematics, I found that they share the same structure. These transferable mental structure have speed up my understanding of any new language I encounter. In the realm of programming, the whole field can be simplified by thinking of two main players, the data type (object of study) and the functions (method). The data are objects upon which we operate our functions to generate another data. The dynamics between the data type and functions allow us to solve complex problems in just a few codes. In learning any new language, approach it by having, at the back of your mind, the dynamics of the different data types/data structures with all the allowable functions. Data type : a classification of data that determine