Coder Social home page Coder Social logo

ue20cs205-assignment's Introduction

UE20CS205-Assignment

The assignment shows the Implementation of the DFA Question :
Construct DFA for the the language of strings over Σ ={ a, b } of the form a^(n) b^m | n,m>=1.

This project is done using Javascript (Node Js specifically)

Working of the program:

• NodeJS will run the JavaScript file at a particular port (which is most commonly port: 3000)
• After starting the server at a specified port, I have defined all required responses that it should give out to based on various requests which will be given by the user.
• There are 2 Main type of HTTP protocols through which information is communicated in this program
o GET
o POST

Also, I have displayed the Transition Function for the required DFA to give user a better understanding of the DFA problem that is implemented here.
Users can check for multiple strings one after the other. That is users are redirected back to the home page after checking a particular string. Different Webpages have been created to handle both the acceptance as well as the non-acceptance of the string that will be entered by the user.

The Following shows the Interfaces of this program: image

After Clicking on CLICK ME option we have the below interface: image

If the Entered String is accepted then :
image

Else then:
image

User will be re-directed back to HOME PAGE if he/she wants to check another string from both the above pages!!!

ue20cs205-assignment's People

Contributors

veeresh-r-g avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.