Project Topics

www.seminarsonly.com

Engineering Projects

Online Compiler Using Cloud Computing


Published on Nov 30, 2023

Abstract

Now a days it is common utilization of Internet, in this web world every one of the things are on the web. Cloud computing model is for empowering helpful and in addition as needed network access to a common pool of configurable computing assets which can be immediately provisioned and discharged with least administration endeavors. So we develop software as a service like online compiler. This research main goal is we can easily write programs, compile and debug in online.Using these cloud compilers we can reduce the storage space and movability, centralized compiler using cloud computing that helps to save the time, storage and cost using this concept. So that it’s a most appropriate tool to compile the code, remove the errors and debug it. Using these compilers will provide online compiler service, like SaaS installation of separate compiler on each machine is avoided. Once we use this application in cloud we can access the compiler from the web. So that we can obtain the common errors and analysis of time complexity of different compilers.

Keywords: — Centralized compiler, Cloud computing, Online Compiler, Movability, SaaS and Time Complexity.

Introduction:

An online judge is an online system to test programs in programming contests. They are also used to practice for such contests. The system can compile and execute code, and test them with pre-constructed data. Submitted code may be run with restrictions, including time limit, memory limit, security restriction and so on. The output of the code will be captured by the system, and compared with the standard output. The system will then return the result. When mistakes were found in a standard output, rejudgement using the same method must be made. Some IDEs contain a compiler, interpreter, or both, such as NetBeans and Eclipse; others do not, such as SharpDevelop and Lazarus. Sometimes a version control system, or various tools to simplify the construction of a Graphical User Interface (GUI), are integrated. Many modern IDEs also have a class browser, an object browser, and a class hierarchy diagram, for use in object-oriented software development.

Objective:

Cloud computing states that utilizing resources by the Internet. Instead of keeping data on your hard disk or update applications for your needs, you can use a service over the Internet, at a different location to store your information or make use of its applications. This may give cause for some privacy implications. For that reason, drafted the Office of the Privacy Commissioner of Canada (OPC) has some answers to frequently asked questions ( FAQs). It is the distribution of IT services by the Internet. Cloud services to individuals and career to provide software and hardware that are handled by using mediator at distant locations. Examples of cloud services include online store house, social media sites, webmail and online commercial applications. The cloud computing model allows access to information and computer resources from anyplace that a network connection is usable. Cloud computing supports a shared pool of resources, including information processing area , web, computer processing power , and particular corporate and end user purpose. The succeeding explanation of cloud computing is refined by the US National Institute of Standards and Technology (NIST).

Cloud computing model is for enabling convenient as well as a network access to a shared pool of configurable computing resources. In this internet world all the things are online.Here we use an online compiler. This project’s main aim is, we caneasily write program, compile and debug it in online. In this project, we have three online compilers namely, Online C/C++ , JAVA and perl compiler. Different programming languages are being compiled using cloudcomputing, which is portable and reduces the storage space, online java, c/c++, perl compiler using cloud computing, which provides most convenient tool tocompile code and remove the errors. These three compilers provide online compiler service, so no need to install separate compiler on each PC. By using all these application we can conduct online practical examination.

Methodology:

A. Real Time Collaboration:

Real time collaboration is a technique that allows multiple users to edit the same file at the same time.

B. Technical Blogs:

Technical blogs can be used by all the developers using the IDE to post technical information and share it with others. The blog posts will have technical contents related to various topics.

C. Online C, C++, Java and perl compiler using cloud computing:

Cloud computing explains the concepts of distributed computing, virtualization and utility computing. This system makes use of the dual layered architecture in which the lower layer consists of clients, which are of lower configuration and the upper layer consists of the server. It involves Service oriented architecture which reduces information technology overhead for the end-user and has greater flexibility, reduces total cost of ownership and on-demand services.

System Design

The different modules included in Web Based IDE to Code in the Cloud are as per the following:

1. Registration: -

In this documented acknowledges the points of interest of another client [9] and stores client details in database. This activity is signed into the Logs database. This module will guarantee that the client is enrolled before the first login.

2. Login:-

An enlisted client must login with his username and secret password. This module helps login and client verification utilizing database.

3. Make new Project/File:-

This module permits legitimate clients to make new undertakings with the name of their decision. They can make new records and after that put away in Project DB. Documents are put away in Files DB database. These activities are signed in the Logs database.

4. Open Project/File:-

This module permits legitimate clients to open existing documents and tasks. The clients are access authority to the undertakings and documents are correct from the Access DB database. The activity of opening undertaking is signed in the Logs database.

5. Delete Project/File:-

This module allows the substantial clients to either delete particular records of a venture or remove the whole program itself. The delete activity is performed alongside the User ID of the client who accomplish it is signed in the Logs database in time.

