PLC - Chapter 3: Number Systems and Codes

Description

A quiz by Allison for her Joey
ihateseneca
Quiz by ihateseneca, updated more than 1 year ago
ihateseneca
Created by ihateseneca about 9 years ago
343
1

Resource summary

Question 1

Question
The decimal system has a base of __.
Answer
  • 10
  • 100
  • 1000
  • 2

Question 2

Question
The decimal number 7 would be written in binary as 1011.
Answer
  • True
  • False

Question 3

Question
To express a number in decimal requires fewer digits than in the binary system.
Answer
  • True
  • False

Question 4

Question
For a base 2 number system, the weight value associated with the 3rd digit would be 4.
Answer
  • True
  • False

Question 5

Question
Label the "Sign Bit" and the "Magnitude Bits"
Answer
  • Sign Bit
  • Magnitude Bits

Question 6

Question
What is the decimal value of binary 110010?
Answer
  • 48
  • 13
  • 26
  • 7

Question 7

Question
The decimal number 15 would be written in binary as
Answer
  • 1111
  • 4C
  • 1000
  • 00011001

Question 8

Question
Data can be stored in one 16-bit word as two separate groups of 8-bit data.
Answer
  • True
  • False

Question 9

Question
To represent a negative number in 1's complement, you simply take the number's magnitude and flip all the bits (i.e. 1 becomes 0, and 0 becomes 1).
Answer
  • True
  • False

Question 10

Question
+3 binary representation: 0011 -3 binary representation: [blank_start]1100[blank_end] (1's complement)
Answer
  • 1100

Question 11

Question
The octal numbering system has a base of 9.
Answer
  • True
  • False

Question 12

Question
The weights for the octal numbering system are: 1, [blank_start]8[blank_end], [blank_start]64[blank_end], 512, ...
Answer
  • 8
  • 64

Question 13

Question
Numbers 8 and 9 are not allowed in the octal numbering system.
Answer
  • True
  • False

Question 14

Question
Fill in the missing number.
Answer
  • 312
  • 306
  • 300
  • 350

Question 15

Question
Convert this octal number to binary.
Answer
  • 1
  • 0
  • 0
  • 1
  • 1
  • 0
  • 0
  • 1
  • 0

Question 16

Question
The hexadecimal numbering system can be summarized as follows: Sixteen digits: 0, 1, 2, 3, 4, 5, [blank_start]6[blank_end], [blank_start]7[blank_end], [blank_start]8[blank_end], [blank_start]9[blank_end], [blank_start]A[blank_end], [blank_start]B[blank_end], [blank_start]C[blank_end], [blank_start]D[blank_end], [blank_start]E[blank_end], [blank_start]F[blank_end]
Answer
  • 6
  • 7
  • 8
  • 9
  • A
  • B
  • C
  • D
  • E
  • F

Question 17

Question
The weights of the hexadecimal system are powers of base 16 (i.e. 1, 16, 256, etc.).
Answer
  • True
  • False

Question 18

Question
To convert a hexadecimal number to its decimal equivalent, the hexadecimal digits in the columns are divided by the base 16 weight.
Answer
  • True
  • False

Question 19

Question
Convert this hex number into binary.
Answer
  • 0
  • 0
  • 0
  • 1
  • 1
  • 0
  • 1
  • 1
  • 0
  • 1
  • 1
  • 1

Question 20

Question
The BCD (Binary-Coded Decimal) numbering system provides a convenient way of handling [blank_start]large[blank_end] numbers that need to be inputted to or outputted from a PLC.
Answer
  • large
  • small

Question 21

Question
Convert this decimal number into a BCD number.
Answer
  • 0
  • 1
  • 1
  • 1
  • 1
  • 0
  • 0
  • 0
  • 0
  • 1
  • 1
  • 0
  • 0
  • 0
  • 1
  • 1

Question 22

Question
This instruction will convert the binary bit pattern at the source address [blank_start]N7:23[blank_end], into a [blank_start]BCD[blank_end] bit pattern of the same decimal value as the destination address, [blank_start]O:20[blank_end]. The instruction executes every time it is scanned and the instruction is true.
Answer
  • N7:23
  • O:20
  • BCD

Question 23

Question
The Gray code is a special type of binary code that uses position weighting.
Answer
  • True
  • False

Question 24

Question
ASCII stands for [blank_start]American[blank_end] [blank_start]Standard[blank_end] [blank_start]Code[blank_end] for [blank_start]Information[blank_end] [blank_start]Interchange[blank_end]. It is an alphanumeric code because it indicates letters as well as numbers.
Answer
  • American
  • Standard
  • Code
  • Information
  • Interchange

Question 25

Question
Gray codes are used with [blank_start]position encoders[blank_end] for accurate control of the motion of robots, machine tools, and servomechanisms.
Answer
  • position encoders

Question 26

Question
Some PLC communications systems use a [blank_start]parity[blank_end] bit to check the accuracy of data transmission. For example, when data are transferred between PLCs, one of the binary bits may accidentally change states.
Answer
  • parity

Question 27

Question
The two systems of parity normally used are odd and even.
Answer
  • True
  • False

Question 28

Question
Odd parity means that the total number of binary 1 bits in the character, including the parity bit, is [blank_start]odd[blank_end]. Even parity means that the total number of binary 1 bits in the character, including the parity bit, is [blank_start]even[blank_end].
Answer
  • odd
  • even
  • even
  • odd

Question 29

Question
In the binary system + and – symbols are used to indicate whether a number is positive or negative.
Answer
  • True
  • False

Question 30

Question
The octal number 153 would be written in binary as:
Answer
  • 011 101 001
  • 011 111 101
  • 001 101 011
  • 010 100 011

Question 31

Question
What is the decimal equivalent for the BCD number 1000 0100 0010 0001?
Answer
  • 8421
  • 7863
  • 1234
  • 3728

Question 32

Question
The Gray code is set up so that as we progress from one number to the next, only one bit changes.
Answer
  • True
  • False

Question 33

Question
Which code is used to convert the keystrokes on the keyboard of a computer for the processor?
Answer
  • BCD
  • HEX
  • ASCII
  • OCTAL

Question 34

Question
A parity bit is used to check the _______ of data transmission.
Answer
  • speed
  • type
  • accuracy
  • time

Question 35

Question
What is the sum of binary numbers 1100 and 1011?
Answer
  • 10110
  • 10111
  • 11100
  • 00111

Question 36

Question
Which instruction is used to compare the relative magnitude of two quantities?
Answer
  • Add
  • Subtract
  • Multiply
  • Less Than

Question 37

Question
The process for dividing one binary number by another is the same for both binary and decimal numbers.
Answer
  • True
  • False

Question 38

Answer
  • 11110

Question 39

Answer
  • 0100

Question 40

Question
Good luck, babe
Answer
  • I love you
  • <3
Show full summary Hide full summary

Similar

Tir na nOg - Treithe an bhealoidis
08aliso.burge
Girls' and Boys' Education - A Mind Map
nikkifulps
The Rise of the Nazis
absterps18
B3- Science. Cells, Genes and Enzymes.
MissChurro
Psychology Exam review
emaw757
atoms and elements
Danoa400
Geography: Population
ameliaalice
Simple Present Tense (Test)
Onur Kalafat
World War II Notebook
jenniferfish2014
AWS – Solution Architect Associate Level Certification - Mock Test
stephon
Romeo and Juliet notes
Faizaan Mohmed