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.

Webcast Wednesday Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Webcast Wednesday Contest # 22

q1:c

q2:a

q3:d

0 Kudos
Message 11 of 22
(1,749 Views)

Q1:c

Q2:a

Q3:d

0 Kudos
Message 12 of 22
(1,749 Views)

Q1 - c

Q2 - b

Q3 - b

0 Kudos
Message 13 of 22
(1,749 Views)

Ans 1: Option C

Ans 2: Option A

Ans 3: Option B

0 Kudos
Message 14 of 22
(1,749 Views)

Dear Participants,

It's great to see such an overwhelming response from all of you. For us to better understand, I request all of you to also give an explanation for your anaswers. This will help us correct your understanding of certain concepts if required.

Regards,

Webcast Wednesday Team

0 Kudos
Message 15 of 22
(1,749 Views)

Ans 1: Option C

Explanation : First of all Input of insert into array function is initializing with the value specified in initialize feedback node. Then as specified in block diagram index 1, at each iteration of the for loop the value of iteration terminal start with zero is placed at index 1 and the array is shifted at each iteration. So the final output of the 1D array becomes   {1 4 3 2 1 0 8 6 2}

Ans 2: Option A

Explanation : As Specified in block diagram offset is at index 6, Input string remains as it is till index 0-5

H - Index 0

e - Index 1

l - Index 2

l - Index 3

o – Index 4

Space – Index 5

From the index 6 substring replace with original string up to length of the substring.

So the final output will be Hello to you!

Ans 3 : Option B

Explanation : As Specified Flat Sequence Structure in block diagram, after execution of first structure the second structure will execute and then third structure will execute. In second and third sequence value change event of numeric control is specified. So if Second Control’s value is change after First control’s value then there will be a perfect execution. But if Second Control’s value is change before First control’s then the sequence will not be maintain and the front panel stop responding




0 Kudos
Message 16 of 22
(1,749 Views)

answer for first question is C)

explanation:  as we are using feedback nodes , initially the value in feedback node is 1,8,6,2 and we are entring five times at first index one by one value of i(which varies from 0 to 5) and we will get at first 1,0,8,6,2 and this is saved in feedback and now this is input and we will enter as i=1 and output becomes 110862 and so on

so the answer is c.

answer for second ques is A) because the word is hello world! to you!

offset means from where it cuts the string and length is 7 so from H if we starts counting it cuts from w to !

and we left with hello to you!

answer of third ques is B) as we are changing directly 2nd value and first frame is not completed thats why front panel stops responding.

0 Kudos
Message 17 of 22
(1,749 Views)

Q1-a

Q2-c

Q3-a

0 Kudos
Message 18 of 22
(1,749 Views)

Q1 - Option C

Q2 - Option A

Q3 - Option B

0 Kudos
Message 19 of 22
(1,749 Views)

1.C

2.A

3.B

0 Kudos
Message 20 of 22
(1,749 Views)