0% found this document useful (0 votes)
73 views

Question - 1: CLAD Sample Test-1

This document contains an 18 question sample test on programming concepts for CLAD certification. The test covers topics like arrays, loops, data types, timers and more. For each question, test takers must select the correct answer from a list of multiple choice options to receive points. The goal of the test is to assess proficiency in LabVIEW programming principles.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
73 views

Question - 1: CLAD Sample Test-1

This document contains an 18 question sample test on programming concepts for CLAD certification. The test covers topics like arrays, loops, data types, timers and more. For each question, test takers must select the correct answer from a list of multiple choice options to receive points. The goal of the test is to assess proficiency in LabVIEW programming principles.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 16

10/12/2018 CLAD sample test-1 | Programming problems and challenges | HackerRank

CLAD sample test-1 60 minutes

Question - 1 SCORE: 1 points

What will be the value of result after the execution of this VI?

70

32

49

25

Question - 2 SCORE: 1 points

What is the result of the following Array addition?

1-D Array of {80, 20, 40, 10, -60}

1-D Array of {120, 30, -60}

1-D Array of {120, 30}

2-D Array of {{120, 90, 20}, {60, 30, -40}}

Question - 3 SCORE: 1 points

The most efficient method for creating an array is

Using a For loop with Auto-indexing

Placing a build array function in a While loop

Initializing an array and then replacing elements in a While loop

Using a While loop with Auto-Indexing

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

Question - 4 SCORE: 1 points

Which of the following statements is true about iteration terminal

It returns the number of times the loop has executed

It returns the number of times the loop has executed,plus one

It returns the number of times the loop has executed, minus one

It returns a constant number

Question - 5 SCORE: 1 points

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

Question - 6 SCORE: 1 points

What is the result of the following array subtraction

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

None of the above

Question - 7 SCORE: 1 points

A coercion dot indicates that

The data types are consistent

A polymorphic operation will be performed on the data

A data buffer is created to handle data conversion

Data values are being coerced because they are out of range

Question - 8 SCORE: 1 points

Which of the following statements is true about the following


block diagram?

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

Question - 9 SCORE: 1 points

Which of the following terminals controls how many


times a For loop executes?

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

Question - 10 SCORE: 1 points

What is the output of the Initialize Array function after the


following code has executed?

1-D Array of {3, 3, 3, 3}

1-D Array of {4, 4, 4}

1-D Array of {3, 4}

1-D Array of {4, 3}

Question - 11 SCORE: 1 points

Output of Array size function is

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

None of the above

Question - 12 SCORE: 1 points

The wait function can be added to while loops :

To free up available memory

To allocate memory used by CPU

To allow the processor time to complete other tasks

To reserve which processor the code is running on

Question - 13 SCORE: 1 points

Which of the following statement is not valid

You can make a cluster of clusters

You can make an array of arrays

You can make a cluster of arrays

You can make an array of clusters

Question - 14 SCORE: 1 points

Which of the following statements is true

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

None of the above

Question - 15 SCORE: 1 points

Which of the following statements is true regarding coercion dots?

A. Coercion dots improve program performance

B. It represents conversion from one data type to another

C. It increases memory usage

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

Question - 16 SCORE: 1 points

What is the value in XOR gate output after the execution of the following
code?

True

False

Question - 17 SCORE: 1 points

What does the result indicator display after the code snippet executes?

The time elapsed in milliseconds during the execution of the subVI

Zero

value in the millisecond timer

The time elapsed in milliseconds during the execution of the sequence


structure

Question - 18 SCORE: 1 points

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

Question - 19 SCORE: 1 points

Which of the following statements regarding Array constants


are NOT true:

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.

All array operations can be performed on an Array constant

Question - 20 SCORE: 1 points

Which of the following methods is NOT a method to create a


1‐D Array:

Place an Array Shell on the Front Panel and drag a Control into the shell.

Use a While Loop with auto‐indexing disabled.

Use a For Loop with auto‐indexing enabled.

Use the Initialize Array function.

Question - 21 SCORE: 1 points

Which of the following statements is true regarding the


execution of the following code?

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

The loop will iterate 51 times.

The loop will iterate 50 times.

The loop will iterate 49 times.

A For Loop that has a 50 wired to the count terminal will perform the same
operation.

Question - 22 SCORE: 1 points

You can use all of the following data types as inputs to the
case selector terminal except

Arrays

Enumerated type values

Strings

Integers

Question - 23 SCORE: 1 points

In what instance would you use the Probe tool rather than Highlight
Execution?

a. To see the flow of data

b. To see the value of a wire in real time

c. To look into a SubVI, as the process is running

d. To slowdown the VI to show values in wires

Question - 24 SCORE: 1 points

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

The function of a Cluster is to:

Allow grouping of mixed data types into logical structures.

Present data on the Front Panel using charts or graphs.

Provide a means of differentiating between data types on the Block


Diagram.

Separate data objects by data type on the Front Panel.

Question - 25 SCORE: 1 points

What is the result in Array after the following code has executed?

A 1-D array of {1, 4, 3, 2, 1, 0}

A 1-D array of {1, 8, 0, 1, 2, 3, 4, 6, 2}

A 1-D array of {1, 4, 3, 2, 1, 0, 8, 6, 2}

A 1-D array of {1, 8, 0, 1, 2, 2, 9}

Question - 26 SCORE: 1 points

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!

Question - 27 SCORE: 1 points

Which of the following display options are available for strings on the
Front Panel?

‘\’ Codes

Password

Hex

All of the above

Question - 28 SCORE: 1 points

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.

Question - 29 SCORE: 1 points

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

Which of the following produces this XY Graph?

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

Question - 30 SCORE: 1 points

Which of the following graphs matches the result in Comparison


Values after the following code has executed?

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

Question - 31 SCORE: 1 points

The Error list shows all of the following but:

Items with errors

Errors and warnings

Details about the warnings

Error Codes

Question - 32 SCORE: 1 points

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

Question - 33 SCORE: 1 points

Which of the following methods will create an XY Graph with two


plots?

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.

Create a single array of each of the X arrays and Y arrays in an X,Y,X,Y


pattern.

Question - 34 SCORE: 1 points

What is the value in after substring upon completion of the following


code?

world!

rld!

h hello world!

<blank>

Question - 35 SCORE: 1 points

Which of the following is NOT a traditional debugging feature used to


help find errors in a VI:

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

Question - 36 SCORE: 1 points

What VI is typically used to terminate an Error Cluster wire and to


display any error message?

Merge Errors

One Button Dialog/Two Button Dialog

Generate Front Panel Activity

Simple Error Handler

Question - 37 SCORE: 1 points

Clicking on the _________ button allows you to bypass a node in the


Block Diagram without single-stepping through the node.

Step Into

Step Over

Step Out

Step Through

Question - 38 SCORE: 1 points

The following breakpoint does which of the following:

Causes the VI to abort

Causes the VI to pause

Causes the VI to single step over the addition

Causes the VI to single step over the indicator

Question - 39 SCORE: 1 points

Which of the following is NOT a component of an Error Cluster?

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

Question - 40 SCORE: 1 points

Which of the following will cause an event to be captured by the


LabVIEW Event Structure?

Changing a value on a Front Panel control via a mouse click

Update of a Front Panel control using a property node

Programmatic update of a Front Panel control via a control reference

Using VI Server to update a Front Panel control

https://www.hackerrank.com/x/tests/223000/questions/download?authkey=3489790bcc328b3270d6a0e31df6ff77&nocheckcdn=… 16/16

You might also like