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.
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.
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.
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!!
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.
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".
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
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
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 👍👍
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
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
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, TH-cam, Discord everywhere and really worth to suggest my friends too. Already suggesting many of them. ✅✅✅✅✅✅✅✅
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!
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
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
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.
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.
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.
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.
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
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
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.
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.
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.
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.
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!
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! 💚
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?
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
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
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.
it will simply print STUDENT
Genius bro😮
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
Thank you soo much
Pseudo code qstn non technical walo k liye v h?
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.
Yes u r correct😊
19:49 1 time the loop is going to execute as jump statement is used
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.
bro 9th i have accenture exam i'm fear about pusedocodes and coding plzzzzzzz can u help me???🙏🙏🙏
@ 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
It is a way to fulfill dreams of getting in MNCs for students. Thanks a lot prepinsta squad
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!!
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.
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".
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
Output of the code "STUDENT"
Loop will execute only once because of jump out of the loop (break) statement
Nice to see prepinsta
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.
Thank you so. Much sir for the amazing video ❤️❤️ thanks a lot sir ❤️The ans will be student of that pseudocode
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
Getting really a good output through your videos, team prepinsta hats off to your work. you guys are amazing keep doing this.
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 👍👍
19:40 it will run only once as it says end loop after the print statment and prit "STUDENT" as O/P
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.
The happiest moment is to be placed in our dream company.💯
Thanks prep insta for helping and being a part for our goal.❤️
You teached it very well 👍
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
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
Thanks you people are already helping us...thanks a lot!!!
Hi ,thank you for making such videos ,your team is helping all the aspirants so much !
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, TH-cam, Discord everywhere and really worth to suggest my friends too. Already suggesting many of them. ✅✅✅✅✅✅✅✅
the way you put the efforts ....
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!
Sir you really sound like Akshat Jain IAS officer
The voice
The way of explaining
Accent everything are similar
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
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
Hey, we got pretty late with the response 🥺 How was your test?
19:47 it will print 'STUDENT ' for infinity times, because it's ending again with while. So it continue in the loop
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.
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.
Thanks for the valuable content
3 rd comment
You guys are great 😊 thanks a lot
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.
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.
its a very good video
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
Very true
Thank you for such amazing videos
output : STUDENT
Will be executed once only, Once after the condition is met it will print STUDENT and control exits the loop
Sir actually I am dying to get how many times the loop will work. When for each statement now I got it🥳
But time complexity of merge sort is nlog(n) not log(n)?? Then how to get answer
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
while(x equals 15) will run infinte times,cause we are not incrementing or decrementing the value of x.
Thank you so much
Prepinsta: jodddd
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.
When is your exam? Oncampus
@@piyushsingh6318 dates are not out yet
@@medhachaudhary6673 ok.. will they conduct in August only ? What do you think?
@@piyushsingh6318 no idea yet
Yes, plz make video about Accenture on campus hiring process.
Output- student
It jump out the loop. If it out of the loop than it just asking PRINT" STUDENT".
So, output is student.
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.
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.
Output is - STUDENT (IT will print one time only because there is "Jump out of the loop" statement)
19:45
it will run infinite times because there is not given any increment/decrement instruction.
Prime...👌🏻
Student is the output for x=15 while loop question - 19:47
Okay! Stay connected for more such videos!
video starts at 3:42
Nice one
Output- STUDENT
It will print one time due to condition is true and it will come out of loop after successful execution
mainly practice bitwise opearartor pseudo codes, these types of codes will come hardly 1 or 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
Only one time. Because while(15equals15) true .
Sir ur what's app group is full it's not allowing to join
how?
in question 2 why we will run x = 4 only
Hey! You can reach out us here prepinsta.com/discord/
3:02
Nothing will be printed as x equal to 15 is assignment operation
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.
Break can used for loops, as while is also loop .ie can be used
How to solve pseudo code questions faster?
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!
41 mins video == 41 times you used PRIME word output true;
It will run infinite times as there is no information about the increment or decrement is given.
for the second question I felt like he teaching only me, cause he showed the mistakes which i do.....
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! 💚
The answer for the question "SUPPORT" will be "TUPPORS" not the reverse of the given string !!
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?
Output is STUDENT because I need PRIME video membership :) 😂
Capgemini k liye bhi yhi sb question pda rkhe the aur bol rhe the this is actually code asked in exam totally same video
0-14times sir
Again missed it 😭
He said "to be honest" way too many times😂
Haha, Because he is honest! 👀😂
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
The ouput is student for one time
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
to be honest
Hii
Why r u behaving like school teacher. If u r not interested to teach in free then please stop it.
Lol thats what, 75% advertising 25% Question solving.
1st commment
hn ye karlo pehle