GlobalLogic aptitude questions with answers (2026)
24 solved questions in the style of the GlobalLogic test — quantitative aptitude (8), logical reasoning (6), technical (pseudocode) (10). Tap an option to check it; every question has a step-by-step solution and a link to the free lesson.
Updated 30 November 2026 · Original questions written by Skills101, answers computed and checked · GlobalLogic syllabus & exam pattern →
🎯 Today’s placement challenge — 10 questions, no login. Can you score 10/10?Take today’s challenge →Quantitative aptitude
Q1.Number system (remainders)
What is the remainder when 54 × 88 is divided by 13?Show answer & solution
Answer: A. 7
Use remainders: 54 mod 13 = 2, 88 mod 13 = 10. Their product 2 × 10 = 20, and 20 mod 13 = 7. (Check: 54 × 88 = 4752 = 13 × 365 + 7.)
Q2.Averages
The average marks of 25 students is 48. When one more student joins, the average becomes 51. What are the new student’s marks?Show answer & solution
Answer: A. 126
Total before = 25 × 48 = 1200. Total after = 26 × 51 = 1326. New student = 1326 − 1200 = 126.
Q3.Problems on ages
The ratio of the present ages of Pooja and Priya is 2 : 3. After 5 years the ratio will be 7 : 10. What is Priya’s present age?Show answer & solution
Answer: A. 45 years
Let the ages be 2x and 3x. Then (2x + 5) / (3x + 5) = 7/10 → 10(2x + 5) = 7(3x + 5) → x = 15. Priya is 3 × 15 = 45 years (check: 35 : 50 = 7 : 10).
Q4.Ratio & partnership
Pooja starts a business with ₹30000. After 8 months, Rahul joins with ₹30000. At the end of the year the profit is ₹18000. What is Rahul’s share?Show answer & solution
Answer: A. ₹4500
Profit is shared in the ratio of (money × months): Pooja = 30000 × 12 = 360000, Rahul = 30000 × 4 = 120000. Rahul’s share = 18000 × 120000/480000 = ₹4500.
Q5.Simplification
What is 15% of 640 + 2/5 of 240?Show answer & solution
Q6.Trains
A train running at 72 km/h crosses a pole in 8 seconds. How long will it take to cross a 100 m long platform?Show answer & solution
Answer: B. 13 seconds
Speed = 72 × 5/18 = 20 m/s, so the train is 20 × 8 = 160 m long. To cross the platform it covers 160 + 100 = 260 m. Time = 260 ÷ 20 = 13 seconds.
Q7.Permutations & combinations
A team of 3 men and 2 women is to be chosen from 8 men and 5 women. In how many ways can it be done?Show answer & solution
Answer: B. 560
Choose men: C(8,3) = 56. Choose women: C(5,2) = 10. Both choices happen together, so multiply: 560.
Q8.Time & work
Divya can finish a project in 30 days and Sneha can finish it in 45 days. Working together, how long will they take?Show answer & solution
Answer: D. 18 days
In one day they do 1/30 + 1/45 = 1/18 of the work. Time = 1 ÷ 1/18 = 18 days. (Shortcut: ab/(a+b) = 1350/75.)
Logical reasoning
Q9.Coding–decoding
In a certain code, BRAIN is written as ZPYGL. How is TRAIN written in that code?Show answer & solution
Answer: B. RPYGL
Each letter moves 2 places back in the alphabet (B→Z). So TRAIN → RPYGL.
Q10.Direction sense
Aarav walks 6 km north, turns right and walks 3 km, then turns right again and walks 2 km. How far and in which direction is Aarav from the starting point?Show answer & solution
Answer: A. 5 km, North-East
Net north = 6 − 2 = 4 km; net east = 3 km. Distance = √(4² + 3²) = 5 km, towards the North-East.
Q11.Number series
Find the next number in the series: 10, 13, 20, 31, 46, 65, ?Show answer & solution
Answer: B. 88
Pattern — differences go up by 4: 3, 7, 11, 15, 19, 23. Next term = 88.
Q12.Blood relations
Karan said about a photo, “His father is my father’s only son.” Karan is a man. Whose photo is it?Show answer & solution
Answer: B. His son
“My father’s only son” is Karan himself. So the person in the photo has Karan as father — it is his son.
Q13.Ranking & order
In a class, Meera is 10th from the top and 15th from the bottom. How many students are in the class?Show answer & solution
Answer: C. 24
Meera is counted in both positions, so total = 10 + 15 − 1 = 24.
Q14.Odd one out
Find the odd one out: 19, 23, 29, 39Show answer & solution
Technical (pseudocode)
Q15.Pseudocode — loops
What does this pseudocode print?Integer a = 84, b = 96 while (b != 0) Integer t = b b = a mod b a = t end while Print aShow answer & solution
Answer: D. 12
This is Euclid’s algorithm for the HCF: (84, 96) → (96, 84) → (84, 12) → (12, 0). It prints 12, the HCF of 84 and 96.
Q16.Pseudocode — arrays
What will be printed? (Arrays start at index 0.)Integer arr[5] = {3, 11, 12, 5, 7} for (i = 1 to 4) arr[i] = arr[i] + arr[i - 1] end for Print arr[4]Show answer & solution
Answer: B. 38
Each element becomes the running total: [3, 11, 12, 5, 7] → [3, 14, 26, 31, 38]. arr[4] = 38.
Q17.Pseudocode — while loops
What will this pseudocode print?Integer n = 27585, s = 0 while (n > 0) s = s + (n mod 10) n = n / 10 // integer division end while Print sShow answer & solution
Answer: C. 27
n mod 10 takes the last digit and n / 10 drops it, so it adds the digits: 2 + 7 + 5 + 8 + 5 = 27.
Q18.Pseudocode — bitwise operators
What is printed? (| is bitwise OR, << is left shift)Integer a = 5, b = 26 Integer c = (a | b) << 1 Print cShow answer & solution
Answer: D. 62
5 = 00101, 26 = 11010. 5 OR 26 = 11111 = 31. Shifting left by 1 multiplies by 2: 62.
Q19.Pseudocode — nested loops
How many times is count increased? (What is printed?)Integer count = 0 for (i = 1 to 6) for (j = 1 to 6) count = count + 1 end for end for Print countShow answer & solution
Answer: A. 36
For each i, the inner loop runs from j = 1 to 6. Total = 6 × 6 = 36.
Q20.Pseudocode — arrays
What will be printed? (Arrays start at index 0.)Integer arr[5] = {3, 12, 5, 2, 13} for (i = 1 to 4) arr[i] = arr[i] + arr[i - 1] end for Print arr[4]Show answer & solution
Answer: A. 35
Each element becomes the running total: [3, 12, 5, 2, 13] → [3, 15, 20, 22, 35]. arr[4] = 35.
Q21.Pseudocode — while loops
What will this pseudocode print?Integer n = 73686, r = 0 while (n > 0) r = r * 10 + (n mod 10) n = n / 10 // integer division end while Print rShow answer & solution
Answer: D. 68637
Each step moves the last digit of n to the end of r, so r is n reversed: 68637.
Q22.Pseudocode — bitwise operators
What is printed? (^ is bitwise XOR, << is left shift)Integer a = 31, b = 30 Integer c = (a ^ b) << 1 Print cShow answer & solution
Answer: A. 2
31 = 11111, 30 = 11110. 31 XOR 30 = 00001 = 1. Shifting left by 1 multiplies by 2: 2.
Q23.Pseudocode — loops
What does this pseudocode print?Integer a = 44, b = 12 while (b != 0) Integer t = b b = a mod b a = t end while Print aShow answer & solution
Answer: C. 4
This is Euclid’s algorithm for the HCF: (44, 12) → (12, 8) → (8, 4) → (4, 0). It prints 4, the HCF of 44 and 12.
Q24.Pseudocode — tracing
What will be printed?Integer x = 8 for (i = 1 to 3) x = (x * 3 + 1) mod 10 end for Print xShow answer & solution
Ready for the real thing?
Practise every topic with a 5-question quiz after each lesson and earn a free certificate.
Skills101 is not affiliated with GlobalLogic. These are original practice questions written in the style of the commonly reported GlobalLogic test pattern; they are not leaked or copied exam questions.