GithubHelp home page GithubHelp logo

google / codeu_coding_assessment_b_2017 Goto Github PK

View Code? Open in Web Editor NEW
8.0 4.0 60.0 22 KB

This project allows students to demonstrate their coding skills by implementing a component of a larger system.

License: Apache License 2.0

Shell 3.77% Java 96.23%

codeu_coding_assessment_b_2017's Introduction

CodeU Coding Assessment - Math Lang

Overview

This project allows students to demonstrate their coding skills by implementing a component of a larger system.

MathLang is a made-up math scripting language. Students are expected to implement com.google.codeu.mathlang.impl.MyTokenReader. The class has already been created and students only need to finish implementing its functionality.

MyTokenReader is responsible for parsing the text input and converting it to a stream of tokens that the MathLang parser will use to build statements. Statements are then passed to the interpreter to be executed. Everything except for MyTokenReader has already been implemented.

To further understand how MyTokenReader should behave, students can look at com.google.codeu.mathlang.core.tokens.TokenReader. TokenReader is the interface that MyTokenReader implements and contains in-code documentation for how each method should behave.

The Goal

When students have finished their implementation of MyTokenReader, they should run the tests and see all tests pass. If any test fails, the student is not done. The tests provided are only for testing MathLang. There are no tests for MyTokenReader. Students are encouraged to write their own tests to ensure their implementation is working.

Students should not use any third-party libraries to complete this assessment. The one exception is the use of a third-party test library to help test their implementation of MyTokenReader.

When done, an evaluator should be able to run the student's project using the same build and run instructions provided here. This means that if a student uses a third-party test library, all dependencies must be included with the project and build.sh and run.sh must be updated.

Build Instructions

These instructions are based on a Linux environment using BASH and JAVA 7.

To clean, run ./clean.sh. To build, run ./build.sh. To run all tests, run ./run.sh.

codeu_coding_assessment_b_2017's People

Contributors

vaage avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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