Accenture Pseudo Code Questions and Answers

Поделиться
HTML-код
  • Опубликовано: 24 окт 2024

Комментарии • 108

  • @shivalikagupta3433
    @shivalikagupta3433 3 года назад +12

    19:34 Task ques :::: The output of the code will be STUDENT because x equals 15 ( coding term it means x==15) is always true. But then it's written jump out of the loop which in code is BREAK keyword. Therefore it executes only once ....without break it would have been an infinite loop.

  • @apratimsamui407
    @apratimsamui407 3 года назад +30

    STUDENT will be printed 1 time only....because even though it is an infinite loop, there is a break statement(jump out of the loop) after it..so after executing one time it will come out of the loop and it will no more execute.

  • @priyajeetgoswami2976
    @priyajeetgoswami2976 3 года назад +33

    Pseudo Code questions
    Question 1 3:40
    Question 2 10:00
    Question 3 12:43
    Question 4 19:18
    Question 5 20:00
    DSA questions
    Question 6 23:51
    Question 7 27.17
    Question 8 29:52
    Question 9 34:00
    Amazing explanation of problems and solutions

  • @ashutoshmehere5915
    @ashutoshmehere5915 3 года назад +2

    Integer count
    for (each count from 0 to 9)
    print "#"
    if (count > 6)
    CONTINUE
    print count
    End for
    For loop will iterate from count=0 to count=8
    Count=0: print "#", print count, so 0 will be printed
    Count=1: print "#", print count, so 1 will be printed
    Count=2: print "#", print count, so 2 will be printed
    Count=3: print "#", print count, so 3 will be printed
    Count=4: print "#", print count, so 4 will be printed
    Count=5: print "#", print count, so 5 will be printed
    Count=6 :print "#", print count, so 6 will be printed
    Count =7: print"#", then if condition will become true, hence now next iteration will work.
    Count=8: print"#", then if condition will become true, hence now next iteration will work.
    Count=9: Condition will become become false. Now exit from for loop.

    • @sravaniraj
      @sravaniraj 2 года назад

      bro 9th i have accenture exam i'm fear about pusedocodes and coding plzzzzzzz can u help me???🙏🙏🙏

  • @maheshmaddula694
    @maheshmaddula694 3 года назад +4

    In the program we all can see x=15 and after that we have a while loop in that they have given x=15 but in English to confuse us and by comparing that condition we can easily say that it's true and if its true we need to print "STUDENT" . Therefore it runs one time only and the output is "STUDENT".

  • @nagapavan8389
    @nagapavan8389 2 года назад +1

    @ 20:00 the fun(str1,a+1,b) so in the fun definition the int a should equal to a+1 that is 1 so the temp = stra[1] i.e U but u take as S

  • @akashvardhan7811
    @akashvardhan7811 3 года назад +7

    Output of the code "STUDENT"
    Loop will execute only once because of jump out of the loop (break) statement

  • @kommanavikas426
    @kommanavikas426 2 года назад +1

    hi sir ! i am new to this channel ,before that all the my time goes for searing the content but when i landed on your channel i just stucked and literally i sat with out moving from the screen all this becouse of ur effects in teching and the way of explaining
    thank u sir!!

  • @bhargavikanala927
    @bhargavikanala927 3 года назад +5

    It is a way to fulfill dreams of getting in MNCs for students. Thanks a lot prepinsta squad

  • @SHIVAMKUMAR-tf6bc
    @SHIVAMKUMAR-tf6bc 3 года назад +4

    Gone throgh so many platforms till now but you guys are splendid in terms of explanation. Seen all of your videos on youtube but bcoz of the financial constraint not able to get the prime subscription.

  • @shrawanvishwakarma3431
    @shrawanvishwakarma3431 3 года назад +3

    The output will be "STUDENT" and the loop will run only for once as there is a break statement in psudo code thay is jump out of the loop.

  • @pritamsamanta9915
    @pritamsamanta9915 3 года назад +4

    output : STUDENT
    Soln:As x=15 the condition in the while loop becomes true and print statement gets executed and after that the break statement gets executed and we come out of the loop.
    For my accenture capus hiring ,I am learning from our videos and its helping me a lot.

  • @mohammedfurkhan2711
    @mohammedfurkhan2711 3 года назад +4

    19:49 1 time the loop is going to execute as jump statement is used

  • @amirthak4743
    @amirthak4743 3 года назад +7

    The happiest moment is to be placed in our dream company.💯
    Thanks prep insta for helping and being a part for our goal.❤️

  • @ayushisrivastava3451
    @ayushisrivastava3451 3 года назад +5

    the output will be "STUDENT" because the statement "jump out of loop "will act like the break statement and it will come out of the loop as soon as the compiler reaches this line

  • @shiv-428
    @shiv-428 3 года назад +6

    STUDENT will be printed only one time . Though this is an infinite loop as there is no increment/decrement in the while condition but they have given a break statement at the end to end the loop 👍👍

  • @vaishnavraju1404
    @vaishnavraju1404 3 года назад +2

    The out put will be STUDENT. The loop runs only one time. X=15 which is true and the loop would have run infinite times but there was a break statement inside the loop (they had written jump out of the loop) so the output is STUDENT one time

  • @kalpanatiwari6732
    @kalpanatiwari6732 3 года назад +1

    its given that X value is 15:- X=15
    while(X EQUALS 15) means:- while( X==15)
    as x equals to 15 so the statement is true, it will run infinite times
    Inside the loop there is print statement, So we got the output as "STUDENT"
    in the next line we have jump out of loop:- Which works as BREAK statement, So the loop will terminated, so we'll come out of the loop
    And the final output is :- STUDENT

  • @Sayed_Anjum
    @Sayed_Anjum 5 месяцев назад

    Sir you really sound like Akshat Jain IAS officer
    The voice
    The way of explaining
    Accent everything are similar

  • @vishalshaw2095
    @vishalshaw2095 3 года назад +1

    19:45
    While( x equals 15) ------------> condition true since x=15
    print "STUDENT" ------------>prints "STUDENT"
    jump out of the loop ------------>as the line says it will jump out of the loop and no further continuation of the while loop and done!
    Answer: STUDENT

  • @krishanudutta2943
    @krishanudutta2943 3 года назад +2

    Thank you so. Much sir for the amazing video ❤️❤️ thanks a lot sir ❤️The ans will be student of that pseudocode

  • @cmchampak3043
    @cmchampak3043 2 года назад +1

    The way @the founder of prepinsta teaches is really cool, and your honest effort to make students study DSA is more influenced than our teachers sir.

  • @bikramruj6491
    @bikramruj6491 3 года назад +2

    the value of x=15 is declared.
    and in the while loop the value of while(x equals 15) which is True in this case . i.e, value of x= 15 is same so, it will print STUDENT

  • @shyamsundarghosh4609
    @shyamsundarghosh4609 3 года назад +8

    The output of the code will be "STUDENT" because the condition in the while loop is true so that it will print STUDENT for the 1 time after that it will execute the break statement.

  • @lucifer9861
    @lucifer9861 3 года назад +4

    Getting really a good output through your videos, team prepinsta hats off to your work. you guys are amazing keep doing this.

  • @codewithiqbal3933
    @codewithiqbal3933 2 года назад

    in question number 3 student will print 1 time . condition in while loop run the code infinite times but there is break statement given inside the while loop that will break the loop after executing 1 time.

  • @PA-ki9fy
    @PA-ki9fy 3 года назад +1

    The output will be student printing only once as there is a statement which signifies a break statement and as soon as once the student will be printed, the very next statement would break the loop. If the break statement was not there, the loop must be an infinite loop.
    Great journey with you prepinsta, really glad to have such platform. I'm from 2022 batch and looking forward for more such videos. Following prepinsta at all the Instagram, Telegram, WhatsApp, RUclips, Discord everywhere and really worth to suggest my friends too. Already suggesting many of them. ✅✅✅✅✅✅✅✅

  • @sakshamtrivedi151
    @sakshamtrivedi151 3 года назад +1

    Can I ask you this WE already know about the prime subscription so if you are solving these really really helpful questions would you mind explaining to its upper layer as we can learn more better.

  • @medhachaudhary6673
    @medhachaudhary6673 3 года назад +8

    Just received a notification from college about accenture hiring for Advanced Associate Software Engineer - On campus. Can you please make a video on how this exam is conducted and the questions asked, etc.

    • @piyushsingh6318
      @piyushsingh6318 3 года назад +1

      When is your exam? Oncampus

    • @medhachaudhary6673
      @medhachaudhary6673 3 года назад +1

      @@piyushsingh6318 dates are not out yet

    • @piyushsingh6318
      @piyushsingh6318 3 года назад +1

      @@medhachaudhary6673 ok.. will they conduct in August only ? What do you think?

    • @medhachaudhary6673
      @medhachaudhary6673 3 года назад +1

      @@piyushsingh6318 no idea yet

    • @kratitamrakar4779
      @kratitamrakar4779 3 года назад +1

      Yes, plz make video about Accenture on campus hiring process.

  • @vanshishetty7296
    @vanshishetty7296 3 года назад +2

    Hi ,thank you for making such videos ,your team is helping all the aspirants so much !

  • @sultanaltamash5940
    @sultanaltamash5940 3 года назад +1

    You teached it very well 👍

  • @cherryouo1573
    @cherryouo1573 3 года назад

    19:40 it will run only once as it says end loop after the print statment and prit "STUDENT" as O/P

  • @Aditi2495
    @Aditi2495 3 года назад

    Thanks you people are already helping us...thanks a lot!!!

  • @MultiReview
    @MultiReview 2 года назад +1

    Sir actually I am dying to get how many times the loop will work. When for each statement now I got it🥳

  • @nandhakiran6523
    @nandhakiran6523 2 года назад +2

    Just wanted to make a correction about the spanning tree question. Since our question says it's an unweighted graph, 1 and 2 are both true and 3 is false. The correct answer is D.

  • @yashwanthkumar9637
    @yashwanthkumar9637 3 года назад +1

    Nice to see prepinsta

  • @sahikumar8512
    @sahikumar8512 Год назад

    the way you put the efforts ....

    • @PrepInsta
      @PrepInsta  Год назад

      Hey there! 💕
      Thanks, it's you guys who inspire us, wishing you the very best for your placements! 🤗
      Feel free to reach out to us over Instagram: www.prepinsta.com/instagram/
      Or drop a message on bit.ly/primeWA
      Or call us on 8448440710. Our mentors would be very glad to help you out with your queries and placement.
      Team PrepInsta is always here to help!

  • @ruthikgowda8
    @ruthikgowda8 2 года назад

    Students will be print only one time cuz while loop condition is true as x equals to 15 and 1st statement is print after that jump out of the will encounter so it come out of the loop after printing one time

  • @kameswarpanda
    @kameswarpanda 28 дней назад

    Output is - STUDENT (IT will print one time only because there is "Jump out of the loop" statement)

  • @mustang9157
    @mustang9157 3 года назад +7

    You guys understood the pain of students who are attending placements, may be you guys think of that and providing us the needy content which you missed in your time,
    Thank you ❤️❤️ for the whole team of prep insta

  • @preranamadhavi3238
    @preranamadhavi3238 Год назад

    The questions at time 19:34 is asking that at how much time student will print
    So logical is like x=15
    And while condn is x EQUALS 15
    So it will print once only then it will jump out

    • @PrepInsta
      @PrepInsta  10 месяцев назад

      Hey, we got pretty late with the response 🥺 How was your test?

  • @mayankraj184
    @mayankraj184 2 года назад

    But time complexity of merge sort is nlog(n) not log(n)?? Then how to get answer

  • @engineer.01
    @engineer.01 3 года назад

    The question which printing student in while loop , will print student only one time because of we ate jumping out of loop .
    If we there is not mentioned of jump out of loop it's gonna print student infinite times.

  • @sakshamkumar9027
    @sakshamkumar9027 3 года назад +1

    while(x equals 15) will run infinte times,cause we are not incrementing or decrementing the value of x.

  • @cs_soldier5292
    @cs_soldier5292 3 года назад +1

    output : STUDENT
    Will be executed once only, Once after the condition is met it will print STUDENT and control exits the loop

  • @pavansai4159
    @pavansai4159 3 года назад

    Output- student
    It jump out the loop. If it out of the loop than it just asking PRINT" STUDENT".
    So, output is student.

  • @tejach8745
    @tejach8745 3 года назад +1

    Thanks for the valuable content

  • @cheppallivarunreddy1125
    @cheppallivarunreddy1125 2 года назад

    student 1 time since there you clearly mentioned that at the value of x=15 the whileloop will be break so student will be printed1time

  • @sahithsiripuram5580
    @sahithsiripuram5580 3 года назад

    Output- STUDENT
    It will print one time due to condition is true and it will come out of loop after successful execution

  • @mayankmondal638
    @mayankmondal638 3 года назад

    You guys are great 😊 thanks a lot

  • @kirtitalreja7744
    @kirtitalreja7744 3 года назад

    Thank you for such amazing videos

  • @akshithaakki5392
    @akshithaakki5392 3 года назад

    its a very good video

  • @smohan647
    @smohan647 3 года назад +1

    19:47 it will print 'STUDENT ' for infinity times, because it's ending again with while. So it continue in the loop

  • @ruchirai4406
    @ruchirai4406 3 года назад

    set x=15
    while(x equals 15)
    print "student"
    jump out of the loop
    End while
    The output will be error because in while loop we can't use break statement.
    According to my perspective.

    • @ganeshbhosale9544
      @ganeshbhosale9544 3 года назад

      Break can used for loops, as while is also loop .ie can be used

  • @darshand775
    @darshand775 3 года назад

    Thank you so much

  • @shivalingkoralli9474
    @shivalingkoralli9474 Месяц назад

    for the second question I felt like he teaching only me, cause he showed the mistakes which i do.....

    • @PrepInsta
      @PrepInsta  Месяц назад

      Hey there!
      We're super glad we could be of help 🤗
      Make sure to check out PrepInsta Prime for dedicated Accenture preparation materials, 200+ courses and more! prepinstaprime.com/
      Also, feel free to reach out to us over our socials via prepinsta.com/offcampus-updates/
      Or call us on 8448440710 or 080-473-62121. Our mentors would be very glad to help you out with your queries and placement preparations.
      Team PrepInsta is always here to help! 💚

  • @sudhanshuyadav9485
    @sudhanshuyadav9485 3 года назад +1

    It will run infinite times as there is no information about the increment or decrement is given.

  • @kanchanpathak9752
    @kanchanpathak9752 2 года назад

    How to solve pseudo code questions faster?

    • @PrepInsta
      @PrepInsta  2 года назад

      Hey Kanchan! 💕
      How about you reach out to us over Instagram: www.prepinsta.com/instagram/
      Or drop a message on bit.ly/prime-wa
      Or call us on 8448440710 if you have any queries or need placement assistance, our mentors would be very glad to help you out!

  • @bhagyabiradar5850
    @bhagyabiradar5850 3 года назад

    Sir ur what's app group is full it's not allowing to join

  • @aniketjadhav7039
    @aniketjadhav7039 3 года назад +1

    19:45
    it will run infinite times because there is not given any increment/decrement instruction.

  • @gulamansari2701
    @gulamansari2701 3 года назад +1

    Only one time. Because while(15equals15) true .

  • @amankumar4123
    @amankumar4123 3 года назад

    Nothing will be printed as x equal to 15 is assignment operation

  • @sapnasingh-lm6wk
    @sapnasingh-lm6wk Год назад

    in question 2 why we will run x = 4 only

    • @PrepInsta
      @PrepInsta  Год назад

      Hey! You can reach out us here prepinsta.com/discord/

  • @ramyasree4986
    @ramyasree4986 3 года назад +1

    Nice one

  • @fakeyadav4000
    @fakeyadav4000 2 года назад

    Capgemini k liye bhi yhi sb question pda rkhe the aur bol rhe the this is actually code asked in exam totally same video

  • @traghunathreddy4725
    @traghunathreddy4725 3 года назад

    Prepinsta: jodddd

  • @Foodish_fun
    @Foodish_fun 2 года назад

    41 mins video == 41 times you used PRIME word output true;

  • @anushapalisetty908
    @anushapalisetty908 Год назад

    Student is the output for x=15 while loop question - 19:47

    • @PrepInsta
      @PrepInsta  Год назад

      Okay! Stay connected for more such videos!

  • @nikethdonthula2123
    @nikethdonthula2123 Год назад

    The answer for the question "SUPPORT" will be "TUPPORS" not the reverse of the given string !!

    • @reaper8f
      @reaper8f Год назад

      temp - S
      0 - TUPPORS
      temp - U
      1 - TRPPOUS
      temp - P
      2 - TROPPUS
      temp - P
      3 - TROPPUS
      TROPPUS
      shouldn't this be correct .............. btw he didnt gave the correct and in video for this question or I missed it?

  • @unknownnaanu
    @unknownnaanu 3 года назад

    Output is STUDENT because I need PRIME video membership :) 😂

  • @binitapanda9992
    @binitapanda9992 3 года назад

    video starts at 3:42

  • @nitin5973
    @nitin5973 3 года назад +1

    Prime...👌🏻

  • @ashutoshmehere5915
    @ashutoshmehere5915 3 года назад

    how?

  • @debarunnath7021
    @debarunnath7021 3 года назад

    Course bechna hain to becho but iska mtlb ye thodi faltu main tough question karwake Students ko darado..Actual question lao aur jobless students ki weakness ko leke mat khelo

  • @pankajsingh-rh8gw
    @pankajsingh-rh8gw 2 года назад +2

    Why r u behaving like school teacher. If u r not interested to teach in free then please stop it.

  • @hariboy123
    @hariboy123 11 месяцев назад

    The ouput is student for one time

    • @PrepInsta
      @PrepInsta  11 месяцев назад

      Hi, For technical queries reach out to our mentors on discord.
      Join our TA Support Group on Discord, where we will help you out with all your technical queries:
      📍prepinsta.com/discord/
      If you are new to Discord, please watch our tutorial here❤️:
      bit.ly/how-to-use-prepinsta-discord-server

  • @SachinKumar-rr6jz
    @SachinKumar-rr6jz 3 года назад

    Again missed it 😭

  • @ktvlogs4065
    @ktvlogs4065 3 года назад

    3:02

  • @bhavyamangalam5072
    @bhavyamangalam5072 Год назад

    He said "to be honest" way too many times😂

    • @PrepInsta
      @PrepInsta  Год назад

      Haha, Because he is honest! 👀😂

  • @vloggingtime2584
    @vloggingtime2584 2 года назад

    0-14times sir

  • @brand_blitz
    @brand_blitz 9 месяцев назад

    to be honest

  • @rajavaishnavi2601
    @rajavaishnavi2601 3 года назад

    Hii

  • @sucharitasahoo6643
    @sucharitasahoo6643 3 года назад

    1st commment