Posts

Showing posts from October, 2014

Introduction to Programming

     With the concept of memory and processor it is easy to understand programming. This is next step in coding. Like when we translated a given problem in steps to solve. In next step we will convert it into final computer code and run it on computer. In this session we will learn basic functions that all programming languages provide.      Computer functionality has 2 basic parts. First part is interacting with user and second part is processing, storing or reading data. Interacting with user: To take data from user To give some feedback to user Processing: To process data (arithmetic, logical) To store data in memory To read data from memory      Every computer program does these basic functions like media players, games, calculator, MS office. Hence to write a program you need to implement the programming commands according to your code, pattern.      In any programming language ...

Basics of Computer 2 (data)

How programs run in computer is such a question which if answered properly will surprise you.      From a-z all applications (including games, multimedia data) run on numeric data . And it's not even very complex data either. Just integral and decimal data with basic functions that are performed on it by processor (+, -, *, /) that we learned in previous session. So don't worry if someone tells that programming is hard. It's just coding as i explained in introduction to coding.      So what is computer data? People ofter say or hear that computer only works on 0's and 1's. And obviously it's not very much the same data what we actually encounter while using computer. Here is how data is handled in computers as well as all electronic devices.      Computer data is called binary data. Binary means pair like pair of 0 and 1. This is similar to normal mathematical decimal data in which we have 10 basic terms being 0,1,2,3 ....

Basics of Computer

Let's take an overview on computer and try to understand it's basic functionality so that we can make computer code accordingly . First of all the definition of computer that being as this: Computer is an electronic device that takes data from user, process data and gives some results      So what we mean by this? Let's take an example of calculator, which when you turn on will take an input and then take your choice of operation and another value and display output. Hence it's an electronic device, it took input by it's keys and gave back result on it's LCD.      From this example we can see that there are different input and output devices that allow user to give input to computer and take some output. Most common devices being as follows: Input devices: Keyboard Mouse Microphone Scanner Joystick Touch pan and many other. Output devices: Monitor (LCD) Speaker Printer Projector and many others including robotics. ...

Introduction to Coding

Hi there. Welcome to the world of computer. First of all why coding? Why not ' introduction to programming ' or ' introduction to some language '? Let me explain something about this. Beginners to computer programming have to learn coding first then programming or more appropriately coding is fundamental part in making a program . Now you might ask what is difference between coding and programming ?? Both looks like same terms right...?      So here is what we mean by coding, it's the 'Logic' or 'Pattern' that you make in your mind by which you solve some problem. For example if you need to solve some equation like [ (x + 3) * z ] = 4                   you will defiantly think of some pattern that you will apply to this to find values of variables. So, this pattern is the code . You practice this all time for doing various stuff in routine life. Like for going out fo...