Free Essay

Mobile Service Provider Database.

In: Computers and Technology

Submitted By sairam2105
Words 381
Pages 2
#include

typedef struct Employee
{
char fname[20]; char lname[20]; char sub_taken[20]; char last_edu[20]; char join_date[20]; int id; int age; float bsal;
}Employee;

int main(void)
{

int id; FILE *fp,*ft; char another,choice; Employee emp; char fname[20]; char lname[20]; long int recsize;

fp=fopen("EMP.DAT","rb+"); if(fp==NULL) { fp=fopen( "EMP.DAT","wb+"); if(fp==NULL) { printf("
Can't Open File"); exit(); } } recsize=sizeof(emp); while(1) { printf("
1.Add Records
2.Delete Records
3.Modify Records

4.List
Records
5.Exit"); printf("

Enter your choice"); fflush(stdin); scanf("%c",&choice); switch(choice) { case'1': fseek(fp,0,SEEK_END); another='Y'; while(another=='Y'|| another=='y') { printf("Enter the first name,last name,age and basic salary : "); scanf("%s %d %f",emp.fname,&emp.age,&emp.bsal); printf(" Enter joining date,id,last education,subject taken"); scanf("%s %d %s %s",emp.join_date,&emp.id,emp.last_edu, emp.sub_taken); fwrite(&emp,recsize,1,fp); printf(" Add another Record (Y/N): "); fflush(stdin); another=getchar(); }

break; case '2': another='Y'; while(another=='Y'|| another=='y') { printf(" Enter the id of the employee to be deleted : "); scanf("%d",&id); ft=fopen("TEMP.DAT","wb"); rewind(fp); while(fread(&emp,recsize,1,fp)==1) { if(strcmp(emp.id,id)!=0) fwrite(&emp,recsize,1,ft); } fclose(fp); fclose(ft); remove("EMP.DAT"); rename("TEMP.DAT","EMP.DAT"); fp=fopen("EMP.DAT","rb+"); printf("Delete another Record(Y/N): "); fflush(stdin); another=getchar(); }

break; case '3': another='Y'; while(another=='Y'|| another=='y') { printf(" Enter name of employee to modify : "); scanf("%s",emp.fname); rewind(fp); while(fread(&emp,recsize,1,fp)==1) { if(strcmp(emp.id,id)==0) { printf(" Enter new fname,new lname,age,basic salary,joining_date,subject taken and last education : ");

scanf("%s%s%d%f%s%s%s",emp.fname,emp.lname,&emp.age,&emp.bsal,emp.join_dat e,emp.sub_taken,emp.last_edu); fseek(fp,-recsize,SEEK_CUR); fwrite(&emp,recsize,1,fp); break; } } printf("
Want to Modify another record(Y/N): "); fflush(stdin); another=getchar(); }

break;

case '4':

rewind(fp); while(fread(&emp,recsize,1,fp)==1) printf("
%s %s %d
%g",emp.fname,emp.lname,emp.age,emp.bsal,emp.join_date,emp.last_edu,emp.su
b_taken); break;

case '5': fclose(fp); exit();

} } }

Similar Documents

Free Essay

Mobile Service Provider

... TERM PAPER COURSE NAME: CSE COURSE CODE: CSE101 TOPIC: Mobile service database provider DOS: 20-11-2010 Submitted To: Submitted By: ACKNOWLEDGEMENT I am grateful to Almighty for giving me the strength to successfully conduct my term paper and for sustaining my efforts which many a times did oscillate. I am deeply indebted to mam, our CSE faculty without whose constructive guidance this term paper would not have been a success. Her valuable advice and suggestions for the corrections, modifications and improvement did enhance the perfection in performing my job well. I am obliged LOVELY PROFESSIONAL UNIVERSITY for providing the best of facilities and environment to bring out our innovation and spirit of inquiry through this venture. I am grateful to My Parents whose blessings and wishes have gone a long way in the completion of this arduous task. Last but not the least I thank all My Friends and Batch Mates, without their prompt support my efforts would have been in vain. CONTENTS 1. Introduction of C 2. Mobile services present scenario 3. Model of mobile computing 4. Benefits of the Mobile Web For Mobile Service Provider: 5. Routing and Query Processing 6.Description of mobile service provider 7. Disconnectivity and consistency 8. Coding 9. Snapshot 10. Future Scope 11. Refernces ...

Words: 4262 - Pages: 18

Premium Essay

Multi Network Recharge System

...Introduction Today mobile communication is playing a major role in the modern society. Sri Lanka has made rapid progress in information and communication technology in recent time. There are 12.8 million mobile phone users and 3.8 million fixed line phone owners among the country’s total population of around 22.8 million. Majority of the mobile and CDMA customers use prepaid connections. Therefore mobile reloads or recharge cards is a major necessity. Currently there are five mobile service providers as well as several CDMA providers. These companies use different recharge cards with different PIN numbers. Therefore those companies have to produce and distribute them separately. We understood this as a problem and as a solution we are suggesting a way to recharge all the networks from one card. This will reduce the distribution cost of those companies as well as customers also get benefit from it. Anyone can buy these cards from the various price ranges similarly to normal recharge cards and they can recharge their phone without considering their network. Some shops sell only selected types of cards from networks. Customers have to find their cards of their network here and there. This new system will provide answers for these problems. Project description • Issue a card with a specific PIN available in various price ranges to the customer. • PIN numbers are issued from the created database. • A dongle is connected to computer and customer......

Words: 454 - Pages: 2

Premium Essay

Industry Analysis

...Currently, there are at least 12 major players in the market. Among these 12 major players, we found that some of them exist before the founding of LINE apps, which means that they transformed from desktop IM into mobile IM. However, most of these initially desktop IMs are doing so well in the existing market due because they have lack of capabilities to compete with those entrants who target only at the mobile segment. For example, ebuddy was established in 2003 as a light version of desktop IM. They start up as a cross platform IM, which means that if you have user accounts in different IMs platform, you would only need to download ebuddy to chat with friends. For example, you have MSN and Yahoo! Messenger, you need not to download both Yahoo! and MSN chatting tools, instead you can use only ebuddy to chat in both Yahoo! and MSN. They entered mobile segment in 2009 but it appeared that it was not so attracted by the public. Overtime, different player in different geographical region dominates the market of mobile IM industry. Kakao Talk dominates in Korea, LINE dominates in South East Asia, Japan and Middle East, WeChat dominates in Chinese market and Whatapps dominates in some parts of Europe and North America region. These major players have their own large users database in their dominated regions and the other competitors are very difficult to penetrate into the market. One interesting issues we realized from this situation is that...

Words: 2266 - Pages: 10

Premium Essay

Mobile Money

...Enabling Mobile Money Policies in Sri Lanka The Rise of eZ Cash Simone di Castri July 2013 4—5 GSMA — Mobile Money for the Unbanked Creating enabling mobile money policies in Sri Lanka: The rise of eZ Cash Introduction For the Central Bank of Sri Lanka (CBSL), 2012 was the culmination of a 5-year effort to establish an enabling regulatory framework for mobile money that opened the market to both bank and non-bank providers and extended services to Sri Lanka’s unbanked population. Marking this shift was the launch of eZ Cash, a new mobile money service that has signed up over 1 million customers in just one year. eZ Cash is operated by Dialog Axiata PLC (Dialog), a mobile network operator (MNO) that was awarded a licence to operate as a payment services provider following revisions to the central bank’s regulations.1 As Ajith Nivard Cabraal, Governor of the Central Bank of Sri Lanka, explains, “Achieving financial inclusion through progressive regulation and innovation has been a principal and consistent ethos of the Central Bank of Sri Lanka.” The Sri Lankan case offers important lessons for both regulators and MNOs working to achieve the dual objectives of financial inclusion and economic growth. Lessons for regulators: ■■ ■■ ■■ ■■ ■■ Enabling regulatory frameworks play a fundamental role in expanding the reach and improving the efficiency of the financial sector. Building an inclusive digital financial system requires a level playing......

Words: 3255 - Pages: 14

Free Essay

Wireless 4g by Rohan Mammen

...with respect to creating standards, and henceforth various organizations such the ITU and IEEE have formed several initiatives to create a suitable 4G mobile standards system. The development of 3GPP LTE from UMTS is as such an important step towards the evolution standard, and similarly so is WiMAX developed by IEEE. All of these technologies have unique characteristics while meeting 4G criteria and thus enabling it to become dominant force in the near future. This will indicate all the new trends and technologies needed to execute the next generation cellular mobile technology while showcasing possible scenarios that would benefit the new fourth generation technology. INTRODUCTION In a rapidly moving economy, there exists a fundamental need for communication and for this purpose, instantaneous access to information irrespective of time and location. This has led to increased customer demands for wireless network services which in turn have led to the need for a development from the fundamentals of communications. In order to develop new mobile technologies, every major service provider has kept tabs or partook in the growth and development of the Fourth generation (4G) mobile technology. Currently, the Second and third generation networks are at the forefront of mobile technology. At present, the current total number of mobile subscribers in American subcontinent, Europe and...

Words: 3291 - Pages: 14

Free Essay

Booking Assesment

...9 6.4 Work order and Work assignment 10 6.5 Work order and Task 10 6.6 Work Assignment and Employee 11 6.7 Work assignment and Materials 11 6.8 Work Assignment and Employee 12 7. M: N Relationships 13 7.1 Work_Assignment and Employee 13 7.2 Work_Assignment and Materials 13 7.3 Work_Order and Tasks 13 8. All possible tables of the ER Design 14 9. Why we need ER Diagram for the Scenario 18 10. Why we used relational model rather than using the hierarchical model 19 10.1 Hierarchical Model 19 10.2 Relational Model 19 10.3 Why we used Relational Database 19 11. Suggestions for the Improvements 21 12. Importance of the Database Modeling phase in a Database Development Project 22 12.1 Modeling Steps 22 12.2 Database Deigning Process 22 * Abstract Short Message Technology (SMS) is commonly used among the students modern world as it is a reliable mobile technology. Thus, to simplify the process of assignment booking and to save time SMS technology can be used effectively. In this project, the development of an SMS based assignment booking system is presented. Using the SMS interface, students would be able to send requests for time slots and receive the availability of that slot. Online assignment booking system completely depends on internet connection and also it consumes time. However, GSM coverage required for SMS technology is more reliable as it always exists almost everywhere and also sending SMS with time slot will......

Words: 6238 - Pages: 25

Premium Essay

Mobile Commerce and Its Applicability in Egypt

...Mobile Commerce Research June 22, 2013 M-commerce and its applicability in Egypt Prepared by Mahmoud Youssef Hany Nemr Mahmoud El Sayed Research Paper Title: Mobile Commerce and its applicability in Egypt 1. Abstract 2. Introduction 3. Mobile commerce features 4. Mobile commerce opportunities 5. Mobile commerce success factors 6. Mobile commerce adoption barriers and challenges 7. Mobile commerce applications 8. Future trends in mobile commerce 9. Conclusion 10. References ABSTRACT F ast−growing ability of wireless devices to handle a wealth of data content as well as voice transmission is opening the door to the creation of new products, services, markets, and revenue streams. According to research projections, mobile commerce will cross $30 billion by end of 2016 growing at 40% compound rate at U.S. only. Globally, consumers are likely to spend $119 billion by 2015 through their mobile phones, which will account for 8% of all ecommerce activity. Mobile commerce is gaining increasing acceptance. The need for mobility is a primary driving force behind mobile banking, mobile entertainment and mobile marketing, and is supported by an ever increasing convergence of computers and mobile telecommunication devices. So this paper is a descriptive study for the overall picture of mobile commerce and its features, opportunities, success factors and challenges and its......

Words: 8870 - Pages: 36

Premium Essay

Teratech Benchmarking

...shareholder wealth by, utilizing strategies to optimize | |customer services and their business processes while engaging the support of vital stakeholders. | |Topic A: Entellium Ltd.- Sharena Barriga | |Response to Topic A: | |Entellium Ltd. is a Malaysian firm and new hosted CRM service provider. The firm formally announced their intentions to tap into | |the North American market for hosted sales, marketing and customer service applications. Entellium’s target includes small and | |midsized businesses and departments of larger organizations. Like TeraTech, the firm’s problem lies in the fact that the hosted CRM| |market is already crowded and is concerned with the ability to keep up with there competitors. Entellium is a small company in | |comparison with to their competitors with just 100 customer and 3,000 users mostly in the Asian Pacific Region (Callaghan, 2004). | |In order to successfully compete in such a competitive market, Entellium will continue to develop their product in Malaysia while | |only moving their headquarters to Seattle. This will enable the firm to reduce their prices significantly charging $59 per month | |for their service. The firm hopes this will help gain market share in a crowded market.......

Words: 3145 - Pages: 13

Premium Essay

Mobile Commerce and Its Applicability in Egypt

...Mobile Commerce Research June 22, 2013 M-commerce and its applicability in Egypt Dr. Eman Arafa Prepared by Mahmoud Sayed Hany Hassan Hussein Nemr Mahmoud Mohamed El Sayed Research Paper Title: Mobile Commerce and its applicability in Egypt 1. Abstract 2. Introduction 3. Mobile commerce features 4. Mobile commerce opportunities 5. Mobile commerce success factors 6. Mobile commerce adoption barriers and challenges 7. Mobile commerce applications 8. Future trends in mobile commerce 9. Conclusion 10. References ABSTRACT F ast−growing ability of wireless devices to handle a wealth of data content as well as voice transmission is opening the door to the creation of new products, services, markets, and revenue streams. According to research projections, mobile commerce will cross $30 billion by end of 2016 growing at 40% compound rate at U.S. only. Globally, consumers are likely to spend $119 billion by 2015 through their mobile phones, which will account for 8% of all ecommerce activity. Mobile commerce is gaining increasing acceptance. The need for mobility is a primary driving force behind mobile banking, mobile entertainment and mobile marketing, and is supported by an ever increasing convergence of computers and mobile telecommunication devices. So this paper is a descriptive study for the overall picture of mobile commerce and its features, opportunities, success factors...

Words: 8938 - Pages: 36

Free Essay

Oracle

...PUBLICATION DATE: 23 May 2014 www.marketline.com COPYRIGHT MARKETLINE. THIS CONTENT IS A LICENSED PRODUCT AND IS NOT TO BE PHOTOCOPIED OR DISTRIBUTED. Oracle Corporation TABLE OF CONTENTS TABLE OF CONTENTS Company Overview..............................................................................................3 Key Facts...............................................................................................................3 SWOT Analysis.....................................................................................................4 Oracle Corporation © MarketLine Page 2 Oracle Corporation Company Overview COMPANY OVERVIEW Oracle Corporation (Oracle or “the company”) is a provider of enterprise software, computer hardware products and services. The company operates in more than 145 countries across the world. Oracle is headquartered in Redwood Shores, California and employed 120,000 people as of May 31, 2013. The company recorded revenues of $37,180 million during the financial year ended May 2013 (FY2013), an increase of 0.2% over FY2012. The increase in revenues was due to an increase in Oracle’s software business revenues. The operating profit of the company was $14,684 million in FY2013, an increase of 7.1% over FY2012. The net profit was $10,925 million in FY2013, an increase of 9.5% over FY2012. KEY FACTS Head Office Oracle Corporation 500 Oracle Parkway Redwood Shores California 94065 USA 1 650 506 7000 Phone Fax Web......

Words: 3160 - Pages: 13

Premium Essay

Mis535

...uestion Type: | # Of Questions: | # Correct: | Multiple Choice | 5 | 4 | Essay | 4 | N/A | | | Grade Details - All Questions |  1. | Question : | (TCO A) Domino's upgraded Pulse Evolution system incorporated a Pizza Tracker functionality that shows the progression of individual pizza orders. This is an example of using information systems to achieve which business objective? | |   | Student Answer: | |  Customer and supplier intimacy |   | | |  Survival |   | | |  Improved decision making |   | | |  Operational excellence |   | Instructor Explanation: | pp. 52–53 | | |   | Points Received: | 10 of 10 |   | Comments: | | | |  2. | Question : | (TCO A) Networking and telecommunications technologies, along with computer hardware, software, data management technology, and the people required to run and manage them, constitute an organization's | |   | Student Answer: | |  data management environment |   | | |  networked environment |   | | |  IT infrastructure (Correct answer) |   | | |  information system |   | Instructor Explanation: | p. 21 | | |   | Points Received: | 10 of 10 |   | Comments: | | | |  3. | Question : | (TCO B) Internet technology | |   | Student Answer: | |  makes it easy for rivals to compete on price alone. |   | | |  imposes a significant cost of entry, due to infrastructure requirements. |   | | |  increases the difference between competitors......

Words: 1761 - Pages: 8

Premium Essay

Homework

...mQuestion Type: | # Of Questions: | # Correct: | Multiple Choice | 5 | 4 | Essay | 4 | N/A | | | Grade Details - All Questions |  1. | Question : | (TCO A) Domino's upgraded Pulse Evolution system incorporated a Pizza Tracker functionality that shows the progression of individual pizza orders. This is an example of using information systems to achieve which business objective? | |   | Student Answer: | |  Customer and supplier intimacy |   | | |  Survival |   | | |  Improved decision making |   | | |  Operational excellence |   | Instructor Explanation: | pp. 52–53 | | |   | Points Received: | 10 of 10 |   | Comments: | | | |  2. | Question : | (TCO A) Networking and telecommunications technologies, along with computer hardware, software, data management technology, and the people required to run and manage them, constitute an organization's | |   | Student Answer: | |  data management environment |   | | |  networked environment |   | | |  IT infrastructure (Correct answer) |   | | |  information system |   | Instructor Explanation: | p. 21 | | |   | Points Received: | 10 of 10 |   | Comments: | | | |  3. | Question : | (TCO B) Internet technology | |   | Student Answer: | |  makes it easy for rivals to compete on price alone. |   | | |  imposes a significant cost of entry, due to infrastructure requirements. |   | | |  increases the difference between competitors......

Words: 1761 - Pages: 8

Premium Essay

Non-Emergency Medica Transportation System

...-- 6 - Implementation Plan ---------------------------------------------------------------------------- 7 - Conclusion ----------------------------------------------------------------------------------------- 9 - References --------------------------------------------------------------------------------------- 10 Non-Emergency Medical Transportation System Introduction - What is Non-emergency Medical Transportation? Non-emergency medical transportation (NEMT) is a specialized company in transporting disabled patients from their homes to other destinations like doctor’s office, attorney’s office and pharmacies, generally the elderly and disabled, who are not in an emergency situation but they need further assistance than a taxi service provides. They provide equipped vehicles that serve those in wheelchairs and in stretchers. (JamieD, 2011) - Is there a lot of...

Words: 1518 - Pages: 7

Premium Essay

Cis 500 - Term Paper - Information Technology Strategic Plan

...counseling practice, primarily serving the local courts by providing first time DUI offenders with DUI education service and assessment, as mandated by their court ordered probation. Over the next ten years 1st Step Counseling has expanded its’ services to deliver out-come focused Mental Health and Substance Use Disorder counseling. By 1995, 1st Step Counseling had a patient census of approximately 300 patients, requiring the employ of an Internal Medicine Specialist, a Psychiatrist, a Nurse Practitioner, three Licensed Practical Nurses, two Clinical Psychologist, six Licensed Professional Counselors and two Clinical Social Workers, plus eight Administrative and Support staff. Later the same year, 1st Step Counseling opened a second office in Farragut, south of Knoxville, TN. Since this first expansion, 1st Step Counseling has established itself as a prominent Mental Healthcare Service provider, with 14 locations in or near metropolitan areas, throughout the Southeast. In January 2014, the Board of Directors decided to expand to the national market. To begin steering the company toward the national stage, the Directors and Senior Executives rebrand the company’s identity by changing the name to Access-Link Behavioral Healthcare (BHC), as well as established the following new Vision and Mission Statements.  Our Vision is to be the premier Mental Healthcare provider, using 21st Century accessibility to connect people with the quality care they need, where they......

Words: 2977 - Pages: 12

Premium Essay

Databases

...4600-01 INTRO TO DATABASES CLOUD DATABASES SUBMITTED BY: ALICIA RUCKER INSTRUCTOR: DR. LUIS VIDAL SPRING 2016 Abstract A cloud database is a database that typically runs on a cloud computing platform. Users can run databases on the cloud independently, using a virtual machine image, or they can purchase access to a database service, maintained by a cloud database provider. There is a proposed 5 layer cloud architecture. The External Layer, which is the first, is closest to the user. The second layer is the Conceptual Middleware Layer. The third layer is the Conceptual Layer. In this layer programming techniques, transaction management, query processing and optimization are considered. The fourth layer is the Physical Middleware Layer, where interoperability between various platforms is considered. Last, there is the Physical Layer which is concerned with how data is stored and accessibility. A cloud database management system is a distributed database that delivers computing as a service instead of a product. It is the sharing of resources, software, and information between multiply devices over a network which is mostly the internet. An example of this is Software as a Service or SaaS. SaaS is an application that is delivered through the browser to customers. A database management system is a software package with computer programs that control the creation, maintenance, and use of a database. It allows organizations to conveniently develop databases for......

Words: 851 - Pages: 4