TCS ReactJs Interview | ReactJs & Javascript | 🎉 Selected | Software Engineer | Developer

Поділитися
Вставка
  • Опубліковано 4 січ 2025

КОМЕНТАРІ • 172

  • @DevAditya
    @DevAditya  2 роки тому +1

    ytJoin our Telegram channel
    t.me/React_JS_India
    ⭐To watch more Interview videos
    ua-cam.com/video/9cQsv91zBsc/v-deo.html

  • @DevAditya
    @DevAditya  2 роки тому +11

    Please don't judge and comments on my answers.
    this is just the interview experience and If you know the right answers please comment below which can also help others.

    • @stumbleguysproboy8471
      @stumbleguysproboy8471 2 роки тому +3

      Man if everyone knows the answer but During the interview it depends how we are able to explain the answer

    • @DevAditya
      @DevAditya  2 роки тому +4

      @@stumbleguysproboy8471 Right but some intellectuals do not understand.

    • @shiva-69
      @shiva-69 2 роки тому +2

      @@DevAditya don't worry bro
      You're doing a great work!✨🙌

    • @skzahirulislam2820
      @skzahirulislam2820 Рік тому

      function digitSum(n) {
      if(n == 0) return 0
      return (n%9 == 0) ? 9 : (n%9)
      }

  • @AbhishekKumar-vl3cb
    @AbhishekKumar-vl3cb 2 роки тому +74

    *ReactJs Questions Asked In This Interview Are:*
    *1).* What is *React* ?
    *2).* How *React* is diff. from *Angular* & *Vue.js* ?
    *3).* Explain *state* & *props* ?
    *4).* How to pass data from *child* to *parent* in *class-based* as well as *functional-based* component?
    *5).* Explain *Life cycle* methods in *class-based* as well as *functional-based* component?
    *6).* Explain *Hooks* in react?
    *7).* What will happen if we pass *null or undefined* instead of empty array of *useEffect hook* as second argument ?
    *8).* What is *Redux* ?
    *9).* Why do we need to use *Redux middleware to perform asynchronous activity* ?
    *10).* What is *Redux Saga* vs *Redux Thunk* ?

    • @akshayhandgar9492
      @akshayhandgar9492 2 роки тому +1

      Can anyone tell me and of 7

    • @jkkbm
      @jkkbm Рік тому +2

      @@akshayhandgar9492 yep. Empty array is the default case and is used often. It just tells the hook to run only once when the component is mounted and not to re-run on following renders.
      If null or undefined is passed as the second arg , it will cause the effect to run on every render. Might cause performance issues and infinite loop.

  • @narenNKchaudhary
    @narenNKchaudhary Рік тому

    Please also share your question and answer in your description or comment.

  • @AbhishekKumar-vl3cb
    @AbhishekKumar-vl3cb 2 роки тому +67

    *JS Questions Asked In This Interview Are:*
    1). Name some features of *ES6* ?
    2). How *let* & *const* are different than *var* ? (with Examples)
    3). Do you know the concept of *Hoisting* ?
    4). What is the purpose of *const* ?
    5). Can an element be added or removed from a const variable *array* and *object* too?
    *ex: (const arr = [1,2,3,4,5])*
    6). Give examples of *rest parameter* and *spread operator* ?
    7). Is JS is *single-threaded* or *multi-threaded* ? And how does it achieve the *asynchronous* activity?
    8). What are *closures* ?
    9). What is *function currying* ?

    • @DevAditya
      @DevAditya  2 роки тому +3

      Thank you

    • @AbhishekKumar-vl3cb
      @AbhishekKumar-vl3cb 2 роки тому +11

      10).* WAF to sum all the digits of a number until the sum becomes single digit ?
      *ans:-* function digSum(n)
      {
      if (n == 0)
      return 0;
      return (n % 9 == 0) ? 9 : (n % 9);
      }
      digSum(91);
      *o/p:-* 1

    • @karan522
      @karan522 2 роки тому

      @@DevAditya sir can I get your email?

    • @umairahmedofficial1
      @umairahmedofficial1 2 роки тому

      @@karan522 already mentioned in a caption...

    • @avinashmalviya8104
      @avinashmalviya8104 2 роки тому

      @@DevAditya was this interview for freshers or experienced? If experience how many years of experience in Reactjs were asked?

  • @srsrajesh8385
    @srsrajesh8385 2 роки тому +7

    Thanks for the video, much needed for the interview preparation. It really builds up confidence before giving an interview. Keep up the work :)

    • @DevAditya
      @DevAditya  2 роки тому

      Sure keep supporting & sharing 😊👍

  • @chandrashekar-us6ef
    @chandrashekar-us6ef 10 місяців тому +1

    From my TCS interview experience below are few questions
    1. const arr = [1,2,3,4,5,6,7,8,9,10]
    var numArr = arr.map(val=>val>5)
    What will the value of numArr be?
    2. Diff between
    null and undefined
    undefined and not defined
    Arrow Function vs Regular Function
    3. Extract fifth element of array without using index. arr = [1,2,3,4,5,6,7,8,9,10]
    4. Destructure city from below Object
    var empObj = {
    name: "Chandra",
    age: 36,
    address: {
    addrs1: "Koramangala",
    city: "bangalore",
    }
    }
    5. How many times will setState run and how many times the component will re-render, what will be the final value of state(value)
    class Counter extends React.Component{
    constructor(props){
    super(props)
    //initial state set up
    this.state = {value:0}
    }
    componentDidMount(){
    //updating state
    this.setState({value:this.state.value+1})
    this.setState({value:this.state.value+1})
    this.setState({value:this.state.value+1})
    this.setState({value:this.state.value+1})
    }
    render(){
    return Message:{this.state.value}
    }
    }
    6. Centering div with flex and having only three elements taking evenly distributed space
    Content1
    Content2
    Content3
    7. What is Closure, currying, generators
    8. How will you use useEffect to add event listeners.
    9. Can we have one dispatched action trigger multiple reducers in redux?

    • @Sonu-yk3uy
      @Sonu-yk3uy 9 місяців тому +1

      for exp or fresher ?

  • @rishavbhattacharyya3929
    @rishavbhattacharyya3929 2 роки тому +2

    My answer to the coding question :
    const add = (num) => {
    let stringedNum = num.toString();
    if(stringedNum.length === 1){
    return stringedNum
    }else{
    let arrNum = stringedNum.split("")
    let sum = 0
    arrNum.forEach(element => {
    sum = sum + Number(element);
    return sum
    });
    return add(sum)
    }
    }

  • @anshviyogi5444
    @anshviyogi5444 2 роки тому +2

    Hats of for the logic building in the last question buddy. . .

  • @kumarvivekpandeyrock4488
    @kumarvivekpandeyrock4488 Рік тому

    solution for the programming question
    function sumOfDigits(num) {
    while (num > 9) {
    let sum = 0;
    while (num > 0) {
    sum += num % 10; // Add the last digit to the sum
    num = Math.floor(num / 10); // Remove the last digit from the number
    }
    num = sum;
    }
    return num;
    }
    const inputNumber = 54321;
    const result = sumOfDigits(inputNumber);
    console.log(result);

  • @SaurabhMishra0709
    @SaurabhMishra0709 2 роки тому +7

    Thanks buddy for uploading this....this was really helpful for me who is going to sit for the interviews

  • @Mohit-bk4nu
    @Mohit-bk4nu 2 роки тому +7

    Here's what I'd have done in that coding qn:
    function addDigits(num){
    var ans = 0
    while(num !== 0){
    let d = num%10;
    num = Math.floor(num/10);
    ans =ans+d;
    }
    return ans;
    }
    function looper(num) {
    while(Math.floor(num/10) !== 0) {
    num = addDigits(num);
    }
    return num;
    }
    var ans = looper(12345);
    console.log(ans);

  • @ozzyfromspace
    @ozzyfromspace 2 роки тому +7

    a possible simple solution to the coding question was:
    function specialSum(num) {
    const total = `${num}`.split('').reduce((acc, c) => +c + acc, 0);
    return total > 9 ? specialSum(total) : total;
    };

    • @rickeyupadhyay6898
      @rickeyupadhyay6898 2 роки тому

      Great Buddy I thought of same but I got confused due to split as it was an intiger but you just manipulated that using template literals great!

    • @skzahirulislam2820
      @skzahirulislam2820 Рік тому

      @@rickeyupadhyay6898 function digitSum(n) {
      if(n == 0) return 0
      return (n%9 == 0) ? 9 : (n%9)
      }
      digitSum(1234)

  • @jagdeesh9338
    @jagdeesh9338 2 роки тому

    Awesome you nailed it bro

  • @bishwajeetpandey1570
    @bishwajeetpandey1570 Рік тому

    I also answerd all the questions, thank u so much this type of video really give confidence

  • @akshupdf
    @akshupdf 8 місяців тому

    i like to convert figma design into react and because of this reason i never solve or learned js in depth but your last practical opened my eyes and i got to know that in order to get job i must practice js and learn its inbuild functions like .reduce () etc

  • @TheComedyKing-5
    @TheComedyKing-5 8 місяців тому +1

    best

  • @sknazibulhossain4901
    @sknazibulhossain4901 Рік тому

    We need more of this kind of video

    • @DevAditya
      @DevAditya  Рік тому

      Be connected, I’ll be uploading more videos soon

  • @avinashthakur6820
    @avinashthakur6820 2 роки тому +2

    function addition(...rest) {
    const arrList = rest
    .map((elm) => elm)
    .join()
    .split("")
    .map((el) => Number(el));
    const sum = arrList.reduce((a, b) => (b += a));
    if (sum < 10) return "Enter the value whose sum is in two digit number.";
    else
    return String(sum)
    .split("")
    .map((el) => Number(el))
    .reduce((a, b) => a + b);
    }
    const res = addition(51);
    console.log(res);

    • @skzahirulislam2820
      @skzahirulislam2820 Рік тому

      function digitSum(n) {
      if(n == 0) return 0
      return (n%9 == 0) ? 9 : (n%9)
      }
      digitSum(1234)

  • @vaishnavinambiar9441
    @vaishnavinambiar9441 9 місяців тому

    1.What are pure functions
    2.What are React pure component
    3.What are higher order components
    Explain with example
    4. Typescript and example
    5. Redux

    • @DevAditya
      @DevAditya  9 місяців тому

      Thanks for sharing

  • @Alis404a
    @Alis404a 2 роки тому +1

    Thanks for sharing 🙂

    • @DevAditya
      @DevAditya  2 роки тому +1

      Keep supporting 😊

  • @Camaraderie_8
    @Camaraderie_8 10 днів тому

    I have a upcoming tcs ine test and i applied for the React js developer role and since its test is conducted at one of the centres what kind of a technical test can i expect

  • @ankushladani496
    @ankushladani496 2 роки тому

    Thank you for sharing....

    • @DevAditya
      @DevAditya  2 роки тому

      Keep supporting 😊

    • @ankushladani496
      @ankushladani496 2 роки тому +1

      @@DevAditya Bhaiya I am looking for an internship as Front-End Developer. Will you help me?

    • @DevAditya
      @DevAditya  2 роки тому

      @@ankushladani496 visit LinkedIn & find anyone who's working there and tell them to refer your profile, it'll help you better
      All the best

  • @vickypooniaholy
    @vickypooniaholy 2 роки тому +1

    Coding question was the call to select. 👍

  • @arvindkumarsingh8476
    @arvindkumarsingh8476 Рік тому

    I think the code which you wrote will fail for this corner case :
    num = any number that sums up to 99 (99999999999)
    it's sum is 99, it will check the if condition and returns 18
    It should return 9
    Correct me, I am wrong.

  • @OmDeshmukh00
    @OmDeshmukh00 2 роки тому +1

    Is English important ❓😶.
    let English;
    if(English==imp){
    console.log("why")
    }
    else{
    console.log("No")
    }

  • @sidhantnahak4481
    @sidhantnahak4481 Рік тому

    At the last question he just had to change
    if(inputdata)>=10 then add data(inputadddata)
    else
    return inputdata

  • @megharajdeepak
    @megharajdeepak 2 роки тому +1

    Hi Roshan...there was one video with Meesho right? I am not able to find it again. Can you share that link? Did you clear that?

  • @Kffeeer
    @Kffeeer Рік тому

    In 2023 there is no job market for freshers

  • @AchintyaRajcse
    @AchintyaRajcse Рік тому

    Aur one request, aap ye mention kardo ki ye freshers k liye hai ya fir experienced

  • @zuberakhtar1443
    @zuberakhtar1443 2 роки тому +1

    Can you please upload techMahindra video again ? It will be really helpful or can you please question asked by the organisation

    • @DevAditya
      @DevAditya  2 роки тому +1

      ua-cam.com/video/9cQsv91zBsc/v-deo.html

    • @subhasism1890
      @subhasism1890 2 роки тому

      Most 3rd class company in the world

  • @arupde6320
    @arupde6320 2 роки тому +3

    upload more videos like that

    • @DevAditya
      @DevAditya  2 роки тому +1

      Sure, Keep supporting 😊

  • @sidhantnahak4481
    @sidhantnahak4481 Рік тому +1

    In shorter we could write like this
    function adddata(num) {
    let value = num.toString().split("").map((e) => parseInt(e)).reduce((a, b) => a + b);
    if (value >= 10) {
    return adddata(value)
    }
    else {
    return value
    }
    }
    let val = adddata(5467);
    console.log(val)

  • @codequillbaba
    @codequillbaba 2 роки тому +1

    Bhai kal mera interview h aaj me aapka video dekh rha h hun😀 by the way me v HAZARIBAGH se hun😊

  • @TechloverSam
    @TechloverSam 2 роки тому +1

    Hey, how does yours jsfiddle autocompleting the words? It's not working on my side.
    Can you help me, please?

    • @DevAditya
      @DevAditya  2 роки тому +1

      I guess that feature is available after Login

    • @TechloverSam
      @TechloverSam 2 роки тому

      @@DevAditya I am logged In already. Still its not working!

  • @code9419
    @code9419 Рік тому +1

    Do the company strictly ask for a degree or self though is good to go?

    • @DevAditya
      @DevAditya  Рік тому

      Any Graduation degree is enough if you have good command on these skills

  • @abhishekbagade5784
    @abhishekbagade5784 2 роки тому +2

    Can you upload on backend coding interviews as well??

  • @riteshkumarmishra9989
    @riteshkumarmishra9989 2 роки тому

    Is it ist round or second round if it was first round then what was in second round have they asked questions related to DSA or not ?

  • @saketabhishek5147
    @saketabhishek5147 2 роки тому

    Thanks bro

    • @DevAditya
      @DevAditya  2 роки тому +1

      Welcome :) Keep supporting

  • @sknazibulhossain4901
    @sknazibulhossain4901 Рік тому

    What is the packages company offering?

  • @piyushchopade7878
    @piyushchopade7878 2 роки тому

    Was this just one technical round that happened?

  • @devisriprasadkallepalli7
    @devisriprasadkallepalli7 Рік тому

    What is the name of that platform being used for react js. Can u tell me plz

  • @anujadi8366
    @anujadi8366 2 роки тому +1

    Hi sir,
    All your interview experience brings me confidence to attend interviews
    How do u get the interview opportunity pls let me know

    • @DevAditya
      @DevAditya  2 роки тому +1

      LinkedIn, naukri, Monster

    • @anujadi8366
      @anujadi8366 2 роки тому

      @@DevAditya can a 1+ year experienced get opportunity to attend MNC interviews please let me know

  • @Scienceandfunfanclub
    @Scienceandfunfanclub 2 роки тому +1

    Hey , how many days it takes to get the result of first round ?

    • @DevAditya
      @DevAditya  2 роки тому +2

      2 days, sometimes 1 week

  • @viplavgupta9635
    @viplavgupta9635 2 роки тому

    Y do u blur the screen is it due to some copyright issue or what??

    • @DevAditya
      @DevAditya  2 роки тому +2

      To hide the Interviewer name

    • @pk-19
      @pk-19 2 роки тому

      Can we record interview? I mean.. interviewer ko koi problem nhi hogi wo mana karega bhi?

  • @RavindraSingh-zg9eq
    @RavindraSingh-zg9eq 2 роки тому

    bro it was ReactJS Developer interview or reactjs + Javascript developer,what was mentioned in JD or in mail?

    • @DevAditya
      @DevAditya  2 роки тому

      Both

    • @RavindraSingh-zg9eq
      @RavindraSingh-zg9eq 2 роки тому

      @@DevAditya thanks
      how much years of experience required for this interview?

  • @guyunknown9123
    @guyunknown9123 2 роки тому

    Your videos always have low audio. Please fix that, it will be helpful

    • @DevAditya
      @DevAditya  2 роки тому

      Thanks for the suggestions
      Please use the headphone 🎧

  • @shashankbhuvanala2952
    @shashankbhuvanala2952 2 роки тому +1

    Have you got placed anywhere or still searching?

    • @DevAditya
      @DevAditya  2 роки тому

      May i know the purpose of asking ?

    • @shashankbhuvanala2952
      @shashankbhuvanala2952 2 роки тому

      @@DevAditya I went through all of your attempted interviews. Min of 80%, your answers are accurate. And all of your videos title labled "Selected". Still you are attending interviews. That's the reason asking. Are any challenges with the recruitors or inrerview process?

    • @DevAditya
      @DevAditya  2 роки тому

      @@shashankbhuvanala2952 While searching for job i had given many interviews & then after a few days started getting the company's positive feedback one by one, BTW I have joined a Company.

    • @umairahmedofficial1
      @umairahmedofficial1 2 роки тому

      @@DevAditya which company did you join??

  • @soniyamehta9282
    @soniyamehta9282 Рік тому

    How much experience did you have when you gave this interview ?

  • @faizannajar477
    @faizannajar477 2 роки тому

    what about DSA ? will thr be seperate round for DSA?

    • @rabindrapatra7151
      @rabindrapatra7151 2 роки тому +1

      Those fancy concept is nor really not required in most of the places like TCS, Infosys. DSA is just overrated only for interview.

    • @rabindrapatra7151
      @rabindrapatra7151 2 роки тому

      You need to read DSA only if you want to attend interview for product based companies.

  • @mohsinpathan5873
    @mohsinpathan5873 2 роки тому +1

    for how many years of experience.. ?

  • @umairahmedofficial1
    @umairahmedofficial1 2 роки тому

    Can anyone tell me how to negotiate for salary

  • @suvankarmahato2679
    @suvankarmahato2679 2 роки тому

    Pls tell me how you find job and do apply??? Which website

  • @neonew339
    @neonew339 2 роки тому

    which role is it? is it ASE ( 3.36 lpa )?

    • @pk-19
      @pk-19 2 роки тому +1

      9 lpa

    • @skzahirulislam2820
      @skzahirulislam2820 Рік тому +1

      Bro it is for 2+ year experience you are expecting that 3.6lpa😂

  • @letsplaycode9359
    @letsplaycode9359 6 місяців тому

    I am also from Hazaribagh

    • @DevAditya
      @DevAditya  6 місяців тому

      💪 Let’s connect on Telegram.

  • @ravindrareddy1722
    @ravindrareddy1722 2 роки тому

    which company interview is this one?

  • @sameerswankar
    @sameerswankar Рік тому +1

    Bro Im scared of frontend interviews, Ive made multiple project with react nd most of the times I have to google to see the syntax , i know the idea but im very bad at syntaxes... Idk if im able to clear interview without google 😵

    • @DevAditya
      @DevAditya  Рік тому

      Do more practice until you understand the every single line of code

    • @sameerswankar
      @sameerswankar Рік тому

      @@DevAditya bro the thing is I know what to use for solving the problem, for example i mostly use class component , but i know useEffect is alternative of cdm in functional one, but i dont know how to write useEffect, so i google it every time and use it😐 And also I know what is media query , but i don't remember the syntax of it, i remember only @mediquery and maxwidth , 🥲

    • @sameerswankar
      @sameerswankar Рік тому

      @@DevAditya i will work on it 👍 grt video btw got a lot to learn

    • @DevAditya
      @DevAditya  Рік тому

      @@sameerswankar thank you 😊

  • @DeepakSoni-lx2oi
    @DeepakSoni-lx2oi Рік тому

    Have you got selected?

  • @chillmode4597
    @chillmode4597 2 роки тому

    How can we apply for this kind of jobs?

  • @adityakumarsingh7648
    @adityakumarsingh7648 2 роки тому

    This was it ? Or any more round ?

  • @akarsh3450
    @akarsh3450 2 роки тому +1

    which tool used to record this interviews in windows ?

  • @harithakrishnakumar7605
    @harithakrishnakumar7605 2 роки тому

    Is this interview taken for 3+ yrs exp?

  • @niklausmikaelson7332
    @niklausmikaelson7332 2 роки тому +1

    Sloths taking interview

    • @DevAditya
      @DevAditya  2 роки тому

      UA-cam has the feature to increase the speed

    • @pk-19
      @pk-19 2 роки тому

      @@DevAditya 😀😀 your sense of humour 👏👏

    • @DevAditya
      @DevAditya  2 роки тому

      @@pk-19 😄😄

  • @sundarpichai8452
    @sundarpichai8452 Рік тому

    how much salary u got from this interview

  • @1980ify
    @1980ify 2 роки тому +2

    Hi Roshan. Are you from CS background? Which course did you use to learn all this

    • @DevAditya
      @DevAditya  2 роки тому

      May i know the purpose to ask this question ?

    • @1980ify
      @1980ify 2 роки тому +3

      @@DevAditya So that I also can learn

  • @darksoulgamer5837
    @darksoulgamer5837 2 роки тому +2

    Is it your strategy to speak as less as possible about any question?

    • @DevAditya
      @DevAditya  2 роки тому +2

      Yup 😐 Introvert issue

  • @sanjumsp
    @sanjumsp 2 роки тому

    Is it for fresher or experienced?

  • @sayankumardas5918
    @sayankumardas5918 2 роки тому

    Bro are you experienced or fresher?

  • @samsiddique4751
    @samsiddique4751 2 роки тому

    Can you share your resume

  • @kiranfrancis7397
    @kiranfrancis7397 2 роки тому

    You are removed latest one interview video .what happened??

    • @DevAditya
      @DevAditya  2 роки тому

      Watch the Recent Video

  • @sourabhranakoti9339
    @sourabhranakoti9339 Рік тому

    Hi @Dev. Aditya,
    Your videos are really helpful. Actually my situation is bit complicated, i hope you can help me.
    I am working as a SAP BO developer having 2.5 yrs of exp and i want to change my tech to react js. I already learnt js and react js plus i have made projects also. I am pretty confident now.
    But I want to make my exp count, so i am going to lie on my resume that i worked on react only.
    Please guide me how to overcome when interviewer asked me about my work expierience?

    • @DevAditya
      @DevAditya  Рік тому

      Thanks 😊
      Let's connect on topmate.io/roshan

    • @sourabhranakoti9339
      @sourabhranakoti9339 Рік тому

      That is paid, if possible can you suggest me here what to do?

  • @Yourguru9
    @Yourguru9 2 роки тому

    Hi bro thanks a lot sharing your experience.
    Could you know us what was your salary package about this interview?
    And was it your interview as a fresher or experience candidate?
    If you are comfortable to share please share.

    • @DevAditya
      @DevAditya  2 роки тому

      Glad to know ❤️
      Can't disclose the salary & it was for experienced candidate.
      Watch our recent video for fresher's interview

  • @hoangvietphan8719
    @hoangvietphan8719 2 роки тому

    (function() {
    a = 4987
    function dfs(a) {
    a = a.toString()
    if(a.length acc + Number(cur), 0)
    console.log(dfs(res))
    }
    dfs(a)
    })()

    • @skzahirulislam2820
      @skzahirulislam2820 Рік тому

      function digitSum(n) {
      if(n == 0) return 0
      return (n%9 == 0) ? 9 : (n%9)
      }
      digitSum(1234)

  • @joachimhorey2490
    @joachimhorey2490 2 роки тому

    p͓̽r͓̽o͓̽m͓̽o͓̽s͓̽m͓̽ 😱

  • @karan522
    @karan522 2 роки тому

    Sir can I get your email?

  • @printmusic5m50
    @printmusic5m50 2 роки тому

    Thanks for sharing.....

    • @DevAditya
      @DevAditya  2 роки тому

      Glad you liked it 🙂