Q1. Refactor below code to remove if-else logic by applying clean coding and design principle. public double calculateInsurance(double income) { if (income <= 10000) { return income*0.365; } else if (income <= 30000) { return (income-10000)*0.2+35600; } else if (income <= 60000) { return (income-30000)*0.1+76500; } else { return (income-60000)*0.02+105600; } } Q2. Create a screen which hits an api to show data in the list form. Try to write code with clean and objective coding structure.
Junior Frontend Developer Interview Questions
10,729 junior frontend developer interview questions shared by candidates
How many years of experience do you have working with React?
Write form array in angular
How much availability do you have? Are you available for quick requests?
What are some common bottlenecks scaling up a web service?
They don’t care about candidates’ time and do not communicate with you. Instead, they just send irrelevant tasks, wasting time without any meaningful outcome.
About HTML,CSS,JavaScript,php and webdevelopement questions
Why do you want to work for Gremlin?
Interview process: 1. Javascript, HTML, CSS and React questions with live coding 2. System Design 3. Hiring manager round
Tell me about agile. What other workflows do you know? Is agile good or is it bad?
Viewing 9721 - 9730 interview questions
See Interview Questions for Similar Jobs
Junior Front End EngineerJunior Javascript DeveloperFrontend DeveloperSenior Frontend DeveloperJavascript EngineerWeb Developer Front EndJunior Front End Web DeveloperJunior Front End DeveloperFrontend Web DeveloperJunior Full Stack DeveloperSenior Frontend EngineerFrontend Software EngineerFrontend EngineerJunior Php DeveloperPhp Wordpress DeveloperJunior Front-end DeveloperWordpress DeveloperFront End Javascript Engineer