Top 14 Capgemini Pseudocode Questions

  Рет қаралды 3,768

Vikas Maurya Academy

Vikas Maurya Academy

Күн бұрын

#vikasmauryaacademy #accenturecoding #accenturejob #tcs #dsa #computerscience #accenture #accenturejob #tcs #tcsnqt #tcsexam #tcspattern #capgemini
============================================================
All Placement Preparations Playlist:- • Placement Preparation
Accenture Placement Preparation Playlist:- • Accenture Placement Pr...
Infosys Placement Preparation Playlist:- • Infosys Placement Prep...
Coding Question Playlist:- • Coding Question Placem...
Pseudocode Questions | Placement Preparation Playlist - • Pseudocode Questions |...
TCS Playlist:- • TCS Placement Preparation
==========================================================
Follow me on Instagram official:-
/ mauryavikasofficial
Telegram:-
t.me/vikasmaur...
Facebook page:-
/ mauryavikasofficial
LinkedIn:-
/ vikas-maurya-6b7765167
======================================================
#accenture #accenture_hiring #accenture_exam_questions
Tags and Keywords
accenture coding questions 2024
accenture july coding questions
accenture latest coding questions
july exam coding questions accenture
accenture 2024 coding questions
accenture exam complete paper
accenture exam previous year questions
accenture previous year asked questions
accenture cloud and network security questions
ms office and common applications accenture questions
accenture cognitive + technical assessment
accenture reasoning ability questions
accenture pseudocode questions
accenture verbal ability questions
accenture cognitive and technical assessment questions and answers
accenture assessment test 2024
Accenture assessment test 2025
accenture cognitive assessment questions
accenture cognitive ability questions 2024
accenture cognitive assessment questions 2024
accenture cognitive ability questions 2025
accenture written round questions
accenture exam questions
accenture exam preparation 2025
accenture exam pattern
Accenture Hiring Process 2025
How to Crack Accenture exam
How to clear Accenture Cognitive Assessment
Accenture Exam questions
Accenture Hiring Process
Accenture previous year questions
Pseudo codes asked in accenture
accenture mock test
accenture free mock test
accenture coding round questions
accenture coding questions
accenture cognitive assessment test 2025
Accenture exam
accenture 12th august exam practice
Previous year pseudocodes questions
accenture assesment test 2023
accenture interview questions and answers
Verbal Ability Questions asked in accenture
accenture cognitive ability questions
accenture cognitive assessment
accenture verbal ability questions 2024
accenture verbal ability questions 2025
previous year verbal ability questions accenture
accenture assessment test 2024
Accenture assessment test 2025
accenture cognitive assessment questions
Accenture task mail
accenture previous year question paper solved
accenture cognitive assesment
accenture technical assesment
pseudo codes questions
accenture ms word and cloud security questions
accenture verbal ability questions
accenture output based questions
accenture online assesment test
accenture pseudocode questions with answers
accenture 20 july 2023 questions
accenture 20 july question solution
accenture 2023 exam paper
accenture questions paper
HR interview questions and answers for experienced candidates
HR interview questions for freshers
Technical interview questions for freshers
Technical interview questions and answers
Technical interview questions and answers pdf
Technical interview questions for freshers with answers
Technical interview questions software engineer
Technical interview questions pdf
Technical interview questions mechanical engineering
Technical interview meaning
Hashtags:
#HRInterview
#InterviewQuestions
#HRInterviewQuestions
#JobInterview
#InterviewTips
#HRTips
#CareerAdvice
#InterviewPreparation
#JobSearch
#CareerDevelopment
#InterviewPractice
#HRRecruitment
#BehavioralInterview
#InterviewSkills

