NIELIT O Level Exam

Which of the following functions cannot be used on heterogeneous sets?

Which of the following functions cannot be used on heterogeneous sets?

निम्न में से किस फ़ंक्शन का यूज़ हेटरजीन्यस सेटों पर नहीं किया जा सकता है?

A. pop पॉप

B. remove रिमूव

C. update अपडेट

D. sum सम




Correct Answer is :

D. sum



Explanation
The functions sum, min and max cannot be used on mixed type (heterogeneous) sets. The functions pop, remove, update etc can be used on homogenous as well as heterogeneous sets. An example of heterogeneous sets is: {‘abc’, 4, (1, 2)}
Latest Current Affairs 2025 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad