From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

The Daily CLAD

Community Browser
cancel
Showing results for 
Search instead for 
Did you mean: 

Re: CLAD2017 - An Introduction to Sets 3 of 5

SercoSteveB
Active Participant

What are the contents of Numeric Array Out following execution of the VI?

 

Set 2.png

 

Set 2 Answers.jpg

Comments
crossrulz
Knight of NI

A


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
CRubalcava
Member

I agree it is A.

 

Thank you for this Blog! It really helps to prepare for the exam!

wayrider
Member

A

nik35324
Member

A.

 

Always wondered why it sorts in ascending order?

crossrulz
Knight of NI

The sets are stored in a red-black tree to optimize searching, therefore they are always sorted.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Sangameshsh
Member

A

NishaV
Member

A

Matt-A.
Member

A

NishaV
Member

A

istan0227
Member

A

flyingdc
Member

A

xiaonian1
Member

A

SoundNLight
Member

A

CA-Pioneer
Member

The answer is A. The key point of this question is how to iterate an array to build a set and how iterate a set to an array. Set in the C++ of Labview based on a red black binary tree or a type of heap which is coded by ascending sorted order.

Muhammad-Shafique
Member

the contents of the "Numeric Array Out" variable would depend on the operations performed within the VI or function.