All original mark sheets related to SSC (10th), Intermediate (12th) and Graduation are required to be produced at the time of interview. Also, please carry a copy of a set of all documents at the time of interview.
A copy of candidate’s updated resume.
Passport size photographs.
An original identification proof issued by the government of India (aadhaar Card, Pan Card, Voter id, Passport etc.)
Puzzles are good way to exercise your brain. We will publish more such puzzles in future, so stay tuned. If you have come across any other puzzle in interviews, please feel free to share them through comments and let us try and solve them as a community.
Puzzle 1: You have two jars, 50 red marbles and 50 blue marbles. You need to place all the marbles into the jars such that when you blindly pick one marble out of one jar, you maximize the chances that it will be red. When picking, you’ll first randomly pick a jar, and then randomly pick a marble out of that jar. You can arrange the marbles however you like, but each marble must be in a jar.
Solution: Say we put all the red marbles into JAR A and all the blue ones into JAR B. then our chances for picking a red one are:
1/2 chance we pick JAR A * 50/50 chance we pick a red marble
1/2 chance we pick JAR B * 0/50 chance we pick a red marble
You would try different combinations, such as 25 of each colored marble in a jar or putting all red marbles in one jar and all the blue in the other. You would still end up with a chance of 50%.
What if you put a single red marble in one jar and the rest of the marbles in the other jar? This way, you are guaranteed at least a 50% chance of getting a red marble (since one marble picked at random, doesn’t leave any room for choice). Now that you have 49 red marbles left in the other jar, you have a nearly even chance of picking a red marble (49 out of 99).
So the maximum probability will be :
jar A : (1/2)*1 = 1/2 (selecting the jar A = 1/2, red marble from jar A = 1/1)
jar B : (1/2)*(49/99) = 0 (selecting the jar B = 1/2, red marble from jar B = 49/99)
Total probability = 74/99 (~3/4)
Puzzle 2: You are standing before two doors. One of the path leads to heaven and the other one leads to hell. There are two guardians, one by each door. You know one of them always tells the truth and the other always lies, but you don’t know who is the honest one and who is the liar.
You can only ask one question to one of them in order to find the way to heaven. What is the question?
Solution: The question you should ask is “If I ask the other guard about which side leads to heaven, what would he answer?”. It should be fairly easy to see that irrespective of whom do you ask this question, you will always get an answer which leads to hell. So you can chose the other path to continue your journey to heaven.
This idea was famously used in the 1986 film Labyrinth.Here is the explanation if it is yet not clear.
Let us assume that the left door leads to heaven.
If you ask the guard which speaks truth about which path leads to heaven, as he speaks always the truth, he
would say “left”. Now that the liar , when he is asked what “the other guard (truth teller) ” would answer, he would definitely say “right”.
Similarly, if you ask the liar about which path leads to heaven, he would say “right”. As the truth teller speaks nothing but the truth, he would say “right” when he is asked what “the other guard( liar ) ” would answer. So in any case, you would end up having the path to hell as an answer. So you can chose the other path as a way to heaven.
Topics asked in DXC Technical Interview of Coding branch (IT/CSE/EC/MCA):
Questions from C, C++, Data Structures, DBMS, OS etc.
Questions related to Technologies mentioned in resume.
Questions from your final year project.
Some of the questions are:
1) Explain your major project.
2) What are your favourite subjects?
Questions asked in Interview of Coding branch: -
What is a pointer on pointer?
What is a FIFO list?
What is Round Trip Time?
Distinguish between malloc() & calloc() memory allocation.
What is keyword auto for?
Explain the syntax for for loop.
Which data type can be used to hold a wide character in C++?