Questions 11: Which of the following is true about the difference between absolute and incremental encoders?
Absolute encoders have less complex components than incremental encoders
Absolute encoders are generally less expensive than incremental encoders
Absolute encoders will retain information about position during a power outage; incremental encoders won't
Absolute encoders can measure faster velocities than incremental encoders
An incremental encoder has more moving parts than an absolute encoder
An incremental encoder is more appropriate for use with a DC motor; an absolute encoder is more appropriate for use with a stepper motor
An incremental encoder has only one ring of 'lines', while an absolute encoder has many
An incremental encoder requires only one wire to measure the position; an absolute encoder requires many
Questions 12: Which of the following is true about the difference between absolute and incremental encoders?
Questions 13: I am writing some code for the matrix keypad and then testing it. The code that I wrote is shown here. Pin 1 is an output connected to the first row, and pins 5-8 are inputs connected to the columns. I press down numbers 1 and 3 at the same time, then run the code. What value will the variable 'Number' have after the code finishes?
int Number=0; Pin_1_Write(1); if (Pin_5_Read()) { Number=1;} else if (Pin_6_Read()) {Number=2;} else if (Pin_7_Read()) {Number=3;} else {Number=4;}
0
1
2
3
4
Questions 14: Now, suppose that I have the same setup as in Question 13, but I change the code as shown here. When I repeat the same experiment as in Question 13, what value with the variable 'Number' have at the end of the code this time?
0
1
2
3
4
int Number=0; Pin_1_Write(1); if (Pin_5_Read()) { Number=1;} if (Pin_6_Read()) {Number=2;} if (Pin_7_Read()) {Number=3;} if (Pin_8_Read()) {Number=4;}
Questions 15: Are the keys of the matrix keypad normally-open, or normally-closed?
Normally-open
Normally-closed
Neither; they are equivalent to the COM pin of a switch