-
Q1. Which shape has one curved surface and two flat circular bases?
-
Q2. If 'WHITE' is coded as 'XJUIF', how is 'BLACK' coded?
-
Q3. A programmer is designing an algorithm to find the most efficient way to multiply a chain of matrices. This problem can be solved using a technique that breaks the problem into subproblems and stores their solutions to avoid recomputation. This is an example of:
-
Q4. In a code, 'MASTER' is coded as 'NBTUFS', how is 'COMPANY' coded?
-
Q5. What is an 'edge case' in problem-solving?
-
Q6. A student qualifies for a merit scholarship if their exam score is above 90 AND their attendance is above 95%. They qualify for a participation award if their exam score is above 75 AND their attendance is above 85%, OR if their exam score is above 85 (regardless of attendance). If a student scores 88 and has 92% attendance, do they qualify for a participation award?
-
Q7. If w = 11, what is the value of 2 * w - 5 + (w + 4) / 3?
-
Q8. If 'MAN' is coded as 'NB O', what is the relationship?
-
Q9. You are designing a system that simulates a queue of customers at a bank. Customers are served in the order they arrive. Which abstract data type (ADT) best models this behavior?
-
Q10. If a condition is false, what will be the output of: IF (condition is false) THEN print "Yes" ELSE print "No"?
-
Q11. Which of the following demonstrates a simple letter shift pattern?
-
Q12. If WORLD = XPSME, what is EARTH coded as?
-
Q13. What part of the body can you form by unscrambling D H A E?
-
Q14. Suppose you have a matrix representing a game board where some cells are traps. You want to find if there's a path from the start to the end that avoids all traps, and if so, find the shortest such path. What is the most efficient algorithm for this?
-
Q15. If a loop needs to run exactly 5 times, which type of loop is most suitable?
-
Q16. In a coded language, '396' means 'books are old', '739' means 'they are old', and '675' means 'most are old'. What is the code for 'books'?
-
Q17. If 'BRAIN' is coded as 'CSBJO', what is the code for 'SPINE'?
-
Q18. If 'YOUNG' is coded as 'OLD', what is 'NEW' coded as?
-
Q19. Complete the sequence: D4E, E5F, F6G, G7H, ?
-
Q20. A person starts from a point, walks 10 km North, then turns East and walks 5 km. He then turns South and walks 10 km. In which direction is he from his starting point?