Git Product home page Git Product logo

tech-test's Introduction

Frog Developer Tech Test

Thanks for your interest in applying to join Frog's development department. To try and gauge your technical level in relation to our existing development team, we'd like you to carry out the following technical test in either PHP or Javascript: the choice is yours, based on whichever you'd feel more comfortable with.

If you already have a portfolio of work where code sources are available (such as your own Github/Bitbucket profile) then you do not need to do this test to support your application: this test is for those people who do not have work to show us already.

Once you're done, send us a link to your work - whether this is a fork, hosted on your own server, or a sandboxed online version (like jsfiddle or jsbin) - but please note that we would like to see the source code, so this should be made available if hosted.

The Exercise

The exercise within should not take you any longer than an hour.

Within both versions, there are skeleton classes to model a Pond, which is to contain Frogs. Initially, there will be two Frogs in the pond: a male named Frank, and a female named Georgia.

Assuming that this forms part of an existing wider framework, extend these models in such a way so that:

  • New Frogs can move into the Pond
  • Frogs can die
  • Frogs can breed with each other, to allow new Frogs to be born

In the case of the Javascript version, these actions should be attached to the buttons provided. In the case of the PHP version, please duplicate the example.php file as many times as you need in order to fully demonstrate any combinations of actions you wish within the middle section.

Please also submit with your code a list of assumptions. This can either be an accompanying .txt file, or within a commented section of code within your submission.

If you complete these actions, feel free to extend the exercise as far as you wish.

Things to note

  • Please read all of the instructions and act accordingly.
  • Don't overthink, but don't underestimate, the task.
  • Yes, the instructions are brief and open to a great deal of interpretation. That's on purpose.
  • Code you have written to debug is interesting to us, but please try to isolate it. ie. Show us your workings!
  • Writing test cases, pseudo- or otherwise, is a Good Thing.
  • Be prepared to discuss and justify decisions you have made during this test.
  • If you do enough on this test to progress to the next stage, we'll discuss what you've done.

tech-test's People

Contributors

adamhepton avatar aashiqerasool avatar

Watchers

James Cloos avatar  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.