Title: Data Manipulation
Course: Programmable Logic Controls (IC 107-IC 107) > Section: Assessments

Q: A file is a group of:
- related consecutive words.
- unrelated consecutive words.
- related instructions.
- unrelated instructions.
A: related consecutive words.

Q: Data compare instructions involve the transfer of the contents from one word or register to another.
- True
- False
A: False

Q: Data manipulation instructions enable the PLC to:
- move data from one memory area to another.
- compare data.
- take on some of the qualities of a computer.
A: move data from one memory area to another.

Q: Data transfer instructions can address only a limited number of special locations in the memory.
- True
- False
A: False

Q: For the file copy (COP) instruction rung shown:
- both source and destinations are file addresses.
- when input A goes true, the values in file N40 are copied to N20.
- both file N40 and N20 contain 6 words.
A: both source and destinations are file addresses.

Q: For the following masked move instruction data, the contents of the destination after the MVM went true would be:
1100 1010 0011 0110 contents of the source
1111 0000 1111 1111 contents of the mask
1010 1101 1010 1010 contents of the destination before MVM went true
- 1100 1101 0011 0110
- 1010 1010 1010 1010
- 1111 0000 1111 0000
- 0000 1111 0000 1111
A: 1100 1101 0011 0110

Q: If input A is closed and than opened:
- 15 will be stored in N7:20 and 0 in N7:30
- 0 will be stored in N7:20 and 15 in N7:30
- 15 will be stored in N7:20 and 15 in N7:30
- 0 will be stored in N7:20 and 0 in N7:30
A: 15 will be stored in N7:20 and 0 in N7:30

Q: Output PL1 will be true when the accumulated value of the counter is:
- equal to 50.
- equal to 20.
- between 0 and 19.
- between 20 and 50.
A: equal to 50.

Q: PID controllers produce outputs that depend on:
- magnitude of the error signal
- duration of the error signal
- rate of change of the error signal
A: magnitude of the error signal

Q: Rung No. 2 tells the processor to set the preset time of the timer to:
- 15 when SS1 is open.
- 15 when SS1 is closed.
- 10 when SS1 is open.
- 10 when SS1 is closed.
A: 15 when SS1 is open.

Q: Set-point control in its simplest form compares an input value to a set-point value.
- True
- False
A: True

Q: The bit distribute (BTD) instruction is used to:
- move bits within a word.
- move bits between words.
- hide bits of a binary word.
- both a and b.
A: move bits within a word.

Q: The bit distribute instruction is used to move bits within a word or between words.
- True
- False
A: True

Q: The masked move instruction (MVM):
- is an output instruction.
- moves data through a mask to get to their destination.
- hides a portion of a binary word before transferring it to its destination.
A: is an output instruction.

Q: The move instruction copies a value from one location to another.
- True
- False
A: True

Q: The move with mask instruction uses a mask to filter out bits that are not to be transferred from the source to the destination.
- True
- False
A: True

Q: To copy the value in N12:0 into N12:40 using the MOV instruction, you would enter: N12:40 as the source, and N12:0 as the destination.
- True
- False
A: False

Q: When the move instruction is true, the value stored at the source address, is copied into the destination address.
- True
- False
A: True

Q: Which of the following is not considered to be a data compare instructions?
- LESS THAN
- EQUAL
- MOV
- GREATER THAN
A: LESS THAN

Q: With the masked move instruction, where there is a _________ in the mask, data will pass.
- 1
- 0
- negative sign
- positive sign
A: 1