Final Answers
Final Answers
1. Which of the following data structures uses LIFO (Last In First Out) principle?
Answer: B) Stack
2. Which of the following sorting algorithms has the best average-case time complexity?
Answer: C) Quick Sort
CoreJava:
Here are the answers:
Java 8 Features:
8. Which of the following classes guarantees that the elements are ordered according to their
natural ordering or by a specified comparator?
Answer: C) TreeSet
Spring:
4. DAO methods require access to the session factory, which can be injected
Answer: d) all of the mentioned
1. Which of the following property is used to indicate whether the backside of an element is
visible if the element is rotated to display the back?
Answer: b) backface-visibility
2. Which of the following is the attribute that is used to set a global identifier for a microdata
item?
Answer: d) itemid
3. Choose the correct JavaScript syntax to change the content of the following HTML code.
Answer: B) document.getElementById(“c2tc”).innerHTML=”TNS India Foundation C2TC”;
4. What is the HTML tag under which one can write the JavaScript code?
Answer: C) <script>
Aptidute:
3. In this series, look at both the letter pattern and the number pattern. Fill the blank.
Answer: UAV
4. In this series, look for the degree and direction of change between the numbers. What
number should come next in the series: 14, 28, 20, 40, 32, 64, ...?
Answer: 52
Quantitative reasoning:
Verbal Reasoning:
2. The central idea of this passage could be best expressed by the following:
Answer: The employee must change their outlook towards work