GNWebsoft Placement Preparation - Mock Test (50 Questions)
Section A: Aptitude (20 Questions)
1. A and B together can complete a work in 10 days. B and C in 12 days. A and C in 15 days. How many
days will A, B and C take to complete it together?
2. A train 150 m long runs at 60 km/h. Time to cross a pole?
3. Selling price = Rs.240, loss = 20%. Find cost price.
4. Series: 2, 6, 12, 20, 30, ?
5. Solve: 2x + 5 = 3x - 10
6. 3 workers finish a job in 4 days. Time for 6 workers?
7. Coding: If TABLE=40, CHAIR=36. Value of PEN?
8. John is twice Sam's age. Sum = 36. Sam's age?
9. A:15, B:610... Group of 32?
10. 144 + 25 = ?
11. Time & Work: A does work in 8 days, B in 12. Together?
11. Time & Work: A does work in 8 days, B in 12. Together?
12. 10% of Rs.2500 = ?
14. A number is divisible by 3 and 5 but not by 15. Smallest such number?
15. A boat covers 30 km downstream in 2 hours and upstream in 3 hours. Speed of boat?
15. A boat covers 30 km downstream in 2 hours and upstream in 3 hours. Speed of boat?
16. Compound Interest on Rs.5000 at 10% for 2 years?
18. Find HCF of 60 and 48.
19. A man walks 20m North, then turns East and walks 30m. Final position?
20. Probability of getting head in a single coin toss?
Section B: SQL (15 Questions)
21. Find customers who placed more than 1 order.
22. List customer names and their total order amount.
23. Country-wise revenue generation.
24. List customers with only 'Delivered' shippings.
25. Second most ordered item using JOIN and GROUP BY.
26. Customer with highest spending.
27. Item-wise total order value.
28. Number of orders per country.
29. Find customers who never placed any orders.
30. List item and number of customers who ordered it.
31. Orders placed by customers from 'USA'.
32. Highest amount ordered by each customer.
33. List of customers and their shipping status.
34. Total number of orders shipped.
35. Customers with more than 2 orders.
Section C: Programming Logic (15 Questions)
36. Print Fibonacci series up to N terms.
37. Check if number is prime.
38. Reverse a string.
39. Find second largest in array.
40. Find factorial using recursion.
41. Check if string is palindrome.
42. Find sum of digits of a number.
43. Count vowels in a string.
44. Remove duplicates from array.
45. Sort array using bubble sort.
46. Count frequency of characters in string.
47. Find missing number in 1 to N.
48. Merge two sorted arrays.
49. Convert decimal to binary.
50. Count number of words in a string.