Friday, 21 November 2014

Basic Knowledge Required in Programming

There are basic knowledge required in programming and it must be learned so that someone would be able to work for his/her simple programming projects. Below is the simple list of the basic knowledge required in programming. This hub is only intended for those who want to know how to program and just a quick guide on what should be learned if someone is a beginner in programming.
1. Know How to Declare Variables
Variable can be any name that will choose by the programmer, however the best practice mentioned is that the variables must be related to what the program does to avoid confusion for the programmer while coding. Variables are associated with data types like int, double, long, float, short, string, boolean, char etc.
int num1, int num2;
double num1, double num2;
String word1, String word2;
char ans;
2. Know How to Use Basic Flow of Controls
If and else statement, while loop, do while loop, for loop and switch statement are but an example of basic flow of controls. For c++ and java language the use of these controls have only a very little difference though the syntax or logic on using these controls are the same. Knowing the basic flow of controls is very important in programming because it almost carries all the implementations wanted by the programmer in his program.
3. Acquaint yourself with Arrays and Function
If you have a programming book you must know how to use arrays and functions, these two are widely used in simple programming as well as in higher programming. Learning it and be an expert on using it will give you many advantages in the future as a programmer.
 programming

Somehow, these are all I can think of that will help a beginner in his/her first step as a programmer. Simple programming projects consist only of all these three. The use of arrays and implementing a function call depends on what programming language someone use. But for whatever programming language you want to learn, knowing these three would be a big help. If you want to know more about the programming language you use, delving deeply on its pre-defined functions would help you a lot to have an excellent program. I would upload sample codes using java language and some of them are in OOP. They are simple programming projects that you can test and run on your compiler.

No comments:

Post a Comment

Download

Subscribe