Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Neog sample interview questions #12

Merged
merged 3 commits into from
May 26, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
updated md
  • Loading branch information
talrejah02 committed May 26, 2021
commit 885860ff3307da401176aaaae879672fccf172bb
41 changes: 41 additions & 0 deletions neog interview sample questions/interview-questions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Sample interview question

1. Give me your introduction and tell me why do you want to join neogcamp?

1. Create a web app which would take two inputs. It would also have 4 buttons: `+, -, x /`. Based on the button clicked perform the operation on the two inputs. You can do this in React or vanillaJS based on your choice.

1. Create a web app where I can input a text. Now create two buttons + and -. On clicking + increase the fontSize by `2px` and vice versa.

1. Create a web app where I can input a text. Now, create three buttons h1, h2, h3. When I click on any of the button, the text should become `h1, h2, or h3`.

1. Create a web app where I can input a text. Now, create three buttons: `red, green, blue`. Clicking on the button should change the text color.

1. Create a CLI app which takes name, unit test marks, pre final marks, final marks of 5 students. And then print who has the highest marks. What if I ask you to print the average as well?

1. Create a web app with a button loded. Show a text `loading...` on a web app. However, hide it if I click on the button loaded.

1. Here's an API. Create a web app to call this API with your full name and print the response. This could be extended where we ask you to do something with the response. Like add a text, or capitalise etc.

1. Here's an API. It will give an error. Write a web app, call this API and read the error message. Show user the error message.

1. Here's an API, it can give two errors. Either 404, or 401. If the error is 404, show the user `'page not found'` and if the error is 401, show the user `'you are not logged in'`.

1. Open your Github repo. Make a small change. And create a PR. Explain what you understand by Git, what's PR etc.

1. Create a password checker web app. If password is lesser than 10 characters then show an error to user otherwise show success.
Someone can ask to make the submit button disabled. Some can ask to make the input field green or red depending on input.

1. Show me your portfolio. Okay, I like the button you have made. Can you re create the button without looking at source code? You're free to Google though.

1. Create color variables in CSS. Two colors: primary and secondary. Now make your h1 of primary color, h2 of secondary color. Make two buttons, primary and secondary using the same color. Can you also set a font from Google Font?

1. Create two objects with name, age, and yuga as `Ram, 25, Treta. Krishna, 31, Dwapar`.
Write a function which takes two objects and return the person with more age.

1. Create two objects with name, age, and power as Ram, 2500, Treta. Krishna, 2325, Dwapar.Write a function which takes two objects and return the person with more `power`.

1. Create two objects with name, age, and power as Ram, 2500, Treta. Krishna, 2325, Dwapar.
Say if every character in name is worth 35 power points.
Write a function which takes two objects and return the person with more power based on their name and power both.

1. Create a CLI app which would detect fake news. This app will take news as input and then source. If source is Facebook or whatsapp then it will output user saying, `"Don't believe things on FB and Whatsapp"`. Can you extend this to include telegram as well?