Machine Coding Practice

Level - Medium

1. Create a nested circles based on input value given by user in textbox

  • Create a textbox where user can enter the number
  • Nested circles should be generated based on the value entered by the user
Level - Easy

2. Implement a traffic light system

  • lights switch from green to yellow, yellow to red and red to green and loop indefinitely
  • Each light should be for predetermined interval
  • Red light: 4000ms, Yellow light: 500ms, Green light: 3000ms
Level - Easy

3. Implement a Student transfer box

  • Create 2 mock API's which returns a list of students and each student has a name, some marks and a unique registration ID
  • Data from the 2 API's can have common students i.e. mock API 1 can have a student as — ABC