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: Initialise 2D Array

SercoSteveB
Active Participant

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

 

Initialise 2D Array.png

 

Initialise 2D Array Answers.png

Comments
PoMu
Member

A. It will have 5 columns since the dimension is 5 and the elements will be from 0 to 4 since the loop executes 5 times and the loop iteration value starts from 0.

   
nik35324
Member

A

Tsjabrantes
Member

The correct answer is letter A; due to the number of times from the For loop wired in dimension size 0..n-1 terminal of the Initialize Array Function, which It will determine the number of columns of the output (5-1=4 beginning in 0); For loop interaction terminal is going to initialize all elements of the Initialize Array Function counting from 0 till 4 plotted in row.

Smiley Happy

Tarciso Junior
+55 (11) 996-282-103
Skype: Tarciso.junior2
Email: Tsjabrantes@gmail.com
http://br.linkedin.com/pub/tarciso-junior/23/a83/463
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
alexderjuengere
Active Participant

A

Matt-A.
Member

A. 

qubirt
Member

A

MrStevenUND
Member

A

CataM
NI Employee (retired)

a)

SercoSteveB
Active Participant

Answer: A.  Nice one all.

 

Initialize Array creates an n-dimensional array in which every element is initialized to the value of element.

Use the Positioning tool to resize the function and increase the number of dimensions (element, row, column, page, and so on) of the output array. The connector pane displays the default data types for this polymorphic function.

levonsg
Member

A

https://images.youracclaim.com/size/340x340/images/2edb5b1a-9414-44e1-8519-c774fc6dd079/36015_Certificate_Badges_FINAL__1__NI_Instructor_v5.png