hello there ! All the Sample-Questions of @neogCamp
are present here with there respective Solution for
beginners .Kindly refer to it if you are feeling overwhelm or confused while solving them.
Sample Q1
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.
Your time starts now.
See, you have 15 minutes to code this question. Questions are simple. We want to test whether:
a) You have done levelZero lectures properly. b) You can form logic like this and come up with a program.
All questions will be having one logic to implement it.
View Code
View Answer
Sample Q2
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.
View Code
View Answer
Sample Q3
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.
View Code
View Answer
Sample Q4
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.
View Code
View Answer
Sample Q5
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?
View Code
View Answer
Sample Q6
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.
View Code
View Answer
Sample Q7
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.
View Code
View Answer
Sample Q8
Here' an API. It will give an error. Write a web app, call this API and read the error message. Show user the
error message.
View Code
View Answer
Sample Q9
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'.
View Code
View Answer
Sample Q10
Open your Github repo. Make a small change. And create a PR. Explain what you understand by Git, what's PR etc.
Sample Q11
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.
View Code
View Answer
Sample Q12
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.
View Code
View Answer
Sample Q13
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?
View Code
View Answer
Sample Q14
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.
View Code
View Answer
Sample Q15
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.
View Code
View Answer
Sample Q16
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.
View Code
View Answer
Sample Q17
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?
View
Code
View
Answer
Note: There are various way to solve these questions ,I have used simple coding with basic
skills while solving .These are just for reference and to set example in your mind dont copy this ,write your
own code using your own skills .
if you are a beginner and want to build a
strong concept in coding you can practice logic
builing questions by @neogcamp
here this will help you
in level01 interview and to build basic coding knowledge .
After solving questions , you can give mock Interview
here ,schedule one after logging in ,you can
book slots with people .This will give you better experience and knowledge to crack level01 interview and it
will inhance your communication and confidence
ALL THE BEST .