What is the value of Numeric Value Out following execution of the VI?
I agree that it is B. It think it is B because there are three unique strings going into the set, and the collection size only looks for unique strings. This still leaves me wondering how a set is different than an array or other form of data manipulation.
A set is just a list of non-repeating items. So adding an item that is already there will not actually add anything to the set.
What are the applications of sets other than eliminating multiple entries?
The application I have thought of for sets are for registrations (keeping track of who requested access to a resource). The set avoids duplicate registrations.
I'm sure there are others, I just haven't found them yet.
For those asking for applications for a set, I recently used one (first legitimate use) for an exclusion list (ie don't do something if the message matches something in the set). I chose the set over a simple array for the duplication issue and a faster search.
B its 3
B 3 differing strings.
it is B-> 3
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.