Capgemini Interview Questions
- 2of 2 votes
Answersten years ago, Delhi Metro started its operation by opening the first line in central Delhi. The government received enormous response from various sections of society of Delhi. People started using Metro services so often that only after 6 months all the train coaches filled tightly by the travelers. After 10 years now, Metro expanded so much that now it covers almost all the major areas of the city. Today around 6 different lines are running in different areas which are connecting not only Delhi but also other NCR regions to Delhi. Lakhs of people using Metro service every day and today it becomes one of the top 10 well known Metro networks all over the world. For this new line, Metro Planning team found various localities where metro stations can be built and they identified various Localities around Delhi where commercial agreements are established. Goods were traded between localities via road that had a commercial agreement. It is possible to connect any two localities by a line segment in the city.
- narendrakumarveeranki November 08, 2019 in India for 0| Report Duplicate | Flag | PURGE
Capgemini freshers - 0of 0 votes
AnswersWhat are event emitters?
- Jaideep July 18, 2018 in India| Report Duplicate | Flag | PURGE
Capgemini Front-end Software Engineer Application / UI Design - 0of 0 votes
Answersset of locations on the map. Example, 4 places in zone 1. 2 places in zone2, 1 place in zone3 and 2 in zone4. 2 aircraft are assigned, A1, A2. A1 can fly faster. A2 is slower but farther than A1. Each day A1 can visit one location in any zone whereas A2 can visit 2 locations in any zone. what is the optimized number of visits by A1 and A2 at the end of 30 days.
- Geetha June 24, 2018 for Australia| Report Duplicate | Flag | PURGE
Capgemini Dev Lead Algorithm - 35of 35 votes
AnswersWrite a code to reverse the words in a sentence.
- Rajesh Burla March 11, 2016 in India| Report Duplicate | Flag | PURGE
Capgemini Senior Software Development Engineer - 0of 0 votes
AnswersDesign a class in such way that all the objects created have the same state(synced).
- Rajarathinam Antony December 29, 2015 in India
(i.e)For example,
We have a TextBox class, and instantiated in 3 places. when the user types any text in any of the
textboxes other textboxes also should reflect the same text.| Report Duplicate | Flag | PURGE
Capgemini Senior Software Development Engineer - 0of 0 votes
AnswersHow Qt achieves platform neutrality
- jkl July 15, 2015 in India| Report Duplicate | Flag | PURGE
Capgemini - 1of 1 vote
AnswerYou and your friends are pilots in the Clone army.You are facing the aerial fleet of the Droid army.Droid planes move while maintaining a long line so that their shields interact making it impossible to shoot down planes in the middle of the line.Thus,your only option is to keep shooting down planes at the edges of the line.
- shukad333 September 11, 2014 in United States
You and your friend have decided to make a game of it.Each Droid plane has an importance level IMP[i].Since the droid planes don't advertise their importance levels, both of you must follow a mixed strategy and shoot down either the first plane or the last plane with 50% chance each.If there is a single plane,the shooter with the turn will shoot it down for sure.The two of you take turns to shoot down enemy planes.You have the first turn.What is the expected sum of importance levels you will shoot down?
Input format:
# The number of droid planes
input1=N(1<=N<=1000)
# An array containing the importance levels of droid planes.
input2=IMP(for 0<i<=N,1<=IMP[i]<=100)
Output format:
A string containing your expected sum of importance levels of shot down planes,rounded to 3 places of decimal.
Example:
Input:
2
10 20
Output:
15.000| Report Duplicate | Flag | PURGE
Capgemini - 2of 2 votes
Answerplease help me out!!..Its not striking me.
- guptaabhinav206 January 22, 2014 in India
Ramesh and Suresh get a box full of five stars on lottery each. Since both the boxes need not have the same number of chocolates, they decide to play a game. The winner gets to have both the boxes of chocolates. They play alternatively and Suresh starts the game. Given the number of chocolates in both the boxes, let them be c1 and c2, the player takes either c1 or c2 number of chocolates and divide the remaining box of chocolates to two boxes (these two boxes need not have the same number of chocolates). The player who cannot make such a move loses. Input
First line of input contains a number T(1<=T<=1000), the number of test cases. Then follows T lines each containing two space separated integers c1 and c2
(1<=c1<=c2<=10000).
Output For each test case print "Ramesh" or "Suresh" depending on who is the winner.
Input: 2 3 1 4 5
Output: Ramesh Suresh| Report Duplicate | Flag | PURGE
Capgemini Intern Algorithm - 0of 0 votes
AnswersThe input to the program would be a number D and a string STR.
- piushkiet October 28, 2013 in United States for Chetu
Dissimilarity Example1:
Set S = (pot, pat)
Dissimilarity = 1
Explanation:
First character 'p' and last character âtâ matches but 'o' and 'a' do no match. So dissimilarity = 1
Objective is to find a number N which is equal to the number of sets, where a single set S will contain two equal length substrings of STR whose dissimilarity less than or equal to D.
Dissimilarity for each set S is measured by the number of index positions where characters of both strings do not match. write a programm in c#| Report Duplicate | Flag | PURGE
Capgemini Senior Software Development Engineer - 0of 0 votes
Answersif Akatsuki message is like:
- piushkiet October 28, 2013 in India for Chetu
XWV
UTS
RQP
You should read it as
PQR
STU
VWX
Write a programm in c#| Report Duplicate | Flag | PURGE
Capgemini Senior Software Development Engineer Questions YOU should ask! - 0of 0 votes
AnswersWhere is address of function pointer stored.?
- Avi June 19, 2012 in India| Report Duplicate | Flag | PURGE
Capgemini Consultant