Showing 1–10 of 33 questions
in Capgemini Questions
Four friends A, B, C, and D have different salaries. C earns more than A but less than D. B earns more than D. Who has the highest salary?
EXPLANATION
From given conditions: A < C < D and D < B. This means B > D > C > A. Therefore, B has the highest salary.
If PAPER is coded as 16-1-16-5-18, then PENCIL would be coded as?
A
16-5-14-3-9-12
B
16-5-13-3-9-12
C
15-5-14-3-9-12
D
16-5-14-2-9-12
Correct Answer:
A. 16-5-14-3-9-12
EXPLANATION
Each letter is coded as its position in the alphabet: P=16, A=1, P=16, E=5, R=18. Similarly, PENCIL: P=16, E=5, N=14, C=3, I=9, L=12.
In a sequence, each term is obtained by adding the previous two terms. If the 1st term is 2 and 2nd term is 3, what is the 6th term?
EXPLANATION
Fibonacci-like sequence: T1=2, T2=3, T3=5, T4=8, T5=13, T6=21. Each term = sum of previous two terms.
In SQL, which keyword is used to remove duplicate rows from query results?
A
UNIQUE
B
DISTINCT
C
REMOVE
D
DELETE
Correct Answer:
B. DISTINCT
EXPLANATION
The DISTINCT keyword in SQL removes duplicate rows from the result set. Example: SELECT DISTINCT column FROM table;
Choose the option with the correct spelling:
A
Occassion
B
Occation
C
Occasion
D
Ocasion
Correct Answer:
C. Occasion
EXPLANATION
The correct spelling is 'Occasion' with double 'c' and double 's'. This is a common spelling error in English.
Select the word that best completes the analogy: Teacher is to Student as Doctor is to ___
A
Patient
B
Medicine
C
Hospital
D
Nurse
Correct Answer:
A. Patient
EXPLANATION
A teacher instructs a student, similarly a doctor treats a patient. The relationship is one of professional service provider to recipient.
In a coding system, CAT = 3, DOG = 4, ELEPHANT = 8. What would SNAKE equal?
EXPLANATION
The code represents the number of letters in the word. SNAKE has 5 letters, so SNAKE = 5.
Which of the following is the odd one out based on the pattern?
5, 10, 20, 40, 80, 160, 320, ?
EXPLANATION
Each number is multiplied by 2. The sequence is 5×2^n. The next number should be 320×2 = 640. This is a geometric progression with ratio 2.
In a sequence, each number is the sum of the previous two numbers. If the first two numbers are 1 and 1, what is the 7th number?
EXPLANATION
Fibonacci sequence: 1, 1, 2, 3, 5, 8, 13. The 7th number is 13.
What is the missing number in this sequence: 5, 10, 20, 40, ?
EXPLANATION
Each number is multiplied by 2. 5×2=10, 10×2=20, 20×2=40, 40×2=80