2. function Defination:- function is a self-contained block of program that performs a coherent task of some kinds. Function is also called as modular programming.
10. Function call A function call is an expression containing a simple type name and a parenthesized argument list. The argument list can contain any number of expressions separated by commas. It can also be empty. For example: res= sum ( a , b); prime(&no);
11. Function definition In C user- written functions should normally be declared prior to its use to allow compiler to perform type checking on arguments used in its call statement. Syntex- Return_data_type function_name (data_type Var_name, …..);
16. Argument – passing of values b/w the main program and the function takes place through arguments. Formal and actual argument- The actual arguments are the arguments with which the function can be called. Simply function call contains actual arguments. // Call func with actual arguments i and j. func( i, j ); -The formal arguments are the arguments with which the function can be defined. function defination contains formal arguments void Func( int i ); // Function prototype … Func( 7 ); // Execute function call
17. CALL BY VALUE AND CALL BY REFERENCE Call by value- Whenever we called a function and passed something to it we have always passed the ‘values’ of variables to the called function. Such function calls are called ‘calls by value. in this context we are working on copies of actual argument.
29. Call by refrence- An argument passing convention where the address of an argument variable is passed to a function or procedure as opposed to passing the value of the argument expression.
30. Int sum(int *,int *); void main() { int i=10, j=20; K=sum(&i,&j); Printf(“%d”,k); } Int sum(int *a, int *b) { int c; C=*a+*b; return( c ); }
31. Recursion A function is called recursive if a statement with in the body of the function calls the same function. Sometimes called circular definition. Recursion is thus the process of defining something in terms of itself.
32. Main() { int a, fact; printf(“ enter any number”); Scanf(“%d”, &a); fact = rec (a); Printf(“factorial value=%d”,fact); } int rec (int x) { int f ; if (x==1) return(1); else f=x*rec(x-1); return (f); }
33.
34.
35. It also reduces the Time to run a program. In other way,Its directly proportional to Complexity.
36. Its easy to find-out the errors due to the blocks made as function definition outside the main function.
37. Return statement The return statement terminates the execution of a function and returns control to the calling function. Execution resumes in the calling function at the point immediately following the call. r eturn expression ; return; The default return type is int.
1. INTRODUCTION Information and communication technology (ICTs) are playing an increasingly vital role in the daily Lives of people, revolutionizing work and leisure and changing the rules of doing business. In the Realm of government, ICT applications are promising to enhance the delivery of public goods and services to citizens not only by improving the process and management of government, but also by redefining the traditional concepts of citizenship and democracy. Reforms are necessary in any country, any society. They are an indicator of a progressive people, bent upon fine-tuning their own governance and upkeep. E-governance or electronic governance may be defined as delivery of government services and information to the public using electronic means. E governance to implement citizen-IT based application in the RTO (regional transport office) is the next logical step. As regional transport office is (RTO) one of the government department having the higher interaction with the citizens and as the density of vehicles as has shown an exponential growth in last few years, IT industry application will help to overcome the problem of the existing system and provide “fast and quality services” to the customers. The facility is designed as a centralized monitoring system, wherein the action from the entire district licensing could be verified from the central administrator through the website itself .Under the system ,the district authority is able to avail details of the activities like the number of applications field for license total number of license issue ,license application on pending, reason for delay of process duration of licensing of process in each application and the no. of application rejected. E-Governance focuses on- Greater attention to improve services delivery mechanism. Enhancing the efficiency of production. Emphasis upon the wider access of information.
The facility is designed as a centralized monitoring system, wherein the action from the entire district licensing could be verified from the central administrator through the website itself .Under the system ,the district authority is able to avail details of the activities like the number of applications field for license total number of license issue ,license application on pending, reason for delay of process duration of licensing of process in each application and the no. of application rejected. E-Governance focuses on- Greater attention to improve services delivery mechanism. Enhancing the efficiency of production. Emphasis upon the wider access of information.
The following procedure our to undergo for license which are quite unpredictable and time consuming and require a lot of paper work which is tedious and checks a customer patience. These can be overcome if all the works are undergo through a computerized. Process, which will reduce paper work as well as human efforts.
AGE LIMIT FOR OBTAINING A DRIVING LICENCE Motor Cycles with Gear - 18 Yrs & Above Motor Cycles without Gear - 16 Yrs & Above Private Light Motor Vehicles - 18 Yrs & Above Transport Vehicles - 20 Yrs & Above
The importance of the system is concerned according to the class of user which is going to use the system. The following type of user as follows:- As per the citizens: This system is important for citizens due to following reason: Even an unregistered user can get a brief idea about the procedure followed for issuing of the License. A registered user can apply for issuing of learning License by providing the required credentials and paying the required money. Registered user need to undergo a test which is conducted online and it is mandatory for him to clear the test in order to prove his eligibility for earning a permanent License. As per the Government Representatives: This system is important for the officials working in the RTO due to following reason: Pace up with the economic globalization. Helps to reduce the paperwork. No fear of going through hundred of files to check single application. Reliable way of testing the knowledge of the applicant by conducting an automated test. An application cannot remain unnoticed for a very long period.
BASIC ARCHITECTURE Architecture Database – This is the backbone or the back end. Three databases namely DB2 version 7.2 or higher, oracle 8i and version 8.1.6 or higher and MySQL Server 2000 or higher can be used for storing all the data about the transactions undertaken for future use. Application server – This is the middle layer which manages the business rules that manipulates the data as per the governing condition of the applications. It provides a database independent interface for applications and makes the front end robust. This application uses the JAVA RMI framework or ASP.NET programs to establish connection to client. This feature enables a program running on the client computer to make method calls on an object located on a remote server machine. Client- The presentation and control logic embedded in the client tier. This is the GUI layer of the application using swing component of JAVA , which will interact with the application server by means of forms. BASIC ARCHITECTURE Architecture Database – This is the backbone or the back end. Three databases namely DB2 version 7.2 or higher, oracle 8i and version 8.1.6 or higher and MySQL Server 2000 or higher can be used for storing all the data about the transactions undertaken for future use. Application server – This is the middle layer which manages the business rules that manipulates the data as per the governing condition of the applications. It provides a database independent interface for applications and makes the front end robust. This application uses the JAVA RMI framework or ASP.NET programs to establish connection to client. This feature enables a program running on the client computer to make method calls on an object located on a remote server machine. Client- The presentation and control logic embedded in the client tier. This is the GUI layer of the application using swing component of JAVA , which will interact with the application server by means of forms. BASIC ARCHITECTURE Architecture Database – This is the backbone or the back end. Three databases namely DB2 version 7.2 or higher, oracle 8i and version 8.1.6 or higher and MySQL Server 2000 or higher can be used for storing all the data about the transactions undertaken for future use. Application server – This is the middle layer which manages the business rules that manipulates the data as per the governing condition of the applications. It provides a database independent interface for applications and makes the front end robust. This application uses the JAVA RMI framework or ASP.NET programs to establish connection to client. This feature enables a program running on the client computer to make method calls on an object located on a remote server machine. Client- The presentation and control logic embedded in the client tier. This is the GUI layer of the application using swing component of JAVA , which will interact with the application server by means of forms.