Пікірлер: 17
@VikasMauryaAcademy
@VikasMauryaAcademy 9 күн бұрын
Question 3 full Explanation: As X is call by reference, last updated value of X will be assigned to the variable for all the recursive calls. When c value becomes 0, x value will be 9. So, f(5,5) ->f(6,4) * 9 -> f(7,3) * 9 -> f(8,2) * 9 -> f(9,1) * 9 -> c == 0 & returns 1 Ans => 1 * 9 * 9 * 9 * 9 = 6561
@shreyanshbhagare1267
@shreyanshbhagare1267 9 күн бұрын
for question 4 answer will be - output will be 6 try by doing code
@VikasMauryaAcademy
@VikasMauryaAcademy 9 күн бұрын
@@shreyanshbhagare1267 Explanation: Here i = 0, x = 3. x = x++( x = 3) Post increment will assign value before gets updated. I value will increment by 1 and loop will run 3 times. When I becomes 3, while loop fails(3 != 3 returns false) X value remains 3 because always value gets reassigned before the updation.
@VikasMauryaAcademy
@VikasMauryaAcademy 9 күн бұрын
In question 5, the option was incorrect, so I selected a new one after solving the entire question. check full Explanation: Here i=0,s=0,n=127 (127>0) while condition true r = 127 % 10 = 7 p = 8 ^ 0 = 8 s = 0 + 8 * 7 = 56 i = 1 n = 127/10 = 12 (12>0) while condition true r = 12 % 10 = 2 p = 8 ^ 1 = 9 s = 56 + 9 * 2 = 74 i = 2 n = 12/10 = 1 (1>0) while condition true r = 1 % 10 = 1 p = 8^2 = 10 s = 74 + 1 * 10 = 84 I = 3 N = 1/10 = 0 (0>0) While condition fails S = 84
@coursetotal6570
@coursetotal6570 9 күн бұрын
shi hai question 5 me option nhi mil raha toh ek option apna likh kar vhi correct krdo, nikal jayega capgemini
@VikasMauryaAcademy
@VikasMauryaAcademy 9 күн бұрын
Explanation: Here i=0,s=0,n=127 (127>0) while condition true r = 127 % 10 = 7 p = 8 ^ 0 = 8 s = 0 + 8 * 7 = 56 i = 1 n = 127/10 = 12 (12>0) while condition true r = 12 % 10 = 2 p = 8 ^ 1 = 9 s = 56 + 9 * 2 = 74 i = 2 n = 12/10 = 1 (1>0) while condition true r = 1 % 10 = 1 p = 8^2 = 10 s = 74 + 1 * 10 = 84 I = 3 N = 1/10 = 0 (0>0) While condition fails S = 84
@VikasMauryaAcademy
@VikasMauryaAcademy 9 күн бұрын
bro jab option wrong hai or jab maine solve kiye toh option match nhi kar reh the toh maine ek new option likha hai by mistake option c mein 84 hona chaiye then 87 hogya tha
@yadavalka6829
@yadavalka6829 9 күн бұрын
Question 3 : 9 kaise aaya
@VikasMauryaAcademy
@VikasMauryaAcademy 9 күн бұрын
Explanation: As X is call by reference, last updated value of X will be assigned to the variable for all the recursive calls. When c value becomes 0, x value will be 9. So, f(5,5) ->f(6,4) * 9 -> f(7,3) * 9 -> f(8,2) * 9 -> f(9,1) * 9 -> c == 0 & returns 1 Ans => 1 * 9 * 9 * 9 * 9 = 6561
@madhavaggarwal8328
@madhavaggarwal8328 7 күн бұрын
i have my capgemini exam tomorrow. is this the exact level of pseudocodes that we will get?
@VikasMauryaAcademy
@VikasMauryaAcademy 7 күн бұрын
Yes
@VikasMauryaAcademy
@VikasMauryaAcademy 9 күн бұрын
All solutions questions 1 Explanation: goto label is expected to give at any line except, conditional areas. In the given code, compiler fails to identify I1 as label & it will consider I1 as an undeclared identifier. Questions 2 Explanation: Here, main() is a recursive function which will keep on executing till if condition is false. Initial value of static variable i = 5. i--(Pre-decrement) will update the i value as 4. As long as value inside if brackets are Non-zero numbers, condition will be true. As I is a static variable, re-initialization in the next function call will not affect I value. i value will keep on decrement and print 4 3 2 1. After 1, i becomes 0 and the if condition fails followed by ending recursive calls. Questions 3 Explanation: As X is call by reference, last updated value of X will be assigned to the variable for all the recursive calls. When c value becomes 0, x value will be 9. So, f(5,5) ->f(6,4) * 9 -> f(7,3) * 9 -> f(8,2) * 9 -> f(9,1) * 9 -> c == 0 & returns 1 Ans => 1 * 9 * 9 * 9 * 9 = 6561 Questions 4 Explanation: Here i = 0, x = 3. x = x++( x = 3) Post increment will assign value before gets updated. I value will increment by 1 and loop will run 3 times. When I becomes 3, while loop fails(3 != 3 returns false) X value remains 3 because always value gets reassigned before the updation. Questions 5 Explanation: Here i=0,s=0,n=127 (127>0) while condition true r = 127 % 10 = 7 p = 8 ^ 0 = 8 s = 0 + 8 * 7 = 56 i = 1 n = 127/10 = 12 (12>0) while condition true r = 12 % 10 = 2 p = 8 ^ 1 = 9 s = 56 + 9 * 2 = 74 i = 2 n = 12/10 = 1 (1>0) while condition true r = 1 % 10 = 1 p = 8^2 = 10 s = 74 + 1 * 10 = 84 I = 3 N = 1/10 = 0 (0>0) While condition fails S = 84
@coursetotal6570
@coursetotal6570 9 күн бұрын
i didn't understand question 3, how is coming 9, in the entire question 9 is not present and no any operation will be performed so how will be coming 9
@VikasMauryaAcademy
@VikasMauryaAcademy 9 күн бұрын
Explanation: As X is call by reference, last updated value of X will be assigned to the variable for all the recursive calls. When c value becomes 0, x value will be 9. So, f(5,5) ->f(6,4) * 9 -> f(7,3) * 9 -> f(8,2) * 9 -> f(9,1) * 9 -> c == 0 & returns 1 Ans => 1 * 9 * 9 * 9 * 9 = 6561
@sparshartist01
@sparshartist01 8 күн бұрын
bro x is call by refrence mean x value is same throughout the recursion calls, so first we reach base case than as we return ans we use last updated x value eg- dry run should be f(5,5) ->f(6,4) * x -> f(7,3) * x -> f(8,2) * x -> f(9,1) * x (see here x current value is 9 ) agar call by value normal hota tho tum jo soch rahe the whi hota simple 5*6*7*8*9, yaas rakhna bas ki call by refrence mai variable k saath recursion lagana -> c == 0 & returns 1
@VikasMauryaAcademy
@VikasMauryaAcademy 8 күн бұрын
Question 6 Explanation: The above pseudocode will print Fibonacci numbers from 1 to 13 without any space (1
Capgemini game based aptitude test all questions one shot
23:54
Minecraft Creeper Family is back! #minecraft #funny #memes
00:26
Teaching a Toddler Household Habits: Diaper Disposal & Potty Training #shorts
00:16
🔥CAPGEMINI 2025 Previous Year Questions Solution🔥
21:01
OnlineStudy4u
Рет қаралды 17 М.
Capgemini Important Pseudocode Questions #capgemini
14:10
Vikas Maurya Academy
Рет қаралды 1,3 М.
Capgemini Game Based Aptitude Test Questions and Answers 2024
43:25
Coding Question | Tcs Wipro Accenture | Placement Preparation
10:59
Vikas Maurya Academy
Рет қаралды 337
Whiteboard Coding Interviews: 6 Steps to Solve Any Problem
15:18
Fullstack Academy
Рет қаралды 370 М.
Accenture PseudoCode Questions and Answers (Previous Year PseudoCode Questions)
23:37
KG JOB UPDATES by Yash Sir
Рет қаралды 53 М.