Giter Site home page Giter Site logo

nti-display's Introduction

NTI Display

The Next Train Indicator (NTI) Problem

Mobile Tech Test

The Mobile tech test is a programming exercise to evaluate the candidate's technical skills and approach to software development. The candidate is expected to produce a mobile app that demonstrates they understand how to solve the problem using clear concise code.

You are required to model the described NTI display system will be displayed in the mobile application. At the end of the test, you should be able to display a UI component in the Mobile showing which trains will be arriving at the platform within the next 15 minutes from the current simulated time.

Operation

The NTI display will work within a virtual timeframe (VT) that is faster than real time (RT): 1 minute (VT) = 1 second (RT).

The NTI display should be able to display all expected train information for the next 15 VT mins.

The NTI display should list each expected train on a separate line and should indicate:

  1. The order the trains will arrive
  2. The destination of each train
  3. The amount of minutes before each train arrives

The NTI display should only be tall enough to list at most two expected trains at a time

The NTI display should not be interactive but it should always display up to date information, if required paging should be done automatically.

The NTI display should display the current VT below the list of expected trains.

The NTI display will begin at 05:00 VT and continue infinitely.

Destination Frequency

For the purposes of this test use the following schedules: Train Schedules:

  1. Central Station Every 20mins
  2. Circular Every hour on the hour
  3. North Square Every 12mins from 07:00 until 22:00
  4. West Market Every 6mins from 05:30 until 01:30

Run-Code

  1. npm install --global expo-cli
  2. Open terminal in folder path and run "npm install" or "yarn install"
  3. "npm start" or "yarn start"
  4. Install Expo from google play or Appstore on your phone and scan the QR code

nti-display's People

Contributors

hosein-moayedi 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.