This video consist of all types of pseudo code questions in Infosys Exam Till Now ❤️ We will be soon uploading Infosys Mock Test Paper 😀 Note : question 7,12,13 are homework, comment the answers below All the best everyone 🎉
QUESTION 13: ANSWER IS 7 ---> how? #include int main() { int val=10; do{ val--;//POST -DEC --val;//PRE-DEC }while(val-- > 10); printf("Value = %d",val); return 0; } OUTPUT - Value = 7 Because do while loop executes atleast once, hence val-- in while statement makes val = 9 val-- in loop makes val = 8 --val makes val = 7 Therefore, It prints val as 7. EVEN IF THE QUESTION IS WHILE LOOP ANS IS NOT 10 #include int main() { int val=10; while(val-- > 10){ val--; --val; } printf("Value = %d",val); return 0; } OUTPUT - Value = 9. QUESTION 12 ANS IS - 0 #include int main() { int p=2,q=2; int fun(int p,int q){ if(p>0&&q>0){ return fun(0,2+fun(0,22+fun(0,222+fun(0,2222+fun(0,22222))))); } q=0; return p+q; } printf("%d",fun(p,q)); }//prints - 0 IF PROGRAM IS #include int main() { int p=2,q=2; int fun(int p,int q){ if(p>0&&q>0){ return fun(0,22222+fun(11,5555)); } q=0; return p+q; } printf("%d",fun(p,q)); } IT RETURNS NO VALUE AS THERE IS INCORRECT CODE. in console it shows monitored command dumped core.
In the question no 13 do while loop executes once and then it will check condition while will be false meanwhile value will be decreased 3 times (two times in do while body and once while checking the condition) Hence the answer should be 7 but there is no option as 7. I have run it and got 7
Hey.yesterday suddenly my wifi was disconnect when I wrote accenture exam.when I relogin I can saw there time validity is over. 4.40 a.m I received an email that I cleared that exam eligible for coding round.is there any chance to get another second link for coding round from accenture. Please answer this .
@Gokul Job 12) all f(0,22222), f(0,2222), f(0,222), f(0,22), f(0,2) return 0. for example, f(0,22222) here p=0 , q=22222 for the value of q=22222 if condition has failed, so it update the value of q=0 hence it simply return (0+0)=0. similarly all the function return 0. 13) ans:7
This video consist of all types of pseudo code questions in Infosys Exam Till Now ❤️
We will be soon uploading Infosys Mock Test Paper 😀
Note : question 7,12,13 are homework, comment the answers below
All the best everyone 🎉
Please create system engineer playlist infosys
I haven't received any mail from Infosys is tere any chance ?
13th answer is 8 Am I right?
Bhaiya please explain q12 in next video
mistake found: 12:50 binary of 7 is 111 so
Sir Que 5 you put the wrong value of 7
7= 111
1= 001
_________
6= 110
So output will be 6
bro,some non IT people are watching this video for infosys exam,please explain the concept of HW questions
Question 7 :- Answer is p+q+r : 0+7+6= 13
Q9) str 1 = 2 . str = 2 , print(2 + 2) = 4 output true
Please explain 12 & 13 ,they are something different
QUESTION 13:
ANSWER IS 7 ---> how?
#include
int main()
{
int val=10;
do{
val--;//POST -DEC
--val;//PRE-DEC
}while(val-- > 10);
printf("Value = %d",val);
return 0;
}
OUTPUT -
Value = 7
Because do while loop executes atleast once, hence
val-- in while statement makes val = 9
val-- in loop makes val = 8
--val makes val = 7
Therefore, It prints val as 7.
EVEN IF THE QUESTION IS WHILE LOOP ANS IS NOT 10
#include
int main()
{
int val=10;
while(val-- > 10){
val--;
--val;
}
printf("Value = %d",val);
return 0;
}
OUTPUT - Value = 9.
QUESTION 12 ANS IS - 0
#include
int main()
{
int p=2,q=2;
int fun(int p,int q){
if(p>0&&q>0){
return fun(0,2+fun(0,22+fun(0,222+fun(0,2222+fun(0,22222)))));
}
q=0;
return p+q;
}
printf("%d",fun(p,q));
}//prints - 0
IF PROGRAM IS
#include
int main()
{
int p=2,q=2;
int fun(int p,int q){
if(p>0&&q>0){
return fun(0,22222+fun(11,5555));
}
q=0;
return p+q;
}
printf("%d",fun(p,q));
}
IT RETURNS NO VALUE AS THERE IS INCORRECT CODE.
in console it shows monitored command dumped core.
Excellent work 👍
Nice Bro.
Thnks bhaiya👌your video is really very helpful
Always welcome
sir please make accenture aptitude playlist , these are really helpful
In the question no 13 do while loop executes once and then it will check condition while will be false meanwhile value will be decreased 3 times (two times in do while body and once while checking the condition) Hence the answer should be 7 but there is no option as 7. I have run it and got 7
Yes answer is 7
@@homie7218 how?
@@homie7218 i got 10 only
see its val>10 not>=,,, so whilw loop will not execute
For left shift multiply by 2 & for right shift divide by 2
sir previous year ka infosys ka question and answer milega ?
Q7 Ans is 13, Q12 Ans is 0 and Q13 Ans is 10. Love the way you teach...
12 th explanation needed
Q13 ?? How it came 10??
Q13 ans is 8 not 10 because first do run then check the while conditions.....in do while loop at least one time loop run
@@BilalKhan-wz2jl it will 7 because while condition aslo decrease by 1
@@prantobhoumik6586 i also think 7. But in while just check the condition not update the value of the val....and also 7 is not the option
Answers of H.W
Q 7.) 13
Q12.) 0
Q13.) 7
bhaiya ab ye binary kese nikalte ho 4 digit 5 digit
Tq for your efforts and information brother.
Your welcome
do share it with your friends as well
Thanks 😊
Your welcome
do share it with your friends as well
Hey.yesterday suddenly my wifi was disconnect when I wrote accenture exam.when I relogin I can saw there time validity is over. 4.40 a.m I received an email that I cleared that exam eligible for coding round.is there any chance to get another second link for coding round from accenture. Please answer this .
ye pseudocode infytq m ate hai?
Thank u sirr😊
Welcome 😊
Q. 7-..ans-13
Question 5 wrong puting value 7 you are put 110=6not a 7
111=7
Q7. 13
Q13 8
Q12. Doubt
I could not find mathmtcl nd resnning qstion on yr prvious video plzzzz tll me
Question7-ans13
Question12-ans0
Question13-ans10
Bhaiya can you please explain Q13 in next video.
Can i use rough work in exam time?
yes you can
Please explain which function r used in 12 n 13 question
Q.7-13
Q.12-0
Q.13-10
Q.12 -explain
Answers:-
7. 13
12. 0
13. 7
Question 7. Answer is 13
Question 12. Answer is 0
Question 13. Answer is 8
how 12 is 0
And 13 ans is 7
bro plz explain where are we increasing p value in question no 7 that its value become 1 from 0 and the answer becomes 13 mine answer is 12 .
Q 13 answer 8?,
I didnt get 12 question
Sir is that necessary to see playlist of capgemini pseudocode ? I was watching 1st video but you update the this video so what should I do reply...??
Hello Vishal
you can watch capgemini pseudocode playlist as well, you will get a idea of other types of pseudocode questions as well
7question answer is 13 ..is it right ?
I have not received any mail from Infosys. Is there another exam date?
Sir pen and paper is allowed or not for infosys system engineer assessment
please make a video on the explation of binary values of any no.
Sir 13 me ek baar to loop chalega na...kyuki Do while loop he... bhale while ki condition false ho but 1 baar to execute hoga na sir?
Thats happen in do while loop
@@nikhilmore8588 Do while hi to use hua he bro 13th me
Jo tough tha wahi Hw.. batana tha bhai exam me aa gye waisa to 😐
9th one string concatination ans should be 2+2=22
kaha place hua bhai
This playlist is enough to crack the pseudocode of Infosys?
Yes, this playlist will cover all the concepts required for Infosys pseudocode questions.
12th nd 13th explanation needed sir....
Q12) ANS =0 , Q13) 10 ANS
12Q answer is 2 and 13Q is 10
Ques no 7, ans-13
Q13) ANS 8 Q12) 0
Puzzle in one video bana digieye questions for Infosys
Q7: ANS Was 13 Output
Q7) ANS 13
Question no 7 can anyone explain ??
Q-7 - 14
Q12 - 0
Q13 - 10
Q7 IS 13
Q. 7 answer is 13
Sir , please do video in English
Anyone knows can we switch questions before and after seeing those questions in Infosys exam..?
No you can't switch.
@@paragwatve1 ok thanks..!
Beta you can't switch questions 😂
@@saurabhkushwaha9685 What ...theres no mark for review and we cannot come back to a question??
Sir plz keep puzzles also
Q.7 ans = 13
7-13, 12-2, 13-8
Q7 - 13
Q12 - 2
Q13 - 8
12th is 0
7 ki binari galti hai na sir
7th =20
12th = 0
13th = doubt
12 explanation??
7-binary 111 hay sir
Q7.13
Q12. 0
Q13.10
Great
@@techandtarget 13th ans is 7 right ?
Que 13 answer is 7 not 10
Q7 Ans 13
Great
q.13=7
Uska ans 1 hona chahiye shayad
Can anyone plz explain 11?
explain 12 please someone
Q7=13
Q12=0
Q13=10
Great
How come Q13 = 10, i guess it should be 7
@@RahulGupta-xc4fg yeah! you are right 7 is the right answer
@@nejamuddinali3741 How read question carefully 7 is not even in option
can u explain the 12th one ?
7=13
12=0
13=9
Great
15
12
13
Question no-9
Ans is -6
Use binary addition rule
2-0010
2-0010
Results of addition
0110
I.e 6 in decimal
2 - 010
2 - 010
-------------
4 - 100
ye hoga kya bro
@@pranshubasak8796 See addition rules 0110 ko decimal me convert Karo to 6 is a ans
@@psgawhale8505 Bhai 0110 nahi ayega na
@@wretchedman323 0100 is correct. Ans D .
your addition is wrong,,,,010+010=100(4)
Q5 ka ans galat lag raha hai
Pls koi use phir se explain kare
0
Q. 7= 13
Q. 12=0
Q. 13=10
Great
Q.7. 13
Q12. 0
Q13. 7
Q.7-13
Q.12-0
Q.13-7
explain
how 13) ans 7 explain
@@kirubakaranpalanisamy1861 total there are 3time -- on Val
2 post
1 pre
Any how at the end it happens 3 times
Hence 7
Q7- 13
Q12-0
Q13-10
Great
@Gokul Job 12) all f(0,22222), f(0,2222), f(0,222), f(0,22), f(0,2) return 0.
for example, f(0,22222) here p=0 , q=22222
for the value of q=22222 if condition has failed,
so it update the value of q=0
hence it simply return (0+0)=0.
similarly all the function return 0.
13) ans:7
13
Q7-13
Q12-0
Q13-8
How 8