Option c.156 is correct answer. Iteration 1: Before : a = 50, b = 3, c = 3 d = a mod b = 50 mod 3 = 2 e = e + d + a = 0 + 2 + 50 = 52 c = c - 1 = 3 - 1 = 2 Iteration 2: Before : a = 50, b = 3, c = 2 d = a mod b = 50 mod 3 = 2 e = e + d + a = 52 + 2 + 50 = 104 c = c - 1 = 2 - 1 = 1 Iteration 3: Before : a = 50, b = 3, c = 1 d = a mod b = 50 mod 3 = 2 e = e + d + a = 104 + 2 + 50 = 156 c = c - 1 = 1 - 1 = 0 the value of e will be 156.
Iteration 1: Before : a = 50, b = 3, c = 3 d = a mod b = 50 mod 3 = 2 e = e + d + a = 0 + 2 + 50 = 52 c = c - 1 = 3 - 1 = 2 Iteration 2: Before : a = 50, b = 3, c = 2 d = a mod b = 50 mod 3 = 2 e = e + d + a = 52 + 2 + 50 = 104 c = c - 1 = 2 - 1 = 1 Iteration 3: Before : a = 50, b = 3, c = 1 d = a mod b = 50 mod 3 = 2 e = e + d + a = 104 + 2 + 50 = 156 c = c - 1 = 1 - 1 = 0 the value of e will be 156.
Hello Sir Great explanation from you Thanks for the video I hope getting a PERPINSTA Prime will definitely help me to place in Accenture , hope for the best
a=50 , b=3 , c=3 d=50%3 -> 2 e=e+d+a =e+52 next loop c=2 , which is greater than 0 d value doesn't change e=e+52+52 next loop c=1 ,which is greater than 0 d value doesn't change e=52+52+52 =156
Option (c) is correct ✅ First iteration: d = a mod b = 50 mod 3 = 2 e = e + d + a = 0 + 2 + 50 = 52 c = c - 1 = 3 - 1 = 2 Second iteration: d = a mod b = 50 mod 3 = 2 e = e + d + a = 52 + 2 + 50 = 104 c = c - 1 = 2 - 1 = 1 Third iteration: d = a mod b = 50 mod 3 = 2 e = e + d + a = 104 + 2 + 50 = 156 c = c - 1 = 1 - 1 = 0 loop Ends since c = 0 Final output: 156
First a=50,b=3,c=3,d=0,e=0 So first check while and c>0 so find d = a mod b which is become 50 % 3 so d= 2. Heare can't change a and b value so d is ideal for program e=e+d+a . e= 0+2+50 e= 52. C= c-1 C= 2. Again check loop 2>0 so d= 2 fix e= e+d+a. e= 52+2+50= 104 C= c-1 C= 2-1. C= 1 Again check loop and c> 0 so. Again perform opration. e= e+d+a e = 104+2+50. e= 156. C=c-1 C= 1-1 C= 0. Again check loop and 0!> 0 so end the loop and print e. So print 156. That's the answer is 156. ANSWER = OPTION C 156
Last question answer is , On 1st iteration a=50, b= 3, c= 3 and c >0 so d= 50%3= 2 so e = 0+2+50 = 52 On 2nd iteration a=50, b= 3, c= 2 and c >0 so d= 50%3= 2 so e = 52+2+50 = 104 On 3rd iteration a=50, b= 3, c= 1 and c >0 so d= 50%3= 2 so e = 104+2+50 = 156 So option C.156 is correct
correct answer: Option c - 156 In first iteration: c=3 3>0 is true d=50%3 = 2 e = e+d+a = 0+2+50 = 52 c=c-1 = 2 In second iteration: c=2 2>0 is true d=50%3 = 2 e = e+d+a = 52+2+50 = 104 c=c-1 = 1 In third iteration: c=1 1>0 is true d=50%3 = 2 e = e+d+a = 104+2+50 = 156 c=c-1 = 0 In fourth iteration: 0>0 is false,so it gets out of the loop and prints e,which is 156. I hope prepinsta prime will help me to practice more and get better.Thank you.
Option c.156 is correct answer. First a=50,b=3,c=3,d=0,e=0 So first check while and c>0 so find d = a mod b which is become 50 % 3 so d= 2. Heare can't change a and b value so d is ideal for program e=e+d+a . e= 0+2+50 e= 52. C= c-1 C= 2. Again check loop 2>0 so d= 2 fix e= e+d+a. e= 52+2+50= 104 C= c-1 C= 2-1. C= 1 Again check loop and c> 0 so. Again perform opration. e= e+d+a e = 104+2+50. e= 156. C=c-1 C= 1-1 C= 0. Again check loop and 0!> 0 so end the loop and print e. So print 156. That's the answer is 156. ANSWER = OPTION C 156
Option c.156 Iteration 1: Before : a = 50, b = 3, c = 3 d = a mod b = 50 mod 3 = 2 e = e + d + a = 0 + 2 + 50 = 52 c = c - 1 = 3 - 1 = 2 Iteration 2: Before : a = 50, b = 3, c = 2 d = a mod b = 50 mod 3 = 2 e = e + d + a = 52 + 2 + 50 = 104 c = c - 1 = 2 - 1 = 1 Iteration 3: Before : a = 50, b = 3, c = 1 d = a mod b = 50 mod 3 = 2 e = e + d + a = 104 + 2 + 50 = 156 c = c - 1 = 1 - 1 = 0 the value of e will be 156.
hello sir , thankyou for the video and your explanation is great , to place in accenture i think we definately need a perinsta prime account , hope for the best
first iteration: d=2; e=0+2+50 = 52 c=2 second iteration: d=2; e=52+2+50=104 c=1 third iteration: d=2; e=104+2+50; c=0 end of loop d= 156 Hit like everyone who got the same answer❤
The Answer is 156 For the 1st iteration : d=50%3=2 e=0+2+50 For which it gives e=52 For 2nd iteration: d=50%3=2 e=52+2+50 e=104 For 3rd iteration d=2 e=104+2+50 e=156 In simple way ...we can say that we can simply calculate the E value without wasting of tym ..... As we know D and E areconstantly remain unchanged ...and upadting only E by just adding the upated values of E foe every iteration
Option c.156 Iteration 1: Before: a = 50 b = 3 c = 3 d = a mod b = 50 mod 3 = 2 e = e + d + a = 0 + 2 + 50 = 52 c = c - 1 = 3 - 1 = 2 Iteration 2: Before: a = 50 b = 3 c = 2 d = a mod b = 50 mod 3 = 2 e = e + d + a = 52 + 2 + 50 = 104 c = c - 1 = 2 - 1 = 1 Iteration 3: Before: a = 50 b = 3 c = 1 d = a mod b = 50 mod 3 = 2 e = e + d + a = 104 + 2 + 50 = 156 c = c - 1 = 1 - 1 = 0 the value of e will be 156.
Iteration 1: Before : a = 50, b = 3, c = 3 d = a mod b = 50 mod 3 = 2 e = e + d + a = 0 + 2 + 50 = 52 c = c - 1 = 3 - 1 = 2 Iteration 2: Before : a = 50, b = 3, c = 2 d = a mod b = 50 mod 3 = 2 e = e + d + a = 52 + 2 + 50 = 104 c = c - 1 = 2 - 1 = 1 Iteration 3: Before : a = 50, b = 3, c = 1 d = a mod b = 50 mod 3 = 2 e = e + d + a = 104 + 2 + 50 = 156 c = c - 1 = 1 - 1 = 0 the value of e will be 156. Option C
I Need prime because I believe that this platform will definitely help me to get placed in Accenture,so pls give me prime which will help me. Thank you
Option : C 156 Why it because the value of a and b are same the module of these is 2 remainder so the value of e is 0 “constant “ and the value of a is 50 So the answer of is 156
Hey there! We are liking them though! 😉 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! 💚
a = 50 , b = 3 , c = 3 d = 50% * 3 -> 2 e=e+d+a = e + 52 next loop c = 2 , which is greater than 0 d value doesn't change e = e + 52 + 52 next loop c = 1 , which is greater than 0 d value doesn't change =156 e = 52 + 52 + 52
Iteration 1: Before : a = 50, b = 3, c = 3 d = a mod b = 50 mod 3 = 2 e = e + d + a = 0 + 2 + 50 = 52 c = c - 1 = 3 - 1 = 2 Iteration 2: Before : a = 50, b = 3, c = 2 d = a mod b = 50 mod 3 = 2 e = e + d + a = 52 + 2 + 50 = 104 c = c - 1 = 2 - 1 = 1 Iteration 3: Before : a = 50, b = 3, c = 1 d = a mod b = 50 mod 3 = 2 e = e + d + a = 104 + 2 + 50 = 156 c = c - 1 = 1 - 1 = 0 the value of e will be 156.
like if you are going to crack accenture tests💜
Option c.156 is correct answer.
Iteration 1:
Before : a = 50, b = 3, c = 3
d = a mod b = 50 mod 3 = 2
e = e + d + a = 0 + 2 + 50 = 52
c = c - 1 = 3 - 1 = 2
Iteration 2:
Before : a = 50, b = 3, c = 2
d = a mod b = 50 mod 3 = 2
e = e + d + a = 52 + 2 + 50 = 104
c = c - 1 = 2 - 1 = 1
Iteration 3:
Before : a = 50, b = 3, c = 1
d = a mod b = 50 mod 3 = 2
e = e + d + a = 104 + 2 + 50 = 156
c = c - 1 = 1 - 1 = 0
the value of e will be 156.
Can you please tell whether you got free prepinsta prime ?
@@DURGASREECHOWDHARYKOMMINI no
bro is really in need of prep insta prime
These are the easy ones. Please make a video for the actual questions which came in exams. Those were difficult
C.156
I usually do all the free stuff of it like the top 100 codes because its too. Costly for me to afford
Iteration 1:
Before : a = 50, b = 3, c = 3
d = a mod b = 50 mod 3 = 2
e = e + d + a = 0 + 2 + 50 = 52
c = c - 1 = 3 - 1 = 2
Iteration 2:
Before : a = 50, b = 3, c = 2
d = a mod b = 50 mod 3 = 2
e = e + d + a = 52 + 2 + 50 = 104
c = c - 1 = 2 - 1 = 1
Iteration 3:
Before : a = 50, b = 3, c = 1
d = a mod b = 50 mod 3 = 2
e = e + d + a = 104 + 2 + 50 = 156
c = c - 1 = 1 - 1 = 0
the value of e will be 156.
option c:156
Hello Sir
Great explanation from you
Thanks for the video
I hope getting a PERPINSTA Prime will definitely help me to place in Accenture , hope for the best
a=50 , b=3 , c=3
d=50%3 -> 2
e=e+d+a
=e+52
next loop
c=2 , which is greater than 0
d value doesn't change
e=e+52+52
next loop
c=1 ,which is greater than 0
d value doesn't change
e=52+52+52
=156
Option (c) is correct ✅
First iteration:
d = a mod b = 50 mod 3 = 2
e = e + d + a = 0 + 2 + 50 = 52
c = c - 1 = 3 - 1 = 2
Second iteration:
d = a mod b = 50 mod 3 = 2
e = e + d + a = 52 + 2 + 50 = 104
c = c - 1 = 2 - 1 = 1
Third iteration:
d = a mod b = 50 mod 3 = 2
e = e + d + a = 104 + 2 + 50 = 156
c = c - 1 = 1 - 1 = 0
loop Ends since c = 0
Final output: 156
I learn lot of things by prep insta really good to learn and develop my skills is really good plat form to learn
🎉🎉🎉🎉🎉
First a=50,b=3,c=3,d=0,e=0
So first check while and c>0 so find d = a mod b which is become 50 % 3 so d= 2. Heare can't change a and b value so d is ideal for program
e=e+d+a .
e= 0+2+50
e= 52.
C= c-1
C= 2.
Again check loop 2>0 so d= 2 fix
e= e+d+a.
e= 52+2+50= 104
C= c-1
C= 2-1.
C= 1
Again check loop and c> 0 so. Again perform opration. e= e+d+a
e = 104+2+50.
e= 156.
C=c-1
C= 1-1
C= 0.
Again check loop and 0!> 0 so end the loop and print e. So print 156.
That's the answer is 156.
ANSWER = OPTION C 156
Last question answer is ,
On 1st iteration a=50, b= 3, c= 3 and c >0 so d= 50%3= 2 so e = 0+2+50 = 52
On 2nd iteration a=50, b= 3, c= 2 and c >0 so d= 50%3= 2 so e = 52+2+50 = 104
On 3rd iteration a=50, b= 3, c= 1 and c >0 so d= 50%3= 2 so e = 104+2+50 = 156
So option C.156 is correct
correct answer: Option c - 156
In first iteration:
c=3
3>0 is true
d=50%3 = 2
e = e+d+a = 0+2+50 = 52
c=c-1 = 2
In second iteration:
c=2
2>0 is true
d=50%3 = 2
e = e+d+a = 52+2+50 = 104
c=c-1 = 1
In third iteration:
c=1
1>0 is true
d=50%3 = 2
e = e+d+a = 104+2+50 = 156
c=c-1 = 0
In fourth iteration:
0>0 is false,so it gets out of the loop and prints e,which is 156.
I hope prepinsta prime will help me to practice more and get better.Thank you.
In on-campus whether we need to attend test in college lab or own system?
Option c.156 is correct answer.
First a=50,b=3,c=3,d=0,e=0
So first check while and c>0 so find d = a mod b which is become 50 % 3 so d= 2. Heare can't change a and b value so d is ideal for program
e=e+d+a .
e= 0+2+50
e= 52.
C= c-1
C= 2.
Again check loop 2>0 so d= 2 fix
e= e+d+a.
e= 52+2+50= 104
C= c-1
C= 2-1.
C= 1
Again check loop and c> 0 so. Again perform opration. e= e+d+a
e = 104+2+50.
e= 156.
C=c-1
C= 1-1
C= 0.
Again check loop and 0!> 0 so end the loop and print e. So print 156.
That's the answer is 156.
ANSWER = OPTION C 156
Answer is 156 as the e=e+d+a will be executed three times for c=1,2 and 3 and each time it adds 52 to the value of e
Like to get placed in Accenture
Answer to question is C : 156
Option c.156 is the output and the video is veryful
Option c.156
Iteration 1:
Before : a = 50, b = 3, c = 3
d = a mod b = 50 mod 3 = 2
e = e + d + a = 0 + 2 + 50 = 52
c = c - 1 = 3 - 1 = 2
Iteration 2:
Before : a = 50, b = 3, c = 2
d = a mod b = 50 mod 3 = 2
e = e + d + a = 52 + 2 + 50 = 104
c = c - 1 = 2 - 1 = 1
Iteration 3:
Before : a = 50, b = 3, c = 1
d = a mod b = 50 mod 3 = 2
e = e + d + a = 104 + 2 + 50 = 156
c = c - 1 = 1 - 1 = 0
the value of e will be 156.
really helpful
hello sir , thankyou for the video and your explanation is great , to place in accenture i think we definately need a perinsta prime account , hope for the best
first iteration:
d=2;
e=0+2+50 = 52
c=2
second iteration:
d=2;
e=52+2+50=104
c=1
third iteration:
d=2;
e=104+2+50;
c=0
end of loop
d= 156
Hit like everyone who got the same answer❤
The Answer is 156
For the 1st iteration :
d=50%3=2
e=0+2+50
For which it gives e=52
For 2nd iteration:
d=50%3=2
e=52+2+50
e=104
For 3rd iteration
d=2
e=104+2+50
e=156
In simple way ...we can say that we can simply calculate the E value without wasting of tym .....
As we know D and E areconstantly remain unchanged ...and upadting only E by just adding the upated values of E foe every iteration
It's highly useful prepinsta never disappoints..
c)156 for assignment question ❤
Option c.156
Iteration 1:
Before: a = 50 b = 3 c = 3
d = a mod b = 50 mod 3 = 2
e = e + d + a = 0 + 2 + 50 = 52
c = c - 1 = 3 - 1 = 2
Iteration 2:
Before: a = 50 b = 3 c = 2
d = a mod b = 50 mod 3 = 2
e = e + d + a = 52 + 2 + 50 = 104
c = c - 1 = 2 - 1 = 1
Iteration 3:
Before: a = 50 b = 3 c = 1
d = a mod b = 50 mod 3 = 2
e = e + d + a = 104 + 2 + 50 = 156
c = c - 1 = 1 - 1 = 0
the value of e will be 156.
Iteration 1:
Before : a = 50, b = 3, c = 3
d = a mod b = 50 mod 3 = 2
e = e + d + a = 0 + 2 + 50 = 52
c = c - 1 = 3 - 1 = 2
Iteration 2:
Before : a = 50, b = 3, c = 2
d = a mod b = 50 mod 3 = 2
e = e + d + a = 52 + 2 + 50 = 104
c = c - 1 = 2 - 1 = 1
Iteration 3:
Before : a = 50, b = 3, c = 1
d = a mod b = 50 mod 3 = 2
e = e + d + a = 104 + 2 + 50 = 156
c = c - 1 = 1 - 1 = 0
the value of e will be 156.
Option C
Iteration-1 : 0+2+50=52 Iteration-2: 52+2+50=104 Iteration-3 : 104+2+50=156 so final answer is 156.i.e.., option "C"
I Need prime because I believe that this platform will definitely help me to get placed in Accenture,so pls give me prime which will help me. Thank you
option a .52 is correct
d=50%3=2
e=0+2+50
c=3-1=2
then e=52
Sir if my primary language is java so in interview question used to come in other language as well or not
Sir, is there any shortcut trick for solving these types of questions?
Ans is 156 as in each iteration e will be increased by 52 as a=50 and d=2
Option C:156
Q1 5050
Option : C 156
Why it because the value of a and b are same the module of these is 2 remainder so the value of e is 0 “constant “ and the value of a is 50
So the answer of is 156
option C. 156
Yes it's helpful
at 4:06 answer shoud be none of these : its fun(fun(n-1)) , so its calling it 2 times
Sir, Answer will be 156 of last Question!
cracked Accenture first round!!
how bro?
option C. 156-> itr 1..52..................... itr 2 104....it3 156 and then e becomes 0.
C 156
Option c - 156
Option d) 153 is correct
Answer c=156
Option -c)156
Ans : 156
156 is correct answer for the above last question
The answer for the last question was option C :156
option d.153 is correct answer
Option c 156
Option c :156
C.156
ans=156
I really need prep insta prime because in next month Accenture is coming in my college 😢😢😢 please
156 last answer
c is the right option
156 is the correct one
156 is correct answer ..
C.156 is correct answer
156 is correct answer
am i get prime?
Option 156
156 is the correct answer.
Correct ans option :c
52+52+52=156
The answer is definitely "156"
156
OPTION C:156
i will comment on every video but i didn't get prime🙂
c 156
156 answer is right
e = 156 is correct answer
last answer is 156
156 option c
156 option c is the answer
156 is the answer.
answer is 52
156 c option
52 answer
52 is the answer
156 is the answer
The correct ans is option C
How to get placed in accenture
I need it.... Please
156 will be the output
Hi
156 will be the ans
52+52+52 = 156
its 156 😢
Top 3 comments😁
1st comment done by me😂
Prepinsta lets do a deal ,So the answer is 156 for sure , Don't give me anything free just give me a 90% off .
I will speak a lie e= 156
This Comment never gonna be in top 3
Only because the top three will get prime...no one is liking the comments 😹
Hey there!
We are liking them though! 😉
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! 💚
5050
1st comment!
a = 50 , b = 3 , c = 3
d = 50% * 3 -> 2
e=e+d+a
= e + 52
next loop
c = 2 , which is greater than 0
d value doesn't change
e = e + 52 + 52
next loop
c = 1 , which is greater than 0
d value doesn't change
=156
e = 52 + 52 + 52
Iteration 1:
Before : a = 50, b = 3, c = 3
d = a mod b = 50 mod 3 = 2
e = e + d + a = 0 + 2 + 50 = 52
c = c - 1 = 3 - 1 = 2
Iteration 2:
Before : a = 50, b = 3, c = 2
d = a mod b = 50 mod 3 = 2
e = e + d + a = 52 + 2 + 50 = 104
c = c - 1 = 2 - 1 = 1
Iteration 3:
Before : a = 50, b = 3, c = 1
d = a mod b = 50 mod 3 = 2
e = e + d + a = 104 + 2 + 50 = 156
c = c - 1 = 1 - 1 = 0
the value of e will be 156.
Option c)156