6. Save:-

This module permits the substantial clients to save their activities and records. These projects are put away in Project DB database and the documents are put away in Files DB database.

7.Compile:-

This module permits the clients to arrange their code by invoking a compiler. The compilation result will be shown by the client.

8. Run: -

This module grants clients to run the accumulated code. The outcome will be shown by the client.

9. Debug:-

This module permits the customers to implant breakpoints in the code with the deciding objective of debugging.

10. Share:-

This module licenses legitimate clients to impart the undertakings to different clients. The User ID of the companion with whom the task is dividend and the entrance rights allowed are save in the AccessDB. This activity is signed in the Logs database.

Architecture of Compiler

Implementation

Private Cloud utilization obliges Web administration for joining up on the application, for facilitating the web administrations and to actualize Java advances and a correspondence Protocol to exchange data over a system by an application server.

A. Web Services:

Online Service is a product framework which bolsters interoperable communication among the machines over a system. It has a blend expressed in a system-processable configuration like Web Services Description Language (WSDL) different frameworks collaborate with the Web administration in a way recommended by its depiction utilizing SOAP messages that are regularly passed on utilizing HTTP with a XML serialization in mix with other Web-based benchmarks.

B. Application Server:

An Application Server is an agenda that has all the operations in the between the users and an association's backend trade applications or the databases. An application server is commonly utilized for complex exchange based application. This server needs to have manufactured in repetition screen for good accessibility and great execution conveyed application administrations and complex database access to bolster top of the line needs has been stored in it.

C. Communication Protocol:

Using this Protocol it is a detail for the trading of execution of Web applications in Computer Networks. SOAP is such a structured communication protocol which depends on XML, HTTP and SMTP is used for message arrangement and transmission. Web based java compiler gives a component that empowers the yield of source code in various languages at run time in programming, in light of a single model that speaks to the code to render. We can produce congregations alterably at runtime and execute. It was stated that the users will utilize his or her favorite text editor to make and right program files. This supposition permitted to make a very basic front-end that heaps rapidly and is stage autonomous. In spite of the fact that the frontend is intended to be as basic as possible with just a couple usually utilized choices, it is adequately utilitarian and can be used quickly. Checks whether the content zone is empty or not. In the event that it is unfilled, presentations cautioning message. Generally utilize Compile Results class to speak to the consequence of aggregation that are come back from a compiler, Compiler Error class to speak to a compiler lapse or cautioning and Compiler Parameters class to speak to the parameter to summon the compiler. After successful accumulation compiler create either .class document. This .class document deliver the appropriate output for the program

Web Services

Sequence Diagram

Analysis

In Cloud Computing we can varry the compilers and then also reduce the time and cost. So that compare to windows based compilers it is very useful in everywhere.The following table shows that analysis of different compilers.

Run Time Analysis

Conclusion

Thus, we must have a system which will combine each above system’s advantages and will discard their disadvantages for the better future use of cloud computing. Moreover, in today’s world we require everything online so this all systems provide the best solution to these problems. By integrating and enhancing the capabilities of these essential technologies, we are introducing the ‘Online Compiler’ and to contribute to the current examination system. It would provide a platform for students to give practical examinations online. A cloud will be available where a server will be present which handle codes of all students and will compile codes separately sitting on another system. There are a few Browser Based IDEs which are primarily for web development. This project conveys the idea of the creation of a Browser Based IDE to code Java language in the cloud with the additional feature of real time collaboration for the users. It also conveys the idea of integrated forums and technical blog facilities for all the users of the IDE.

References

[1] Mayank Patel, Online Java Compiler Using Cloud Computing, International Journal of Innovative Technology and Exploring Engineering (IJITEE) ISSN: 2278-3075, Volume-2, Issue-2, January, 2013.

[2] Mehare Suraj, Paliwal Poonam, Pardeshi Mangesh, Begum Shahnaz, Private Cloud Implementation for Centralized Compilation, International Journal of Soft Computing and Engineering (IJSCE) ISSN: 2231-2307, Volume-3, Issue-5, November 2013.

[3] Priyadarashani doke, Surabhi Shingote, Sneha Kalbhor, Anumeha Singh, Heena Yeole, ONLINE C, C++,JAVA COMPILER USING CLOUD COMPUTING - A SURVEY, International Journal of Advances in Engineering Science and Technology 318 ISSN: 2319-1120.

[4] A. Rabiyathul Basariya, and K.Tamil Selvi, Centralized C# compiler using cloud computing, International Journal of Communications and Engineering, vol. 06-no.6, Issue: 02, pp. 148-151, Mar. 2012.

Project Done By Surya Chandra.V , Durga Charan , Sudha Rani.P