ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel
  • »
  • Technology»
  • Computers & Software»
  • Computer Science & Programming»
  • Programming Languages

Basic Knowledge Required in Programming

Updated on February 26, 2013

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.

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.

Just a question, what programming language you are most interested to learn and use? We might share the same favorite language. ^_^


Below are simple programming projects that were coded in netbeans java compiler, you might want to have a glance on it or try it on your own java compiler. Those are all working codes.Choose the source code you want below.


    0 of 8192 characters used
    Post Comment

    • aisha91 profile image

      Rasna Aisha 4 years ago from Manila, Philippines

      You are right Dipu, thanks for pointing that out. I basically write the algorithm first before I program. Flowchart is best to use on making a system, hope I can post that for the coming days. Your thought is most welcome here Dipu, hope you stop by again and share your thoughts :)

    • profile image

      Dipu 5 years ago

      one more important thing is to understand is the logic development in programming may be by using flowcharts or the algorithm itself.

    • aisha91 profile image

      Rasna Aisha 6 years ago from Manila, Philippines

      Thank you Brett for stopping by and commenting. I know you can, just try it out...:)

    • Brett.Tesol profile image

      Brett Caulton 6 years ago from Thailand

      Interesting, but way beyond my level.

      Thanks for SHARING.