Tuesday, 2 August 2011

WHAT IS A METHOD IN PROGRAMMING?

In programming, method is a subroutine with a class.method tell us the behavior exhibited by the instances of the class during the run time.There are 3 types of special methods
1) constructor
2) destructor
3) copy assignment operator

these are the special type of methods and they are language dependent. they may be built in the compile.

TYPES OF PROGRAMMING

there are several types of programmings

1) hardware programmin
2) software programming
3) game programming




WHAT IS A OBJECT IN PROGRAMMING?

Stop for a min..and observe your surrounding world..you immediately may eye on your switch board your fan or may be on your door...these are the objects for you but posses the different characteristics...in software development the "object" is the same thing like these which have same characteristics and used for different purposes..:D

Monday, 1 August 2011

WHAT IS A CLASS IN PROGRAMMING??

WOOOW ....class...it's not a biology or computer class but it's a class which is used by programmers for programming...it is the method to construct something or a pattern....for example if a builder wants to build up a building then 1st he decides how to adopt a method and build a building.....You are building a written outline of what looks like a lot of class. There are indications that, written in the Java language must follow the rules of this outline. In computer programming, and these areas are called grammatical rules of language.     

WHAT IS A FUNCTION IN PROGRAMMING?

If u want to perform a specific task then you 1st decide what to do and then decide how to do......that specific task is known as function for you....you are capable of performing a several tasks depending upon your abilities...each task is a separate function for you...e.g, your mom said to u to bring a fruits and after that she tell you to bring some vegetables for lunch then you perform 2 different functions but in 2 different times..in short ."FUNCTION IS A SET OF INSTRUCTIONS WHICH IS USED TO PERFORM A SPECIFIC TASK".....in other words consider a function as a black box...shocking..:O...BLACK BOX hmmm....but don't be excited...this black box is a simple device which takes some inputs and produces your desires output...now we have one more definition of function....A SET OF INSTRUCTION WHICH WILL TAKE SOME INPUTS AND PRODUCES THE OUTPUT ACCORDING TO THE INSTRUCTIONS ASSIGNED TO IT.......

STARTING WITH PROGRAMMING

computers are not very intelligent to do work for you such as searching on internet and clean your house etc...computer not obey your orders and don't do what you want...but they can do by providing them a set of instruction which is called a programming languages which is a set of instruction given to computer to perform a specific tasks..you can done anything from computer by providing them a set of instruction in the form of programming language....:D

Saturday, 30 July 2011

BEST PROGRAMMING RULES

SUMMARY OF PROGRAMMING RULES                     
       ----------------------------                     
       a) Efficiency is less important than Clarity    
       b) your code must be Generalize 
       c) Write in modular programs                        
       d) Document your program                         
       e) Write standard FORTRAN                        
       f) Improve your layout                           
       g) Program defensively                           
       h) Use appropriate algorithms