good question.it depends if it is an algorithm or a code. the given question is an Algo as there are no semicolons, simple english sentences like end while etc. whereas a code follows proper syntax. so here ^ is used as raised to.
Sir.. yesterday Capgemini test was very easy... Your videos really helped me in these 1 month gap But 1 didn't get selected in Capgemini.. analyst position but they were selecting candidates based on English essay score. Means selected candidates will be moved to Psuedo code and those who are not.. they are told to wait on conference hall My english essay went good too... When we ask about it how they are evaluating ? Beside we haven't made any grammer or spelling mistakes One of their colleague told.. you have used too many backspaces You shouldn't have use it Means the whole procedure for English essay is.. " in one line how many backspaces he/she uses " And finally after waiting for 1 hr in conference hall They shout out the names of candidates who were selected in aptitude for the role of *service desk* and I was selected for the role So my Psuedo code is of no use through out the process.. beside I have invested alot of time to be good in Psuedo code. Their selection procedure is not good at all.
Sir this question answer will be print the -15 M=9,n=6 M=m+1 (9+1) m=10 N=n-1 (6-1) n=5 M=m+n (10+5) m=15 If(m>n) (15>5) condition is true Print m=15 Else Print n
@HARSH VARDHAN GUPTA Extra 2 bytes for return value. So 2n+8. btechsmartclass.com/data_structures/space-complexity.html#:~:text=That%20means%2C%20totally%20it%20requires%20'2n%2B8'%20bytes,to%20be%20Linear%20Space%20Complexity.
For 2nd question answer 15 is correct... Bcoz while u explaining u skipped m=m+n line.
Yess
Yes!
Yes
Yes
yes!
Bitwise xor and power operator both have similar symbol
in the first question 12%10 it should be 2. (in the third line) how it will be 1?
In the first question how do we know if ^ is raised to or XOR
good question.it depends if it is an algorithm or a code. the given question is an Algo as there are no semicolons, simple english sentences like end while etc. whereas a code follows proper syntax.
so here ^ is used as raised to.
How to know if it's a power or bitwise xor ? In other video I saw one sir is doing the code with xor.
Sir.. yesterday Capgemini test was very easy... Your videos really helped me in these 1 month gap
But 1 didn't get selected in Capgemini.. analyst position
but they were selecting candidates based on English essay score. Means selected candidates will be moved to Psuedo code and those who are not.. they are told to wait on conference hall
My english essay went good too...
When we ask about it how they are evaluating ? Beside we haven't made any grammer or spelling mistakes
One of their colleague told.. you have used too many backspaces
You shouldn't have use it
Means the whole procedure for English essay is.. " in one line how many backspaces he/she uses "
And finally after waiting for 1 hr in conference hall
They shout out the names of candidates who were selected in aptitude for the role of *service desk* and I was selected for the role
So my Psuedo code is of no use through out the process.. beside I have invested alot of time to be good in Psuedo code.
Their selection procedure is not good at all.
Man...that was hard..feel bad for you!!
is " ^ " symbol for power or " xor " symbol mostly in pseudo code it is used for xor but suddenly for their convenience it becomes power.
By taking that as xor, I got the same answer. I think that is xor only not power
It is a bitwise XOR operator
These pseudo code are easy. in xam,are they gonna give tougher pseudo code or they gonna give same kind of pseudo codes.?
Same kind. Tough ones will be available in their material. Suggest you to buy them.
In the last question the function is itself an integer function can't it take 2 bytes too?
then 2n+8 will be the answer..
@@VishalYadav-xj4ok yes
i need confidence level like you
Sir this question answer will be print the -15
M=9,n=6
M=m+1 (9+1) m=10
N=n-1 (6-1) n=5
M=m+n (10+5) m=15
If(m>n) (15>5) condition is true
Print m=15
Else
Print n
Yes sir pls clarify how to know whether it is xor or power of the given num..pls rply sir..tmrw is my exam
Do part 3 video with some another important questions
Add more questions of previous exam of campgemini pseudo code
Is this relavent for the bcom graduates as well?
For the capgemine interview
this is for the analyst role?
Answer of last question will be 2n+8
As function has int sum=0 inside it which also occupy 2 bytes.
How please explain
@HARSH VARDHAN GUPTA simply count the number of integers and multiply it by 2 bcoz only size is asked..2+2+2+2+2n=2n+8..here 2n is for array.
@HARSH VARDHAN GUPTA Extra 2 bytes for return value. So 2n+8.
btechsmartclass.com/data_structures/space-complexity.html#:~:text=That%20means%2C%20totally%20it%20requires%20'2n%2B8'%20bytes,to%20be%20Linear%20Space%20Complexity.
Q.4) answer should be 2n+8 I guess because at the end we should count return type value also i.e 2+2+2+2=8
If I’m wrong plz let me know
But it is returning the value of sum only which we already counted.
the answer should be 2n+8 because the function is int type so it also takes 2 bytes.
Actually the Array passed within the function is a pointer which consumes 2 bytes of memory space, so pointer + sum + i+ n = 2 + 2 + 2 + 2 = 8
Pseudo code how to practice any book
Sir first question answer will be 84 not 87
capgemini online test mail has not yet came how bro?
Isn't ^ XOR sign?
Yeah even I have same doubt @onlinestudy4u please do reply for this !!!!
Yes ^ is used as XOR only
Power is ** and Exor is ^ right? and in the second, answer is 15
Please recheck before uploading
Sir can I apply for capgamini right now.
Or there are other drives coming in future
Check the previous video I have shared the link .. check if u can apply
Great video sir.. thank you
15 is correct . Do check it
for 1st question I got 84 I have checked that using compiler also but it is not in options
yes it is 84 , 8^0 is 8 but he considered it as 1
Capgemini ... Test as well as interview will happen on same day..? Or different dates??
Depends whether the campus is pool or on!!
Last que is wrongly attempted since the ans is 2n +8..
3 integers and one array of size n.
Each one is 2 bytes.
So 2n+6
Can you explain how 2n+8??
@@ravikothari07 it return int so 2 more byte for function int.
Hey i recently paid 30 rs for pseudo code practice question pdf and I didn't get my pdf
Hey have you got you notes? Are they worth it?😄 So that I can have them
sir i had a doubt how 1%10=1 its 0.1
in first question 8^0=8 not 1;
i'm also confused
Correct
M=m+n ???? Do not have to execute????
15 is slso correct when u apply m=m+n
Q4) answer is 2n+8
Sir in Q2. 15 is correct answer u skip the (m= m+n) line
the @nd question answer is 15, bcoz u are not count the m = m + n
Yes even in so many qstn , he makes mistake
amazing sir
thanks !
2nd pseudo code ans is 15
Sir your last question ans is wrong
If anyone has got the mail for the interview from Bangalore location... please reply. Because I haven't got any mail yet.
I got the mail today
Can we appear for capgemini again after 1 month
In faceprep
Sabse pahle dhyanse padaaaaoo....poora confuse kar dethe hoooooo