Question - 1: CLAD Sample Test-1
Question - 1: CLAD Sample Test-1
What will be the value of result after the execution of this VI?
70
32
49
25
https://www.hackerrank.com/x/tests/223000/questions/download?authkey=3489790bcc328b3270d6a0e31df6ff77&nocheckcdn=1… 1/16
10/12/2018 CLAD sample test-1 | Programming problems and challenges | HackerRank
It returns the number of times the loop has executed, minus one
What is the result in the subarray after the code has executed
1D Array of 7,10,8,5
1D Array of 10,8,5,7
1D Array of 3,4,7,10
Empty array
1D Array of -25,25
1D Array of -25,50
https://www.hackerrank.com/x/tests/223000/questions/download?authkey=3489790bcc328b3270d6a0e31df6ff77&nocheckcdn=1… 2/16
10/12/2018 CLAD sample test-1 | Programming problems and challenges | HackerRank
1D Array of -25,25,50
Data values are being coerced because they are out of range
The loop will execute once and the iteration terminal, , will output a value
of one
The loop will execute once and the iteration terminal, , will output a value
of zero
The loop will execute infinitely and the program will have to be aborted
The loop will not execute and the iteration terminal, , will return a null
https://www.hackerrank.com/x/tests/223000/questions/download?authkey=3489790bcc328b3270d6a0e31df6ff77&nocheckcdn=1… 3/16
10/12/2018 CLAD sample test-1 | Programming problems and challenges | HackerRank
1D array of {3,2}
1D array of {2,3}
https://www.hackerrank.com/x/tests/223000/questions/download?authkey=3489790bcc328b3270d6a0e31df6ff77&nocheckcdn=1… 4/16
10/12/2018 CLAD sample test-1 | Programming problems and challenges | HackerRank
6
The default setting for a tunnel into or out of a for loop is auto-indexing
enabled if the data being passed is an array
The default setting for a tunnel into or out of a while loop is auto-indexing
disabled if the data being passed is an array
Both A & B
https://www.hackerrank.com/x/tests/223000/questions/download?authkey=3489790bcc328b3270d6a0e31df6ff77&nocheckcdn=1… 5/16
10/12/2018 CLAD sample test-1 | Programming problems and challenges | HackerRank
Both A & B
Both B & C
What is the value in XOR gate output after the execution of the following
code?
True
False
What does the result indicator display after the code snippet executes?
Zero
What value does the Result F2 indicator display after the VI containing
stacked sequence structure has executed?
https://www.hackerrank.com/x/tests/223000/questions/download?authkey=3489790bcc328b3270d6a0e31df6ff77&nocheckcdn=1… 6/16
10/12/2018 CLAD sample test-1 | Programming problems and challenges | HackerRank
25
40
65
When you create an Array constant on the block diagram, it is not visible
on the Front Panel.
You cannot resize an Array constant to include more than one element.
You can copy or drag an existing Array on the Front Panel to the Block
Diagram to create a constant of the same data type.
Place an Array Shell on the Front Panel and drag a Control into the shell.
https://www.hackerrank.com/x/tests/223000/questions/download?authkey=3489790bcc328b3270d6a0e31df6ff77&nocheckcdn=1… 7/16
10/12/2018 CLAD sample test-1 | Programming problems and challenges | HackerRank
A For Loop that has a 50 wired to the count terminal will perform the same
operation.
You can use all of the following data types as inputs to the
case selector terminal except
Arrays
Strings
Integers
In what instance would you use the Probe tool rather than Highlight
Execution?
https://www.hackerrank.com/x/tests/223000/questions/download?authkey=3489790bcc328b3270d6a0e31df6ff77&nocheckcdn=1… 8/16
10/12/2018 CLAD sample test-1 | Programming problems and challenges | HackerRank
What is the result in Array after the following code has executed?
What is the result in new string after the following code has
executed?
https://www.hackerrank.com/x/tests/223000/questions/download?authkey=3489790bcc328b3270d6a0e31df6ff77&nocheckcdn=1… 9/16
10/12/2018 CLAD sample test-1 | Programming problems and challenges | HackerRank
Hello to you
Hello to you!
to you world!
Hello toyou!
Which of the following display options are available for strings on the
Front Panel?
‘\’ Codes
Password
Hex
Which of the following allows you to plot any set of points, evenly
distributed or not?
Waveform Graph
Waveform Chart
XY Graph
Both A. and C.
Both A. and B.
https://www.hackerrank.com/x/tests/223000/questions/download?authkey=3489790bcc328b3270d6a0e31df6ff77&nocheckcdn=… 10/16
10/12/2018 CLAD sample test-1 | Programming problems and challenges | HackerRank
https://www.hackerrank.com/x/tests/223000/questions/download?authkey=3489790bcc328b3270d6a0e31df6ff77&nocheckcdn=… 11/16
10/12/2018 CLAD sample test-1 | Programming problems and challenges | HackerRank
A
https://www.hackerrank.com/x/tests/223000/questions/download?authkey=3489790bcc328b3270d6a0e31df6ff77&nocheckcdn=… 12/16
10/12/2018 CLAD sample test-1 | Programming problems and challenges | HackerRank
Error Codes
Which chart update mode plots new data from left to right, then
clears the chart and plots the newer data ?
Strip Chart
Scope Chart
Sweep Chart
Step Chart
https://www.hackerrank.com/x/tests/223000/questions/download?authkey=3489790bcc328b3270d6a0e31df6ff77&nocheckcdn=… 13/16
10/12/2018 CLAD sample test-1 | Programming problems and challenges | HackerRank
Create a single cluster from two arrays of X values and two arrays of Y
values in an X,Y, X,Y pattern.
Bundle the X and Y array pairs together into two clusters and then create
an array of these two clusters.
Bundle the X and Y array pairs together into two clusters and create a
cluster of these two clusters.
world!
rld!
h hello world!
<blank>
Highlight Execution.
https://www.hackerrank.com/x/tests/223000/questions/download?authkey=3489790bcc328b3270d6a0e31df6ff77&nocheckcdn=… 14/16
10/12/2018 CLAD sample test-1 | Programming problems and challenges | HackerRank
Single Stepping
Breakpoints
Stop Values
Merge Errors
Step Into
Step Over
Step Out
Step Through
Status.
Code.
https://www.hackerrank.com/x/tests/223000/questions/download?authkey=3489790bcc328b3270d6a0e31df6ff77&nocheckcdn=… 15/16
10/12/2018 CLAD sample test-1 | Programming problems and challenges | HackerRank
Source.
VI name
https://www.hackerrank.com/x/tests/223000/questions/download?authkey=3489790bcc328b3270d6a0e31df6ff77&nocheckcdn=… 16/16